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:[EMAIL PROTECTED]

_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to