#1953: Add Bounded instance for IntSet
-------------------------------+--------------------------------------------
Reporter: dbenbenn | Owner:
Type: proposal | Status: new
Priority: normal | Milestone:
Component: libraries (other) | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Multiple
Os: Multiple |
-------------------------------+--------------------------------------------
Comment (by dbenbenn):
Actually, here's a slightly better way of writing the same code:
{{{
instance Bounded IntSet where
minBound = empty
maxBound = singleton maxBound
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1953#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs