From 792b5690a66d02bf1aeae660641bf959d5b9b2af Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 19 Jun 2012 20:55:31 +0200 Subject: [PATCH] common: Data.Default-0.5.0 already does this --- JVM/Common.hs | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.25.1