a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
calculatePadding :: Int -> Int | |
calculatePadding = ceiling . log . fromIntegral | |
Defaulting the following constraint(s) to type ‘Double’ | |
(RealFrac b0) | |
arising from a use of ‘ceiling’ at src/Cat/Decorators.hs:21:22-28 | |
(Num b0) | |
arising from a use of ‘fromIntegral’ | |
at src/Cat/Decorators.hs:21:38-49 |