script

A Script library.
git clone git://git.ppad.tech/script.git
Log | Files | Refs | LICENSE

commit af281d4119b76f5f9aca91a3a6d8521db3ee6227
parent 917ab4477d4fdad3ffcaa11a764d456d3f7c6a8a
Author: Jared Tobin <jared@jtobin.io>
Date:   Sun, 15 Dec 2024 07:39:55 -0330

lib: add primitive dep

Diffstat:
Mlib/Bitcoin/Prim/Script.hs | 4+++-
Mppad-btcprim.cabal | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/Bitcoin/Prim/Script.hs b/lib/Bitcoin/Prim/Script.hs @@ -1,5 +1,7 @@ module Bitcoin.Prim.Script where +import Data.Primitive.ByteArray as PB + -- | Primitive opcodes. data Op = OP_PUSHBYTES_0 @@ -258,5 +260,5 @@ data Op = | OP_RETURN_253 | OP_RETURN_254 | OP_INVALIDOPCODE - deriving (Eq, Enum) + deriving (Eq, Show, Enum) diff --git a/ppad-btcprim.cabal b/ppad-btcprim.cabal @@ -27,4 +27,4 @@ library build-depends: base >= 4.9 && < 5 , bytestring >= 0.9 && < 0.13 - + , primitive >= 0.8 && < 0.10