
4 Sep
2010
4 Sep
'10
3:55 a.m.
Hello Alec The first version composes whereas the second one doesn't. With the first version you should be able to write final like this: final :: a -> d final x = f3 $ f2 $ f1 x or pointfree final :: a -> d final = f3 . f2 . f1 With composable functions you may find the intermediate steps f1, f2 & f3 are useful in other contexts. Best wishes Stephen