What does a fullstop or period or dot (.) mean in Haskell?
Posted
by Casebash
on Stack Overflow
See other posts from Stack Overflow
or by Casebash
Published on 2010-03-21T09:42:26Z
Indexed on
2010/03/21
10:11 UTC
Read the original article
Hit count: 137
I really wish that Google was better at searching for syntax:
decades :: (RealFrac a) => a -> a -> [a] -> Array Int Int
decades a b = hist (0,9) . map decade
where decade x = floor ((x - a) * s)
s = 10 / (b - a)
© Stack Overflow or respective owner