
21 Jan
2004
21 Jan
'04
12:14 a.m.
Peter wrote:
BTW, does Language.Haskell.Parser.parseModule already perform infix resolution?
Unless it changed very recently, then no. I have written some code for this very task: http://www.cs.mu.oz.au/~bjpop/code/Infix.hs You give it the infix rules that are in scope and a module and it returns the module with the infix applications resolved. (Of course knowing what rules are in scope is another story, not solved by this piece of code). Perhaps it is of some use to you? Cheers, Bernie.