Right now these are totally opaque boxes, which is a problem. Ideally it'd be nice to have a lens-like IsByteString class to project into them. Unfortunately, that can't quite work because IsByteString needs Iso's. There's already a Crypto.Saltine.Class module containing IsEncoding which provides Prism' access to these guys.
This'll also lead to nice Show instances for these guys.
Right now these are totally opaque boxes, which is a problem. Ideally it'd be nice to have a
lens
-likeIsByteString
class to project into them. Unfortunately, that can't quite work becauseIsByteString
needsIso'
s. There's already aCrypto.Saltine.Class
module containingIsEncoding
which providesPrism'
access to these guys.This'll also lead to nice Show instances for these guys.