Monomorphic let bindings and darcs

The darcs 2.5 package uses the flat -fglasgow-exts, so it picks up MonoLocalBinds. This causes quite a few errors. The error messages are particularly bad in src/Darcs/Commands/Convert.lhs there is code of the form explicitlyPolyMorphicFun arg $- \local -> ... very long body ... let localdef = _ in ... more long body ... where failure to generalize the inner let is reported as insufficient polymorphism at the outer annotation. Glancing over the paper, it seems like the specific problem is just deferring equality constraints between ground types. Can't that be handled with a notion of constrait normalization?

On 26 January 2011 09:50, Brandon Moore
The darcs 2.5 package uses the flat -fglasgow-exts, so it picks up MonoLocalBinds. This causes quite a few errors.
http://thread.gmane.org/gmane.comp.lang.haskell.glasgow.user/19165 -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (2)
-
Brandon Moore
-
Ivan Lazar Miljenovic