Remove the word "Small" from module names. Move unsafe functions into modules suffixed with "Unsafe". Write a better IsString instance. Depend on natural-arithmetic.

This commit is contained in:
Andrew Martin 2019-09-03 14:43:58 -04:00
parent 2eb37dfb7c
commit 2d1ea68261
9 changed files with 247 additions and 137 deletions

View file

@ -17,7 +17,7 @@ module HexWord64
import GHC.ST (ST(ST))
import Data.Bits
import Data.ByteArray.Builder.Small.Unsafe (Builder,construct)
import Data.ByteArray.Builder.Bounded.Unsafe (Builder,construct)
import Data.Primitive
import Data.Word
import GHC.Exts