projects
/
hs-java.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a261d3b
)
common: Data.Default-0.5.0 already does this
author
Bernhard Urban
<lewurm@gmail.com>
Tue, 19 Jun 2012 18:55:31 +0000
(20:55 +0200)
committer
Bernhard Urban
<lewurm@gmail.com>
Tue, 19 Jun 2012 18:55:31 +0000
(20:55 +0200)
JVM/Common.hs
patch
|
blob
|
history
diff --git
a/JVM/Common.hs
b/JVM/Common.hs
index 422cc8b88b3a7562861c9ca63c64401c730b1fa9..88d277a6b6d7076ec3a559035fcdfbca3884f911 100644
(file)
--- a/
JVM/Common.hs
+++ b/
JVM/Common.hs
@@
-21,9
+21,6
@@
import JVM.ClassFile
instance Default B.ByteString where
def = B.empty
-instance Default Word16 where
- def = 0
-
toCharList :: B.ByteString -> [Int]
toCharList bstr = map fromIntegral $ B.unpack bstr