#1454: Confusing or bug: :t and :i don't return same type
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
----------------------------------+-----------------------------------------
Comment (by Isaac Dupree):
Playing around in ghci:
{{{
let f a b = b^a
:t f
f :: (Num a, Integral b) => b -> a -> a
:i f
f :: (Integral b, Num a) => b -> a -> a
}}}
which mean the same thing but are, oddly, different... is this an example,
or related to one?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1454>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs