@@ -16,6 +16,7 @@ import Prelude.Vect
16import Prelude.Strings
16import Prelude.Strings
17import Prelude.Chars
17import Prelude.Chars
18import Prelude.Traversable
18import Prelude.Traversable
20%access public
21%access public
21%default total
22%default total
@@ -48,16 +49,16 @@ instance Show Bool where
48 show False = "False"
49 show False = "False"
50instance Show Bits8 where
51instance Show Bits8 where
51− show = prim__toStrB8
52+ show b = b8ToString b
53instance Show Bits16 where
54instance Show Bits16 where
54− show = prim__toStrB16
55+ show b = b16ToString b
56instance Show Bits32 where
57instance Show Bits32 where
57− show = prim__toStrB32
58+ show b = b32ToString b
59instance Show Bits64 where
60instance Show Bits64 where
60− show = prim__toStrB64
61+ show b = b64ToString b
62%assert_total
63%assert_total
63viewB8x16 : Bits8x16 -> (Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8)
64viewB8x16 : Bits8x16 -> (Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8, Bits8)