We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTagged 2 (TList [])
in cabal new-repl:
cabal new-repl
> import Codec.CBOR.Term > import Codec.CBOR.Write > import Codec.CBOR.Read > deserialiseFromBytes decodeTerm (toLazyByteString $ encodeTerm $ TTagged 2 (TList [])) Left (DeserialiseFailure 0 "expected integer")
Note that it only fails if the tag is 2 or 3. It seems to work for values 0-1 and anything above 3.
The text was updated successfully, but these errors were encountered:
If I interpret this correctly, can we only use values from 0:1:[4..26] as tags? So maybe we are using the Tag constructor incorrectly.
0:1:[4..26]
Tag
Sorry, something went wrong.
No branches or pull requests
in
cabal new-repl
:Note that it only fails if the tag is 2 or 3. It seems to work for values 0-1 and anything above 3.
The text was updated successfully, but these errors were encountered: