[Haskell-beginners] The dot operator.
orclev at gmail.com
Sat Feb 18 20:47:49 CET 2012
It's function composition.
(.) :: (b -> c) -> (a -> b) -> (a -> c)
E.G. putStrLn . show $ 42
-R. Kyle Murphy
Sent from my phone.
On Feb 18, 2012 2:34 PM, "bahadýr altan" <doaltan at yahoo.co.uk> wrote:
> Hello. I saw the dot "." operator in some Haskell codes, but I couldn't
> figure out what it does. I didn't see it in some books and tutorials and
> couldn't find an explanation on the Internet. Could you tell me what it
> Beginners mailing list
> Beginners at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners