From: Bernhard Urban Date: Tue, 19 Jun 2012 18:55:31 +0000 (+0200) Subject: common: Data.Default-0.5.0 already does this X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=hs-java.git;a=commitdiff_plain;h=792b5690a66d02bf1aeae660641bf959d5b9b2af common: Data.Default-0.5.0 already does this --- diff --git a/JVM/Common.hs b/JVM/Common.hs index 422cc8b..88d277a 100644 --- 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