
29 Dec
2008
29 Dec
'08
12:41 p.m.
Luke Palmer schrieb:
2008/12/26 Oscar Picasso
mailto:oscarpicasso@gmail.com> Hi,
I can write: *Main> let yes = not . not *Main> :t yes yes :: Bool -> Bool
But not: *Main> let isNotEqual = not . (==)
The definition of (.):
f . g = \x -> f (g x)
http://www.haskell.org/haskellwiki/Composing_functions_with_multiple_values