[Hugs] #86: some record updates reported as ambiguous
7 Oct
2008
7 Oct
'08
10:28 p.m.
#86: some record updates reported as ambiguous --------------------+------------------------------------------------------- Reporter: ross | Owner: nobody Type: defect | Status: new Priority: major | Milestone: Component: hugs | Version: 200609 Keywords: | --------------------+------------------------------------------------------- Given {{{ data Foo = Bar { fld :: IO [String] } g _ = id undefined { fld = e } where e = return [] }}} Hugs reports that {{{g}}} has the ambiguous type {{{Monad a => b -> Foo}}}. -- Ticket URL: http://hackage.haskell.org/trac/hugs/ticket/86 Hugs http://www.haskell.org/hugs/ Hugs 98, an interpreter for Haskell
6449
Age (days ago)
6449
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hugs