common: Data.Default-0.5.0 already does this
authorBernhard Urban <lewurm@gmail.com>
Tue, 19 Jun 2012 18:55:31 +0000 (20:55 +0200)
committerBernhard Urban <lewurm@gmail.com>
Tue, 19 Jun 2012 18:55:31 +0000 (20:55 +0200)
JVM/Common.hs

index 422cc8b88b3a7562861c9ca63c64401c730b1fa9..88d277a6b6d7076ec3a559035fcdfbca3884f911 100644 (file)
@@ -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