Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Listable f where Source #
This class represents the ability of a structure to be converted to a
list. It is equivalent to Foldable
, but designed to
illustrate the representation of Foldable
as Recursive
specialized to lists.
naturalList :: f a b -> Free (XNor a) b Source #