Skip to content
  • simonpj@microsoft.com's avatar
    1e4c81f8
    Work around missing type signature in Happy · 1e4c81f8
    simonpj@microsoft.com authored
    Happy generates
    
          notHappyAtAll = error "Blah"
    
    without a type signature, and currently the new
    typechecker doesn't generalise it.  This patch
    says "no monomorphism restriction" which makes it
    generalise again.
    
    Better would be to add a type sig to Happy's template
    1e4c81f8
    Work around missing type signature in Happy
    simonpj@microsoft.com authored
    Happy generates
    
          notHappyAtAll = error "Blah"
    
    without a type signature, and currently the new
    typechecker doesn't generalise it.  This patch
    says "no monomorphism restriction" which makes it
    generalise again.
    
    Better would be to add a type sig to Happy's template
Loading