What does a fullstop or period (.) 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:01 UTC
Read the original article
Hit count: 289
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