Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
binary
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Glasgow Haskell Compiler
Packages
binary
Compare Revisions
fcd9d3cb2a942c54347d28bcb80a1b46d2d7d673...e26b50021c9fdc3d82cd6ed2ee2edb819c7d048b
Source
e26b50021c9fdc3d82cd6ed2ee2edb819c7d048b
Select Git revision
...
Target
fcd9d3cb2a942c54347d28bcb80a1b46d2d7d673
Select Git revision
Compare
Commits (2)
Handle {Int,Word}32Rep
· 3e0134df
John Ericson
authored
Jun 10, 2019
3e0134df
Merge pull request #167 from Ericson2314/32-bit-runtime-rep
· e26b5002
Lennart Kolmodin
authored
Jul 14, 2019
Handle {Int,Word}32Rep
e26b5002
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/Data/Binary/Class.hs
src/Data/Binary/Class.hs
+8
-0
No files found.
src/Data/Binary/Class.hs
View file @
e26b5002
...
...
@@ -893,6 +893,10 @@ instance Binary RuntimeRep where
put
Word8Rep
=
putWord8
13
put
Int16Rep
=
putWord8
14
put
Word16Rep
=
putWord8
15
#
if
__GLASGOW_HASKELL__
>=
809
put
Int32Rep
=
putWord8
16
put
Word32Rep
=
putWord8
17
#
endif
#
endif
get
=
do
...
...
@@ -915,6 +919,10 @@ instance Binary RuntimeRep where
13
->
pure
Word8Rep
14
->
pure
Int16Rep
15
->
pure
Word16Rep
#
if
__GLASGOW_HASKELL__
>=
809
16
->
pure
Int32Rep
17
->
pure
Word32Rep
#
endif
#
endif
_
->
fail
"GHCi.TH.Binary.putRuntimeRep: invalid tag"
...
...