projects
/
hs-java.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: Data.Default-0.5.0 already does this
[hs-java.git]
/
JVM
/
Common.hs
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