api-tools-0.9.0.0: DSL for generating API boilerplate and docs
Safe HaskellNone
LanguageHaskell2010

Data.Binary.Serialise.CBOR.Extra

Synopsis

Documentation

encodeUnion :: Text -> Encoding -> Encoding Source #

Encode an element of a union as single-element map from a field name to a value.

decodeUnion :: [(Text, Decoder s a)] -> Decoder s a Source #

(<$!>) :: Monad m => (a -> b) -> m a -> m b infixl 4 #

Strict version of <$>.

Since: base-4.8.0.0