separated-0.1.0: A data type with elements separated by values

Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Separated.SeparatedCons

Synopsis

Documentation

class (f ~ SeparatedConsF g, g ~ SeparatedConsG f) => SeparatedCons f g where Source

Prepend a value to a separated-like structure.

Associated Types

type SeparatedConsF g :: * -> * -> * Source

type SeparatedConsG f :: * -> * -> * Source

Methods

(+:) :: a -> f s a -> g a s infixr 5 Source