Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class ParseResult f where
- roundTrip :: ParseResult f => ConcreteCodec c f a -> a -> Either String a
- roundTripStorable :: Storable a => a -> IO a
Testing
class ParseResult f where Source
roundTrip :: ParseResult f => ConcreteCodec c f a -> a -> Either String a Source
Round-trip a value through a ConcreteCodec
to an `Either String a`.
roundTripStorable :: Storable a => a -> IO a Source
Round-trip a value through its Storable
instance.