A quasiquoter for Bech32 human-readable prefixes.
This quasiquoter makes it possible to construct values of type HumanReadablePart at compile time, using string literals.
Failure to parse a string literal will result in a compile-time error.
See Codec.Binary.Bech32.HumanReadablePartError for the set of possible
errors that can be raised.
Example:
:set -XQuasiQuotesimport Codec.Binary.Bech32import Codec.Binary.Bech32.THlet addrPrefix = [humanReadablePart|addr|]addrPrefixHumanReadablePart "addr":t addrPrefixaddrPrefix :: HumanReadablePart