[Haskell-cafe] HList, hOccurs and MonadReader

Stefan O'Rear stefanor at cox.net
Thu Feb 22 22:34:36 EST 2007


This really smells like a violation of the "monomorphism
restriction"[1].  Try again with -fno-monomorphism-restriction, and if
that fixes it, add a type signature to fix it for good.

[1] http://haskell.org/onlinereport/decls.html#sect4.5.5

Stefan


More information about the Haskell-Cafe mailing list