
9 Mar
2015
9 Mar
'15
11:25 p.m.
On Mon, Mar 9, 2015 at 8:20 PM, Rustom Mody
Under -fwarn-type-defaults: says
*Have the compiler warn/inform you where in your source the Haskell defaulting mechanism for numeric types kicks in.*
Wheres the numeric here?
In GHCi, the type defaulting mechanism is extended beyond numerics. See https://downloads.haskell.org/~ghc/7.8.2/docs/html/users_guide/interactive-e... . In this case, the list is defaulting to type [()].