[Haskell-beginners] The dot operator.
Kyle Murphy
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
> does?
>
> Thanks:)
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120218/9d1d05b6/attachment.htm>
More information about the Beginners
mailing list