RosettaCodeData/Task/Function-composition/Haskell/function-composition-2.hs
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

4 lines
104 B
Haskell

Prelude> let compose f g x = f (g x)
Prelude> let sin_asin = compose sin asin
Prelude> sin_asin 0.5
0.5