Closed archblob closed 10 years ago
It can be done without an additional header file, I will amend the comit.
I have also modified the export list by using the comma at the start of the line in a couple of modules, this way the lines are independent of the previous line and can be easily cut in preprocessing stage without having to do things like , expName ,
at the boundries.
I did not reorder anything to reduce the use of pragmas.
Yeah, I don't mind the prefix commas on import lists. I think it looks nicer that way.
Thank you for contributing this! You did a really excellent job and I couldn't find any problems (other than my question about the Enumerable
instance for ErrorT
).
I'm glad I could help, it was a good learning experience.
I gave #102 a try.
I don't really like testing for
#ifdef MIN_VERSION_packagename
because it doesn't say anything to someone reading the code.I would preffer if we could test for something like
#if !haskell98
, what do you think?At first I thought that cabal will include the symbol defined by
Flag
in the auto generated header file but it does not. So the only good alternative would be to include our header file with our custom symbol defined.Please tell me if this is what you wanted and if i've done it right. :-P
Thank you.