Ticket #2617 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by igloo

  • owner set to igloo
  • difficulty set to Unknown
  • milestone set to 6.10.1

Changed 5 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Thanks for the report. You can now get the constructors from GHC.Integer.Internals.

Note: See TracTickets for help on using tickets.