Skip to content
Snippets Groups Projects
Unverified Commit ced6f4a4 authored by Lennart Kolmodin's avatar Lennart Kolmodin Committed by GitHub
Browse files

Merge pull request #157 from bgamari/master

Add support for Int16#, Word16#
parents 0318374b aa9fd16b
No related branches found
No related tags found
No related merge requests found
......@@ -885,6 +885,8 @@ instance Binary RuntimeRep where
#if __GLASGOW_HASKELL__ >= 807
put Int8Rep = putWord8 12
put Word8Rep = putWord8 13
put Int16Rep = putWord8 14
put Word16Rep = putWord8 15
#endif
get = do
......@@ -905,6 +907,8 @@ instance Binary RuntimeRep where
#if __GLASGOW_HASKELL__ >= 807
12 -> pure Int8Rep
13 -> pure Word8Rep
14 -> pure Int16Rep
15 -> pure Word16Rep
#endif
_ -> fail "GHCi.TH.Binary.putRuntimeRep: invalid tag"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment