Re: simple GHC compiling issues

2000-06-23 Thread Keith Wansbrough
Michael Jones writes: [..] # DO NOT DELETE: Beginning of Haskell dependencies Main.o : Main.hs Main.o : ./ClassOne.hi ClassOne.o : ClassOne.hs ClassTwo.o : ClassTwo.hs ClassThree.o : ClassThree.hs # DO NOT DELETE: End of Haskell dependencies It's worth pointing out that this part is

Instance of Functor for functions of = 2 arguments

2000-06-23 Thread Matt Harden
For strange reasons I won't get into here, I would like to implement an instance of the Functor class for various function types with 1 or more arguments. I want fmap to transform the result of the function, as opposed to transforming the first argument. Once I figured out the syntax, the