Group: comp.lang.haskell · Group Profile · Search for Okcounter in comp.lang.haskell
Author: Mark T.B. Carroll
Date: Jul 18, 2008 15:57
On Jul 19, 12:05 am, "Mark T.B. Carroll" <Mark.Carr...@Aetion.com> wrote: ssecorp <circularf...@gmail.com> writes: classify ok spam test = spamCount div (spamCount + okCount) (snip) Couldn't match expected type `(a -> a -> a) -> Int -> t' against inferred type `Int' (snip) div is a prefix operator because it's letters, not a symbol. To make it infix
|