concat-examples-0.3.0.0: Some examples of compiling to categories
Copyright(c) 2016 Conal Elliott
LicenseBSD3
Maintainerconal@conal.net
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

ConCat.Sized

Description

Statically sized functors

Synopsis

Documentation

class Sized (f :: * -> *) where Source #

Methods

size :: Int Source #

Instances

Instances details
Sized Par1 Source # 
Instance details

Defined in ConCat.Sized

Methods

size :: Int Source #

Sized Pair Source # 
Instance details

Defined in ConCat.Pair

Methods

size :: Int Source #

Sized (U1 :: Type -> Type) Source # 
Instance details

Defined in ConCat.Sized

Methods

size :: Int Source #

(Sized f, Sized g) => Sized (f :*: g) Source # 
Instance details

Defined in ConCat.Sized

Methods

size :: Int Source #

Sized (K1 i c :: Type -> Type) Source # 
Instance details

Defined in ConCat.Sized

Methods

size :: Int Source #

(Sized g, Sized f) => Sized (g :.: f) Source # 
Instance details

Defined in ConCat.Sized

Methods

size :: Int Source #

Sized f => Sized (M1 i c f) Source # 
Instance details

Defined in ConCat.Sized

Methods

size :: Int Source #

genericSize :: forall f. Sized (Rep1 f) => Int Source #

Generic size