[Haskell-cafe] partial type annotations
Paul R
paul.r.ml at gmail.com
Fri Jan 20 09:30:14 CET 2012
Hi,
> x :: Integer <- instruction1 -- Require ScopedTypeVariables
Indeed, that does require ScopedTypeVariables to be enabled, but this
basic use case is not clearly covered in the ScopedTypeVariables
documentation.
Also, it is not clear to me why ScopedTypeVariables is required at all
here, as Integer is a literal type and not a signature-bound type
variable.
--
Paul
More information about the Haskell-Cafe
mailing list