Ticket #2617 (closed bug: fixed)
GHC.Integer no longer exports S# and J#
| Reported by: | guest | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.10.1 |
| Component: | GHC API | Version: | 6.9 |
| Keywords: | Cc: | tom.davie@… | |
| Operating System: | MacOS X | Architecture: | x86 |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
These constructors are needed for hs-plugins' Data.Binary instance for Integer
instance Binary Integer where
get bh = do
b <- getByte bh case b of
0 -> do (I# i#) <- get bh
return (S# i#)
_ -> do (I# s#) <- get bh
sz <- get bh (BA a#) <- getByteArray bh sz return (J# s# a#)
Change History
Note: See
TracTickets for help on using
tickets.
