
28 Aug
2015
28 Aug
'15
5:23 p.m.
On Fri, Aug 28, 2015 at 1:12 PM, Williams, Wes(AWF)
Num (Int -> Maybe a -> r))
That looks highly suspect. If it infers a function Num instance, you probably got your parentheses wrong. Or your $-s... ...in fact, that is the problem. That final $ does not do what you think; it produces (foldl (+) 0 estimates <*> Just . fromIntegral) (length estimates) when you presumably intended foldl (+) 0 estimates <+> (Just . fromIntegral) (length estimates) -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net