|
RE: [Haskell] Re: Using implicit parameter constraints in data decl: msg#00019lang.haskell.glasgow.bugs
| (While experimenting with this, I discovered to my surprise that GHCi | accepts the type "IO ((Num a) => a)", and describes it as "forall a. IO | ({Num a} => a)". However it rejects "return 12 :: IO ((Num a) => a)", | saying that it can't deduce (Num ({Num a} => a)). Is this a bug?) Yes, it's a bug. I'm fixing it as we speak. Thanks for pointing it out. Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Using implicit parameter constraints in data decl, Simon Peyton-Jones |
|---|---|
| Next by Date: | [ ghc-Bugs-1063880 ] GHCi on Windows can't stand control-C, SourceForge.net |
| Previous by Thread: | RE: memory error in 6.2.2, Simon Marlow |
| Next by Thread: | [ ghc-Bugs-1063880 ] GHCi on Windows can't stand control-C, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |