
22 Dec
2006
22 Dec
'06
11:22 a.m.
Hello Norman, Friday, December 22, 2006, 8:23:57 AM, you wrote:
compose :: (b -> c) -> (a -> b) -> (a -> c) compose f g = \x -> f (g x)
ghc 6.6 added 'inline' function, see user docs. although only SPJ knows whether it can be used here: compose f g = inline (\x -> f (g x)) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com