stochaskell-1.0.0: A probabilistic programming language

Copyright(c) David A Roberts 2015-2021
LicenseGPL-3
Maintainerd@vidr.cc
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Language.Stochaskell.Expression

Description

 
Synopsis

Documentation

class ExprType c => Constructor c where #

Stochaskell interface for algebraic data types

Minimal complete definition

Nothing

Methods

tags :: Tags c #

list of possible tags in tagged union

tags :: (Generic c, GConstructor (Rep c)) => Tags c #

list of possible tags in tagged union

construct :: (forall t. ExprType t => a -> Expression t) -> Tag -> [a] -> c #

construct ADT from tag and arguments

construct :: (Generic c, GConstructor (Rep c)) => (forall t. ExprType t => a -> Expression t) -> Tag -> [a] -> c #

construct ADT from tag and arguments

deconstruct :: (forall t. ExprType t => Expression t -> a) -> c -> (Tag, [a]) #

deconstruct ADT to tag and arguments

deconstruct :: (Generic c, GConstructor (Rep c)) => (forall t. ExprType t => Expression t -> a) -> c -> (Tag, [a]) #

deconstruct ADT to tag and arguments

toConcreteC :: ConstVal -> c #

convert constant to ADT value

fromConcreteC :: c -> Expression c #

convert ADT value to Stochaskell expression

data ConstVal #

constant numeric array (of arbitrary dimension) or tagged union value

Instances
IsList ConstVal # 
Instance details

Defined in Data.Expression.Const

Associated Types

type Item ConstVal :: Type #

Enum ConstVal # 
Instance details

Defined in Data.Expression.Const

Eq ConstVal # 
Instance details

Defined in Data.Expression.Const

Floating ConstVal # 
Instance details

Defined in Data.Expression.Const

Fractional ConstVal # 
Instance details

Defined in Data.Expression.Const

Integral ConstVal # 
Instance details

Defined in Data.Expression.Const

Num ConstVal # 
Instance details

Defined in Data.Expression.Const

Ord ConstVal # 
Instance details

Defined in Data.Expression.Const

Read ConstVal # 
Instance details

Defined in Data.Expression.Const

Real ConstVal # 
Instance details

Defined in Data.Expression.Const

RealFrac ConstVal # 
Instance details

Defined in Data.Expression.Const

Methods

properFraction :: Integral b => ConstVal -> (b, ConstVal) #

truncate :: Integral b => ConstVal -> b #

round :: Integral b => ConstVal -> b #

ceiling :: Integral b => ConstVal -> b #

floor :: Integral b => ConstVal -> b #

Show ConstVal # 
Instance details

Defined in Data.Expression.Const

Ix ConstVal # 
Instance details

Defined in Data.Expression.Const

Generic ConstVal # 
Instance details

Defined in Data.Expression.Const

Associated Types

type Rep ConstVal :: Type -> Type #

Methods

from :: ConstVal -> Rep ConstVal x #

to :: Rep ConstVal x -> ConstVal #

Semigroup ConstVal # 
Instance details

Defined in Data.Expression.Const

Boolean ConstVal # 
Instance details

Defined in Data.Expression.Const

IfB ConstVal # 
Instance details

Defined in Data.Expression.Const

Methods

ifB :: bool ~ BooleanOf ConstVal => bool -> ConstVal -> ConstVal -> ConstVal #

EqB ConstVal # 
Instance details

Defined in Data.Expression.Const

Methods

(==*) :: bool ~ BooleanOf ConstVal => ConstVal -> ConstVal -> bool #

(/=*) :: bool ~ BooleanOf ConstVal => ConstVal -> ConstVal -> bool #

OrdB ConstVal # 
Instance details

Defined in Data.Expression.Const

Methods

(<*) :: bool ~ BooleanOf ConstVal => ConstVal -> ConstVal -> bool #

(<=*) :: bool ~ BooleanOf ConstVal => ConstVal -> ConstVal -> bool #

(>*) :: bool ~ BooleanOf ConstVal => ConstVal -> ConstVal -> bool #

(>=*) :: bool ~ BooleanOf ConstVal => ConstVal -> ConstVal -> bool #

NFData ConstVal # 
Instance details

Defined in Data.Expression.Const

Methods

rnf :: ConstVal -> () #

Transfinite ConstVal # 
Instance details

Defined in Data.Expression.Const

Transposable ConstVal ConstVal # 
Instance details

Defined in Data.Expression.Const

SquareMatrix ConstVal ConstVal # 
Instance details

Defined in Data.Expression.Const

LinearOperator ConstVal ConstVal # 
Instance details

Defined in Data.Expression.Const

InnerProduct ConstVal ConstVal # 
Instance details

Defined in Data.Expression.Const

Methods

(<.>) :: ConstVal -> ConstVal -> ConstVal #

Scalable ConstVal ConstVal # 
Instance details

Defined in Data.Expression.Const

Methods

(*>) :: ConstVal -> ConstVal -> ConstVal #

Matrix ConstVal Integer ConstVal # 
Instance details

Defined in Data.Expression.Const

Vector ConstVal Integer ConstVal # 
Instance details

Defined in Data.Expression.Const

Indexable ConstVal [Integer] ConstVal # 
Instance details

Defined in Data.Expression.Const

type Rep ConstVal # 
Instance details

Defined in Data.Expression.Const

type BooleanOf ConstVal # 
Instance details

Defined in Data.Expression.Const

type Item ConstVal # 
Instance details

Defined in Data.Expression.Const

data DExpr #

dynamically typed Stochaskell expression

Instances
Eq DExpr # 
Instance details

Defined in Data.Expression

Methods

(==) :: DExpr -> DExpr -> Bool #

(/=) :: DExpr -> DExpr -> Bool #

Floating DExpr # 
Instance details

Defined in Data.Expression

Fractional DExpr # 
Instance details

Defined in Data.Expression

Num DExpr # 
Instance details

Defined in Data.Expression

Ord DExpr # 
Instance details

Defined in Data.Expression

Methods

compare :: DExpr -> DExpr -> Ordering #

(<) :: DExpr -> DExpr -> Bool #

(<=) :: DExpr -> DExpr -> Bool #

(>) :: DExpr -> DExpr -> Bool #

(>=) :: DExpr -> DExpr -> Bool #

max :: DExpr -> DExpr -> DExpr #

min :: DExpr -> DExpr -> DExpr #

Show DExpr # 
Instance details

Defined in Data.Expression

Methods

showsPrec :: Int -> DExpr -> ShowS #

show :: DExpr -> String #

showList :: [DExpr] -> ShowS #

Semigroup DExpr # 
Instance details

Defined in Data.Expression

Methods

(<>) :: DExpr -> DExpr -> DExpr #

sconcat :: NonEmpty DExpr -> DExpr #

stimes :: Integral b => b -> DExpr -> DExpr #

Boolean DExpr # 
Instance details

Defined in Data.Expression

Methods

true :: DExpr #

false :: DExpr #

notB :: DExpr -> DExpr #

(&&*) :: DExpr -> DExpr -> DExpr #

(||*) :: DExpr -> DExpr -> DExpr #

IfB DExpr # 
Instance details

Defined in Data.Expression

Methods

ifB :: bool ~ BooleanOf DExpr => bool -> DExpr -> DExpr -> DExpr #

EqB DExpr # 
Instance details

Defined in Data.Expression

Methods

(==*) :: bool ~ BooleanOf DExpr => DExpr -> DExpr -> bool #

(/=*) :: bool ~ BooleanOf DExpr => DExpr -> DExpr -> bool #

Transposable DExpr DExpr # 
Instance details

Defined in Data.Expression

Methods

tr :: DExpr -> DExpr #

tr' :: DExpr -> DExpr #

SquareMatrix DExpr DExpr # 
Instance details

Defined in Data.Expression

Methods

chol :: DExpr -> DExpr #

inv :: DExpr -> DExpr #

det :: DExpr -> DExpr #

logDet :: DExpr -> DExpr #

LinearOperator DExpr DExpr # 
Instance details

Defined in Data.Expression

Matrix DExpr DExpr DExpr # 
Instance details

Defined in Data.Expression

Vector DExpr DExpr DExpr # 
Instance details

Defined in Data.Expression

Indexable DExpr DExpr DExpr # 
Instance details

Defined in Data.Expression

type BooleanOf DExpr # 
Instance details

Defined in Data.Expression

type Eval = Either String ConstVal #

either an evaluated constant or error string

newtype Expression t #

Stochaskell expression representation (statically typed)

Constructors

Expression 

Fields

Instances
IsList RMat # 
Instance details

Defined in Data.Expression.Eval

Associated Types

type Item RMat :: Type #

Methods

fromList :: [Item RMat] -> RMat #

fromListN :: Int -> [Item RMat] -> RMat #

toList :: RMat -> [Item RMat] #

IsList ZVec # 
Instance details

Defined in Data.Expression.Eval

Associated Types

type Item ZVec :: Type #

Methods

fromList :: [Item ZVec] -> ZVec #

fromListN :: Int -> [Item ZVec] -> ZVec #

toList :: ZVec -> [Item ZVec] #

IsList RVec # 
Instance details

Defined in Data.Expression.Eval

Associated Types

type Item RVec :: Type #

Methods

fromList :: [Item RVec] -> RVec #

fromListN :: Int -> [Item RVec] -> RVec #

toList :: RVec -> [Item RVec] #

IsList BVec # 
Instance details

Defined in Data.Expression.Eval

Associated Types

type Item BVec :: Type #

Methods

fromList :: [Item BVec] -> BVec #

fromListN :: Int -> [Item BVec] -> BVec #

toList :: BVec -> [Item BVec] #

Read RMat # 
Instance details

Defined in Data.Expression.Eval

Read ZVec # 
Instance details

Defined in Data.Expression.Eval

Read RVec # 
Instance details

Defined in Data.Expression.Eval

Read BVec # 
Instance details

Defined in Data.Expression.Eval

Read Z # 
Instance details

Defined in Data.Expression.Eval

Read R # 
Instance details

Defined in Data.Expression.Eval

Read B # 
Instance details

Defined in Data.Expression.Eval

Scalable R RVec # 
Instance details

Defined in Data.Expression

Methods

(*>) :: R -> RVec -> RVec #

Cast Int R # 
Instance details

Defined in Data.Expression

Methods

cast :: Int -> R #

Cast Z R # 
Instance details

Defined in Data.Expression

Methods

cast :: Z -> R #

Distribution Poisson R P Z # 
Instance details

Defined in Data.Program

Methods

sample :: Poisson R -> P Z

Distribution PMF RVec P Z # 
Instance details

Defined in Data.Program

Methods

sample :: PMF RVec -> P Z

Distribution Geometric R P Z # 
Instance details

Defined in Data.Program

Methods

sample :: Geometric R -> P Z

Distribution Bernoullis RVec P BVec # 
Instance details

Defined in Data.Program

Methods

sample :: Bernoullis RVec -> P BVec

Distribution Bernoulli R P B # 
Instance details

Defined in Data.Program

Methods

sample :: Bernoulli R -> P B

(ExprType r, ExprType f, Show f) => Joint P Z (Expression r) (Expression f) # 
Instance details

Defined in Data.Program

ExprType t => Cast t (Expression t) # 
Instance details

Defined in Data.Expression

Methods

cast :: t -> Expression t #

Distribution Uniforms (RMat, RMat) P RMat # 
Instance details

Defined in Data.Program

Methods

sample :: Uniforms (RMat, RMat) -> P RMat

Distribution Uniforms (RVec, RVec) P RVec # 
Instance details

Defined in Data.Program

Methods

sample :: Uniforms (RVec, RVec) -> P RVec

Distribution Uniform (Z, Z) P Z # 
Instance details

Defined in Data.Program

Methods

sample :: Uniform (Z, Z) -> P Z

Distribution Uniform (R, R) P R # 
Instance details

Defined in Data.Program

Methods

sample :: Uniform (R, R) -> P R

Distribution Normals (RMat, RMat) P RMat # 
Instance details

Defined in Data.Program

Methods

sample :: Normals (RMat, RMat) -> P RMat

Distribution Normals (RVec, RVec) P RVec # 
Instance details

Defined in Data.Program

Methods

sample :: Normals (RVec, RVec) -> P RVec

Distribution Normal (RVec, RMat) P RVec # 
Instance details

Defined in Data.Program

Methods

sample :: Normal (RVec, RMat) -> P RVec

Distribution Normal (R, R) P R # 
Instance details

Defined in Data.Program

Methods

sample :: Normal (R, R) -> P R

Distribution NegBinomial (R, R) P Z # 
Instance details

Defined in Data.Program

Methods

sample :: NegBinomial (R, R) -> P Z

Distribution Logistic (R, R) P R # 
Instance details

Defined in Data.Program

Methods

sample :: Logistic (R, R) -> P R

Distribution LKJ (R, Interval Z) P RMat # 
Instance details

Defined in Data.Program

Methods

sample :: LKJ (R, Interval Z) -> P RMat

Distribution InvGamma (R, R) P R # 
Instance details

Defined in Data.Program

Methods

sample :: InvGamma (R, R) -> P R

Distribution Gamma (R, R) P R # 
Instance details

Defined in Data.Program

Methods

sample :: Gamma (R, R) -> P R

Distribution Cauchy (R, R) P R # 
Instance details

Defined in Data.Program

Methods

sample :: Cauchy (R, R) -> P R

Distribution Beta (R, R) P R # 
Instance details

Defined in Data.Program

Methods

sample :: Beta (R, R) -> P R

ExprType t => Distribution OrderedSample (Z, P (Expression t)) P (Expression [t]) # 
Instance details

Defined in Data.Program

Methods

sample :: OrderedSample (Z, P (Expression t)) -> P (Expression [t])

Distribution PoissonProcess (R, R -> R, R) P RVec # 
Instance details

Defined in Data.Program

Methods

sample :: PoissonProcess (R, R -> R, R) -> P RVec

(ExprType t, Enum t) => Enum (Expression t) # 
Instance details

Defined in Data.Expression.Eval

Eq t => Eq (Expression t) # 
Instance details

Defined in Data.Expression

Methods

(==) :: Expression t -> Expression t -> Bool #

(/=) :: Expression t -> Expression t -> Bool #

(ExprType t, Floating t) => Floating (Expression t) # 
Instance details

Defined in Data.Expression

(ExprType t, Fractional t) => Fractional (Expression t) # 
Instance details

Defined in Data.Expression

(ExprType t, Integral t) => Integral (Expression t) # 
Instance details

Defined in Data.Expression.Eval

(ExprType t, Num t) => Num (Expression t) # 
Instance details

Defined in Data.Expression

Ord t => Ord (Expression t) # 
Instance details

Defined in Data.Expression

(ExprType t, Real t) => Real (Expression t) # 
Instance details

Defined in Data.Expression.Eval

(Show t, ExprType t) => Show (Expression t) # 
Instance details

Defined in Data.Expression.Eval

ExprType e => Semigroup (Expression [[e]]) # 
Instance details

Defined in Data.Expression

Methods

(<>) :: Expression [[e]] -> Expression [[e]] -> Expression [[e]] #

sconcat :: NonEmpty (Expression [[e]]) -> Expression [[e]] #

stimes :: Integral b => b -> Expression [[e]] -> Expression [[e]] #

Boolean (Expression Bool) # 
Instance details

Defined in Data.Expression

IfB (Expression t) # 
Instance details

Defined in Data.Expression

Methods

ifB :: bool ~ BooleanOf (Expression t) => bool -> Expression t -> Expression t -> Expression t #

EqB (Expression t) # 
Instance details

Defined in Data.Expression

Methods

(==*) :: bool ~ BooleanOf (Expression t) => Expression t -> Expression t -> bool #

(/=*) :: bool ~ BooleanOf (Expression t) => Expression t -> Expression t -> bool #

OrdB (Expression t) # 
Instance details

Defined in Data.Expression

Methods

(<*) :: bool ~ BooleanOf (Expression t) => Expression t -> Expression t -> bool #

(<=*) :: bool ~ BooleanOf (Expression t) => Expression t -> Expression t -> bool #

(>*) :: bool ~ BooleanOf (Expression t) => Expression t -> Expression t -> bool #

(>=*) :: bool ~ BooleanOf (Expression t) => Expression t -> Expression t -> bool #

(Ord t, ExprType t) => Transfinite (Expression t) # 
Instance details

Defined in Data.Expression

ExprType a => ExprTuple (Expression a) # 
Instance details

Defined in Data.Expression

ExprType a => ExprType (Expression a) # 
Instance details

Defined in Data.Expression

ExprType e => Matrix (Expression [[e]]) Z (Expression e) # 
Instance details

Defined in Data.Expression

Methods

matrix :: AbstractArray Z (Expression e) -> Expression [[e]] #

blockMatrix :: [[Expression [[e]]]] -> Expression [[e]] #

eye :: Z -> Expression [[e]] #

zeros :: Z -> Z -> Expression [[e]] #

matrixRows :: Expression [[e]] -> Z #

matrixCols :: Expression [[e]] -> Z #

designMatrix :: (Indexable v Z (Expression e), Num Z) => Z -> AbstractArray Z v -> Expression [[e]] #

ExprType e => Vector (Expression [e]) Z (Expression e) # 
Instance details

Defined in Data.Expression

ExprType e => Transposable (Expression [[e]]) (Expression [[e]]) # 
Instance details

Defined in Data.Expression

Methods

tr :: Expression [[e]] -> Expression [[e]] #

tr' :: Expression [[e]] -> Expression [[e]] #

SquareMatrix (Expression [[e]]) (Expression e) # 
Instance details

Defined in Data.Expression

Methods

chol :: Expression [[e]] -> Expression [[e]] #

inv :: Expression [[e]] -> Expression [[e]] #

det :: Expression [[e]] -> Expression e #

logDet :: Expression [[e]] -> Expression e #

LinearOperator (Expression [[e]]) (Expression [e]) # 
Instance details

Defined in Data.Expression

Methods

(#>) :: Expression [[e]] -> Expression [e] -> Expression [e] #

(<#) :: Expression [e] -> Expression [[e]] -> Expression [e] #

diag :: Expression [e] -> Expression [[e]] #

asColumn :: Expression [e] -> Expression [[e]] #

asRow :: Expression [e] -> Expression [[e]] #

outer :: Expression [e] -> Expression [e] -> Expression [[e]] #

InnerProduct (Expression [e]) (Expression e) # 
Instance details

Defined in Data.Expression

Methods

(<.>) :: Expression [e] -> Expression [e] -> Expression e #

ExprType e => Scalable (Expression e) (Expression [[e]]) # 
Instance details

Defined in Data.Expression

Methods

(*>) :: Expression e -> Expression [[e]] -> Expression [[e]] #

Cast (Expression t) (Expression [[t]]) # 
Instance details

Defined in Data.Expression

Methods

cast :: Expression t -> Expression [[t]] #

Cast (Expression t) (Expression [t]) # 
Instance details

Defined in Data.Expression

Methods

cast :: Expression t -> Expression [t] #

Indexable (Expression [e]) (Expression Integer) (Expression e) # 
Instance details

Defined in Data.Expression

(ExprTuple a, ExprTuple b, ExprType t) => Show (a -> b -> Expression t) # 
Instance details

Defined in Data.Expression

Methods

showsPrec :: Int -> (a -> b -> Expression t) -> ShowS #

show :: (a -> b -> Expression t) -> String #

showList :: [a -> b -> Expression t] -> ShowS #

(ExprTuple a, ExprType t) => Show (a -> Expression t) # 
Instance details

Defined in Data.Expression

Methods

showsPrec :: Int -> (a -> Expression t) -> ShowS #

show :: (a -> Expression t) -> String #

showList :: [a -> Expression t] -> ShowS #

(ExprType a, ExprType b) => ExprTuple (Expression a, Expression b) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b) => ExprType (Expression a, Expression b) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c) => ExprTuple (Expression a, Expression b, Expression c) # 
Instance details

Defined in Data.Expression

ExprType t => GConstructor (K1 i (Expression t) :: Type -> Type) # 
Instance details

Defined in Data.Expression

Methods

gtypeOf :: TypeOf (K1 i (Expression t) p) #

gtags :: Tags (K1 i (Expression t) p) #

gconstruct :: (forall t0. ExprType t0 => a -> Expression t0) -> Tag -> [a] -> K1 i (Expression t) p #

gdeconstruct :: (forall t0. ExprType t0 => Expression t0 -> a) -> K1 i (Expression t) p -> (Tag, [a]) #

(ExprType a, ExprType b, ExprType c) => ExprType (Expression a, Expression b, Expression c) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d) => ExprTuple (Expression a, Expression b, Expression c, Expression d) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d) => ExprType (Expression a, Expression b, Expression c, Expression d) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g, ExprType h) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g, Expression h) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g, ExprType h) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g, Expression h) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g, ExprType h, ExprType i) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g, Expression h, Expression i) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g, ExprType h, ExprType i) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g, Expression h, Expression i) # 
Instance details

Defined in Data.Expression

type Item RMat # 
Instance details

Defined in Data.Expression.Eval

type Item RMat = [Double]
type Item ZVec # 
Instance details

Defined in Data.Expression.Eval

type Item RVec # 
Instance details

Defined in Data.Expression.Eval

type Item BVec # 
Instance details

Defined in Data.Expression.Eval

type Item BVec = Bool
type BooleanOf (Expression t) # 
Instance details

Defined in Data.Expression

data EEnv #

Instances
Show EEnv # 
Instance details

Defined in Data.Expression

Methods

showsPrec :: Int -> EEnv -> ShowS #

show :: EEnv -> String #

showList :: [EEnv] -> ShowS #

type Expr t = Expression t #

class ExprType t => ExprTuple t where #

Stochaskell interface for tuples of expressions

Methods

tupleSize :: TupleSize t #

numer of tuple elements

fromExprTuple :: t -> [DExpr] #

convert to list of expressions

toExprTuple :: [DExpr] -> t #

convert from list of expressions

fromConstVals :: [ConstVal] -> t #

convert from list of constants

typesOf :: TypesOf t #

list of types of elements

Instances
ExprType a => ExprTuple (Expression a) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b) => ExprTuple (Expression a, Expression b) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c) => ExprTuple (Expression a, Expression b, Expression c) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d) => ExprTuple (Expression a, Expression b, Expression c, Expression d) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g, ExprType h) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g, Expression h) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g, ExprType h, ExprType i) => ExprTuple (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g, Expression h, Expression i) # 
Instance details

Defined in Data.Expression

class ExprType t where #

Stochaskell interface for native Haskell types

Minimal complete definition

Nothing

Methods

typeOf :: TypeOf t #

corresponding Stochaskell type

typeOf :: (Generic t, GConstructor (Rep t)) => TypeOf t #

corresponding Stochaskell type

toConcrete :: ConstVal -> t #

convert constant to native value

toConcrete :: Constructor t => ConstVal -> t #

convert constant to native value

fromConcrete :: t -> Expression t #

convert native value to Stochaskell expression

fromConcrete :: Constructor t => t -> Expression t #

convert native value to Stochaskell expression

constVal :: t -> ConstVal #

convert native value to constant

constVal :: ToConstVal t => t -> ConstVal #

convert native value to constant

constExpr :: ConstVal -> Expression t #

convert constant to Stochaskell expression

Instances
ExprType Bool # 
Instance details

Defined in Data.Expression

ExprType Double # 
Instance details

Defined in Data.Expression

ExprType Integer # 
Instance details

Defined in Data.Expression

ExprType t => ExprType [t] # 
Instance details

Defined in Data.Expression

Methods

typeOf :: TypeOf [t] #

toConcrete :: ConstVal -> [t] #

fromConcrete :: [t] -> Expression [t] #

constVal :: [t] -> ConstVal #

constExpr :: ConstVal -> Expression [t] #

ExprType a => ExprType (Expression a) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b) => ExprType (Expression a, Expression b) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c) => ExprType (Expression a, Expression b, Expression c) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d) => ExprType (Expression a, Expression b, Expression c, Expression d) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g, ExprType h) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g, Expression h) # 
Instance details

Defined in Data.Expression

(ExprType a, ExprType b, ExprType c, ExprType d, ExprType e, ExprType f, ExprType g, ExprType h, ExprType i) => ExprType (Expression a, Expression b, Expression c, Expression d, Expression e, Expression f, Expression g, Expression h, Expression i) # 
Instance details

Defined in Data.Expression

newtype FixE f #

Constructors

FixE 

Fields

Instances
(Show1 f, Functor f, Constructor (f (FixE f))) => Show (FixE f) # 
Instance details

Defined in Data.Expression.Eval

Methods

showsPrec :: Int -> FixE f -> ShowS #

show :: FixE f -> String #

showList :: [FixE f] -> ShowS #

ExprType (f (FixE f)) => GConstructor (K1 i (FixE f) :: Type -> Type) # 
Instance details

Defined in Data.Expression

Methods

gtypeOf :: TypeOf (K1 i (FixE f) p) #

gtags :: Tags (K1 i (FixE f) p) #

gconstruct :: (forall t. ExprType t => a -> Expression t) -> Tag -> [a] -> K1 i (FixE f) p #

gdeconstruct :: (forall t. ExprType t => Expression t -> a) -> K1 i (FixE f) p -> (Tag, [a]) #

type FixE' f = Expression (f (FixE f)) #

class GConstructor f where #

Minimal complete definition

gtypeOf, gconstruct, gdeconstruct

Methods

gtypeOf :: TypeOf (f p) #

gtags :: Tags (f p) #

gconstruct :: (forall t. ExprType t => a -> Expression t) -> Tag -> [a] -> f p #

gdeconstruct :: (forall t. ExprType t => Expression t -> a) -> f p -> (Tag, [a]) #

Instances
GConstructor (U1 :: Type -> Type) # 
Instance details

Defined in Data.Expression

Methods

gtypeOf :: TypeOf (U1 p) #

gtags :: Tags (U1 p) #

gconstruct :: (forall t. ExprType t => a -> Expression t) -> Tag -> [a] -> U1 p #

gdeconstruct :: (forall t. ExprType t => Expression t -> a) -> U1 p -> (Tag, [a]) #

ExprType (f (FixE f)) => GConstructor (K1 i (FixE f) :: Type -> Type) # 
Instance details

Defined in Data.Expression

Methods

gtypeOf :: TypeOf (K1 i (FixE f) p) #

gtags :: Tags (K1 i (FixE f) p) #

gconstruct :: (forall t. ExprType t => a -> Expression t) -> Tag -> [a] -> K1 i (FixE f) p #

gdeconstruct :: (forall t. ExprType t => Expression t -> a) -> K1 i (FixE f) p -> (Tag, [a]) #

ExprType t => GConstructor (K1 i (Expression t) :: Type -> Type) # 
Instance details

Defined in Data.Expression

Methods

gtypeOf :: TypeOf (K1 i (Expression t) p) #

gtags :: Tags (K1 i (Expression t) p) #

gconstruct :: (forall t0. ExprType t0 => a -> Expression t0) -> Tag -> [a] -> K1 i (Expression t) p #

gdeconstruct :: (forall t0. ExprType t0 => Expression t0 -> a) -> K1 i (Expression t) p -> (Tag, [a]) #

(GConstructor a, GConstructor b) => GConstructor (a :+: b) # 
Instance details

Defined in Data.Expression

Methods

gtypeOf :: TypeOf ((a :+: b) p) #

gtags :: Tags ((a :+: b) p) #

gconstruct :: (forall t. ExprType t => a0 -> Expression t) -> Tag -> [a0] -> (a :+: b) p #

gdeconstruct :: (forall t. ExprType t => Expression t -> a0) -> (a :+: b) p -> (Tag, [a0]) #

(GConstructor a, GConstructor b) => GConstructor (a :*: b) # 
Instance details

Defined in Data.Expression

Methods

gtypeOf :: TypeOf ((a :*: b) p) #

gtags :: Tags ((a :*: b) p) #

gconstruct :: (forall t. ExprType t => a0 -> Expression t) -> Tag -> [a0] -> (a :*: b) p #

gdeconstruct :: (forall t. ExprType t => Expression t -> a0) -> (a :*: b) p -> (Tag, [a0]) #

GConstructor a => GConstructor (M1 i c a) # 
Instance details

Defined in Data.Expression

Methods

gtypeOf :: TypeOf (M1 i c a p) #

gtags :: Tags (M1 i c a p) #

gconstruct :: (forall t. ExprType t => a0 -> Expression t) -> Tag -> [a0] -> M1 i c a p #

gdeconstruct :: (forall t. ExprType t => Expression t -> a0) -> M1 i c a p -> (Tag, [a0]) #

data Id #

variable identifier

Instances
Eq Id # 
Instance details

Defined in Data.Expression

Methods

(==) :: Id -> Id -> Bool #

(/=) :: Id -> Id -> Bool #

Ord Id # 
Instance details

Defined in Data.Expression

Methods

compare :: Id -> Id -> Ordering #

(<) :: Id -> Id -> Bool #

(<=) :: Id -> Id -> Bool #

(>) :: Id -> Id -> Bool #

(>=) :: Id -> Id -> Bool #

max :: Id -> Id -> Id #

min :: Id -> Id -> Id #

Show Id # 
Instance details

Defined in Data.Expression

Methods

showsPrec :: Int -> Id -> ShowS #

show :: Id -> String #

showList :: [Id] -> ShowS #

data LVal #

Constructors

LVar Id 
Instances
Eq LVal # 
Instance details

Defined in Data.Expression

Methods

(==) :: LVal -> LVal -> Bool #

(/=) :: LVal -> LVal -> Bool #

Ord LVal # 
Instance details

Defined in Data.Expression

Methods

compare :: LVal -> LVal -> Ordering #

(<) :: LVal -> LVal -> Bool #

(<=) :: LVal -> LVal -> Bool #

(>) :: LVal -> LVal -> Bool #

(>=) :: LVal -> LVal -> Bool #

max :: LVal -> LVal -> LVal #

min :: LVal -> LVal -> LVal #

Show LVal # 
Instance details

Defined in Data.Expression

Methods

showsPrec :: Int -> LVal -> ShowS #

show :: LVal -> String #

showList :: [LVal] -> ShowS #

data NodeRef #

reference to a node in the computation graph

Instances
Eq NodeRef # 
Instance details

Defined in Data.Expression

Methods

(==) :: NodeRef -> NodeRef -> Bool #

(/=) :: NodeRef -> NodeRef -> Bool #

Ord NodeRef # 
Instance details

Defined in Data.Expression

Show NodeRef # 
Instance details

Defined in Data.Expression

type Tag = Int #

newtype Tags t #

Constructors

Tags [Tag] 

newtype TupleSize t #

Constructors

TupleSize Int 

data Type #

Stochaskell types

Instances
Eq Type # 
Instance details

Defined in Data.Expression

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Ord Type # 
Instance details

Defined in Data.Expression

Methods

compare :: Type -> Type -> Ordering #

(<) :: Type -> Type -> Bool #

(<=) :: Type -> Type -> Bool #

(>) :: Type -> Type -> Bool #

(>=) :: Type -> Type -> Bool #

max :: Type -> Type -> Type #

min :: Type -> Type -> Type #

Show Type # 
Instance details

Defined in Data.Expression

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

newtype TypeOf t #

Constructors

TypeIs Type 
Instances
Show (TypeOf t) # 
Instance details

Defined in Data.Expression

Methods

showsPrec :: Int -> TypeOf t -> ShowS #

show :: TypeOf t -> String #

showList :: [TypeOf t] -> ShowS #

newtype TypesOf t #

Constructors

TypesIs [Type] 

tupleT :: [Type] -> Type #

vecT :: Type -> Type #

matT :: Type -> Type #

eval_ :: Expression t -> Eval #

evaluate Stochaskell expression to constant value

eval' :: ExprType t => Expression t -> Either String t #

evaluate Stochaskell expression to native value

class Show1 (f :: Type -> Type) #

Lifting of the Show class to unary type constructors.

Since: base-4.9.0.0

Minimal complete definition

liftShowsPrec

Instances
Show1 []

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> [a] -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [[a]] -> ShowS #

Show1 Maybe

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Maybe a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Maybe a] -> ShowS #

Show1 Identity

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Identity a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Identity a] -> ShowS #

Show1 Down

Since: base-4.12.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Down a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Down a] -> ShowS #

Show1 NonEmpty

Since: base-4.10.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> NonEmpty a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [NonEmpty a] -> ShowS #

Show1 IntMap

Since: containers-0.5.9

Instance details

Defined in Data.IntMap.Internal

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> IntMap a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [IntMap a] -> ShowS #

Show1 Tree

Since: containers-0.5.9

Instance details

Defined in Data.Tree

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Tree a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Tree a] -> ShowS #

Show1 Seq

Since: containers-0.5.9

Instance details

Defined in Data.Sequence.Internal

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Seq a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Seq a] -> ShowS #

Show1 Set

Since: containers-0.5.9

Instance details

Defined in Data.Set.Internal

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Set a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Set a] -> ShowS #

Show1 Hashed 
Instance details

Defined in Data.Hashable.Class

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Hashed a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Hashed a] -> ShowS #

Show1 SmallArray

Since: primitive-0.6.4.0

Instance details

Defined in Data.Primitive.SmallArray

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> SmallArray a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [SmallArray a] -> ShowS #

Show1 Array

Since: primitive-0.6.4.0

Instance details

Defined in Data.Primitive.Array

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Array a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Array a] -> ShowS #

Show1 HashSet 
Instance details

Defined in Data.HashSet.Base

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> HashSet a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [HashSet a] -> ShowS #

Show1 Vector 
Instance details

Defined in Data.Vector

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Vector a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Vector a] -> ShowS #

Show1 V2 
Instance details

Defined in Linear.V2

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> V2 a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [V2 a] -> ShowS #

Show1 V3 
Instance details

Defined in Linear.V3

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> V3 a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [V3 a] -> ShowS #

Show1 V1 
Instance details

Defined in Linear.V1

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> V1 a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [V1 a] -> ShowS #

Show1 Plucker 
Instance details

Defined in Linear.Plucker

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Plucker a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Plucker a] -> ShowS #

Show1 Quaternion 
Instance details

Defined in Linear.Quaternion

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Quaternion a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Quaternion a] -> ShowS #

Show1 V0 
Instance details

Defined in Linear.V0

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> V0 a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [V0 a] -> ShowS #

Show1 V4 
Instance details

Defined in Linear.V4

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> V4 a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [V4 a] -> ShowS #

Show a => Show1 (Either a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> Either a a0 -> ShowS #

liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [Either a a0] -> ShowS #

Show a => Show1 ((,) a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> (a, a0) -> ShowS #

liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [(a, a0)] -> ShowS #

Show k => Show1 (HashMap k) 
Instance details

Defined in Data.HashMap.Base

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> HashMap k a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [HashMap k a] -> ShowS #

Show k => Show1 (Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Map k a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Map k a] -> ShowS #

Show1 (Proxy :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Proxy a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Proxy a] -> ShowS #

Show1 m => Show1 (MaybeT m) 
Instance details

Defined in Control.Monad.Trans.Maybe

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> MaybeT m a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [MaybeT m a] -> ShowS #

(Generic1 f, GShow1 (Rep1 f)) => Show1 (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Generically1 f a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Generically1 f a] -> ShowS #

Show1 m => Show1 (ListT m) 
Instance details

Defined in Control.Monad.Trans.List

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> ListT m a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [ListT m a] -> ShowS #

Show a => Show1 (ListF a) 
Instance details

Defined in Data.Functor.Foldable

Methods

liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> ListF a a0 -> ShowS #

liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [ListF a a0] -> ShowS #

Show1 f => Show1 (Cofree f) 
Instance details

Defined in Control.Comonad.Cofree

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Cofree f a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Cofree f a] -> ShowS #

Show1 f => Show1 (Free f) 
Instance details

Defined in Control.Monad.Free

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Free f a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Free f a] -> ShowS #

Show a => Show1 (NonEmptyF a) 
Instance details

Defined in Data.Functor.Base

Methods

liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> NonEmptyF a a0 -> ShowS #

liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [NonEmptyF a a0] -> ShowS #

Show1 f => Show1 (Point f) 
Instance details

Defined in Linear.Affine

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Point f a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Point f a] -> ShowS #

Show1 f => Show1 (Yoneda f) 
Instance details

Defined in Data.Functor.Yoneda

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Yoneda f a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Yoneda f a] -> ShowS #

Show a => Show1 (Const a :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> Const a a0 -> ShowS #

liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [Const a a0] -> ShowS #

Show1 f => Show1 (IdentityT f) 
Instance details

Defined in Control.Monad.Trans.Identity

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> IdentityT f a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [IdentityT f a] -> ShowS #

(Show e, Show1 m) => Show1 (ExceptT e m) 
Instance details

Defined in Control.Monad.Trans.Except

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> ExceptT e m a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [ExceptT e m a] -> ShowS #

(Show w, Show1 m) => Show1 (WriterT w m) 
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> WriterT w m a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [WriterT w m a] -> ShowS #

(Show e, Show1 m) => Show1 (ErrorT e m) 
Instance details

Defined in Control.Monad.Trans.Error

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> ErrorT e m a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [ErrorT e m a] -> ShowS #

(Show w, Show1 m) => Show1 (WriterT w m) 
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> WriterT w m a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [WriterT w m a] -> ShowS #

Show1 (Tagged s) 
Instance details

Defined in Data.Tagged

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Tagged s a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Tagged s a] -> ShowS #

Show1 f => Show1 (Backwards f) 
Instance details

Defined in Control.Applicative.Backwards

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Backwards f a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Backwards f a] -> ShowS #

(Show1 f, Show1 m) => Show1 (FreeT f m) 
Instance details

Defined in Control.Monad.Trans.Free

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> FreeT f m a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [FreeT f m a] -> ShowS #

(Show1 f, Show a) => Show1 (FreeF f a) 
Instance details

Defined in Control.Monad.Trans.Free

Methods

liftShowsPrec :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> Int -> FreeF f a a0 -> ShowS #

liftShowList :: (Int -> a0 -> ShowS) -> ([a0] -> ShowS) -> [FreeF f a a0] -> ShowS #

Show1 (V n) 
Instance details

Defined in Linear.V

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> V n a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [V n a] -> ShowS #

(Show1 f, Show1 g) => Show1 (Product f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Product

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Product f g a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Product f g a] -> ShowS #

(Show1 f, Show1 g) => Show1 (Sum f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Sum

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Sum f g a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Sum f g a] -> ShowS #

(Show1 f, Show1 g) => Show1 (Compose f g)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Compose

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Compose f g a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Compose f g a] -> ShowS #

newtype Generically1 (f :: Type -> Type) a #

Type with instances derived via Generic1.

Constructors

Generically1 

Fields

Instances
(Generic1 f, Functor (Rep1 f)) => Functor (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

fmap :: (a -> b) -> Generically1 f a -> Generically1 f b #

(<$) :: a -> Generically1 f b -> Generically1 f a #

(Generic1 f, Applicative (Rep1 f)) => Applicative (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

pure :: a -> Generically1 f a #

(<*>) :: Generically1 f (a -> b) -> Generically1 f a -> Generically1 f b #

liftA2 :: (a -> b -> c) -> Generically1 f a -> Generically1 f b -> Generically1 f c #

(*>) :: Generically1 f a -> Generically1 f b -> Generically1 f b #

(<*) :: Generically1 f a -> Generically1 f b -> Generically1 f a #

(Generic1 f, Foldable (Rep1 f)) => Foldable (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

fold :: Monoid m => Generically1 f m -> m #

foldMap :: Monoid m => (a -> m) -> Generically1 f a -> m #

foldr :: (a -> b -> b) -> b -> Generically1 f a -> b #

foldr' :: (a -> b -> b) -> b -> Generically1 f a -> b #

foldl :: (b -> a -> b) -> b -> Generically1 f a -> b #

foldl' :: (b -> a -> b) -> b -> Generically1 f a -> b #

foldr1 :: (a -> a -> a) -> Generically1 f a -> a #

foldl1 :: (a -> a -> a) -> Generically1 f a -> a #

toList :: Generically1 f a -> [a] #

null :: Generically1 f a -> Bool #

length :: Generically1 f a -> Int #

elem :: Eq a => a -> Generically1 f a -> Bool #

maximum :: Ord a => Generically1 f a -> a #

minimum :: Ord a => Generically1 f a -> a #

sum :: Num a => Generically1 f a -> a #

product :: Num a => Generically1 f a -> a #

(Generic1 f, Traversable (Rep1 f)) => Traversable (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

traverse :: Applicative f0 => (a -> f0 b) -> Generically1 f a -> f0 (Generically1 f b) #

sequenceA :: Applicative f0 => Generically1 f (f0 a) -> f0 (Generically1 f a) #

mapM :: Monad m => (a -> m b) -> Generically1 f a -> m (Generically1 f b) #

sequence :: Monad m => Generically1 f (m a) -> m (Generically1 f a) #

(Generic1 f, Alternative (Rep1 f)) => Alternative (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

empty :: Generically1 f a #

(<|>) :: Generically1 f a -> Generically1 f a -> Generically1 f a #

some :: Generically1 f a -> Generically1 f [a] #

many :: Generically1 f a -> Generically1 f [a] #

(Generic1 f, Eq1 (Rep1 f)) => Eq1 (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

liftEq :: (a -> b -> Bool) -> Generically1 f a -> Generically1 f b -> Bool #

(Generic1 f, Ord1 (Rep1 f)) => Ord1 (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

liftCompare :: (a -> b -> Ordering) -> Generically1 f a -> Generically1 f b -> Ordering #

(Generic1 f, GShow1 (Rep1 f)) => Show1 (Generically1 f) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Generically1 f a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Generically1 f a] -> ShowS #

Generic1 f => Generic1 (Generically1 f :: Type -> Type) 
Instance details

Defined in Generic.Data.Internal.Generically

Associated Types

type Rep1 (Generically1 f) :: k -> Type #

Methods

from1 :: Generically1 f a -> Rep1 (Generically1 f) a #

to1 :: Rep1 (Generically1 f) a -> Generically1 f a #

(Generic1 f, Eq1 (Rep1 f), Eq a) => Eq (Generically1 f a) 
Instance details

Defined in Generic.Data.Internal.Generically

Methods

(==) :: Generically1 f a -> Generically1 f a -> Bool #

(/=) :: Generically1 f a -> Generically1 f a -> Bool #

(Generic1 f, Ord1 (Rep1 f), Ord a) => Ord (Generically1 f a) 
Instance details

Defined in Generic.Data.Internal.Generically

(Generic1 f, GShow1 (Rep1 f), Show a) => Show (Generically1 f a) 
Instance details

Defined in Generic.Data.Internal.Generically

Generic (f a) => Generic (Generically1 f a) 
Instance details

Defined in Generic.Data.Internal.Generically

Associated Types

type Rep (Generically1 f a) :: Type -> Type #

Methods

from :: Generically1 f a -> Rep (Generically1 f a) x #

to :: Rep (Generically1 f a) x -> Generically1 f a #

type Rep1 (Generically1 f :: Type -> Type) 
Instance details

Defined in Generic.Data.Internal.Generically

type Rep1 (Generically1 f :: Type -> Type) = Rep1 f
type Rep (Generically1 f a) 
Instance details

Defined in Generic.Data.Internal.Generically

type Rep (Generically1 f a) = Rep (f a)

class Generic a #

Representable types of kind *. This class is derivable in GHC with the DeriveGeneric flag on.

A Generic instance must satisfy the following laws:

from . toid
to . fromid

Minimal complete definition

from, to

Instances
Generic Bool 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Bool :: Type -> Type #

Methods

from :: Bool -> Rep Bool x #

to :: Rep Bool x -> Bool #

Generic Ordering 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Ordering :: Type -> Type #

Methods

from :: Ordering -> Rep Ordering x #

to :: Rep Ordering x -> Ordering #

Generic Exp 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Exp :: Type -> Type #

Methods

from :: Exp -> Rep Exp x #

to :: Rep Exp x -> Exp #

Generic Match 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Match :: Type -> Type #

Methods

from :: Match -> Rep Match x #

to :: Rep Match x -> Match #

Generic Clause 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Clause :: Type -> Type #

Methods

from :: Clause -> Rep Clause x #

to :: Rep Clause x -> Clause #

Generic Pat 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Pat :: Type -> Type #

Methods

from :: Pat -> Rep Pat x #

to :: Rep Pat x -> Pat #

Generic Type 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Type :: Type -> Type #

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

Generic Dec 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Dec :: Type -> Type #

Methods

from :: Dec -> Rep Dec x #

to :: Rep Dec x -> Dec #

Generic Name 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Name :: Type -> Type #

Methods

from :: Name -> Rep Name x #

to :: Rep Name x -> Name #

Generic FunDep 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FunDep :: Type -> Type #

Methods

from :: FunDep -> Rep FunDep x #

to :: Rep FunDep x -> FunDep #

Generic InjectivityAnn 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep InjectivityAnn :: Type -> Type #

Generic Overlap 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Overlap :: Type -> Type #

Methods

from :: Overlap -> Rep Overlap x #

to :: Rep Overlap x -> Overlap #

Generic () 
Instance details

Defined in GHC.Generics

Associated Types

type Rep () :: Type -> Type #

Methods

from :: () -> Rep () x #

to :: Rep () x -> () #

Generic Con 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Con :: Type -> Type #

Methods

from :: Con -> Rep Con x #

to :: Rep Con x -> Con #

Generic Value 
Instance details

Defined in Data.Aeson.Types.Internal

Associated Types

type Rep Value :: Type -> Type #

Methods

from :: Value -> Rep Value x #

to :: Rep Value x -> Value #

Generic Void 
Instance details

Defined in Data.Void

Associated Types

type Rep Void :: Type -> Type #

Methods

from :: Void -> Rep Void x #

to :: Rep Void x -> Void #

Generic Version 
Instance details

Defined in Data.Version

Associated Types

type Rep Version :: Type -> Type #

Methods

from :: Version -> Rep Version x #

to :: Rep Version x -> Version #

Generic ExitCode 
Instance details

Defined in GHC.IO.Exception

Associated Types

type Rep ExitCode :: Type -> Type #

Methods

from :: ExitCode -> Rep ExitCode x #

to :: Rep ExitCode x -> ExitCode #

Generic All 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep All :: Type -> Type #

Methods

from :: All -> Rep All x #

to :: Rep All x -> All #

Generic Any 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep Any :: Type -> Type #

Methods

from :: Any -> Rep Any x #

to :: Rep Any x -> Any #

Generic Fixity 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Fixity :: Type -> Type #

Methods

from :: Fixity -> Rep Fixity x #

to :: Rep Fixity x -> Fixity #

Generic Associativity 
Instance details

Defined in GHC.Generics

Associated Types

type Rep Associativity :: Type -> Type #

Generic SourceUnpackedness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SourceUnpackedness :: Type -> Type #

Generic SourceStrictness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SourceStrictness :: Type -> Type #

Generic DecidedStrictness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep DecidedStrictness :: Type -> Type #

Generic Extension 
Instance details

Defined in GHC.LanguageExtensions.Type

Associated Types

type Rep Extension :: Type -> Type #

Generic ForeignSrcLang 
Instance details

Defined in GHC.ForeignSrcLang.Type

Associated Types

type Rep ForeignSrcLang :: Type -> Type #

Generic Doc 
Instance details

Defined in Text.PrettyPrint.HughesPJ

Associated Types

type Rep Doc :: Type -> Type #

Methods

from :: Doc -> Rep Doc x #

to :: Rep Doc x -> Doc #

Generic TextDetails 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep TextDetails :: Type -> Type #

Generic Style 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep Style :: Type -> Type #

Methods

from :: Style -> Rep Style x #

to :: Rep Style x -> Style #

Generic Mode 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep Mode :: Type -> Type #

Methods

from :: Mode -> Rep Mode x #

to :: Rep Mode x -> Mode #

Generic ModName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ModName :: Type -> Type #

Methods

from :: ModName -> Rep ModName x #

to :: Rep ModName x -> ModName #

Generic PkgName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PkgName :: Type -> Type #

Methods

from :: PkgName -> Rep PkgName x #

to :: Rep PkgName x -> PkgName #

Generic Module 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Module :: Type -> Type #

Methods

from :: Module -> Rep Module x #

to :: Rep Module x -> Module #

Generic OccName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep OccName :: Type -> Type #

Methods

from :: OccName -> Rep OccName x #

to :: Rep OccName x -> OccName #

Generic NameFlavour 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep NameFlavour :: Type -> Type #

Generic NameSpace 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep NameSpace :: Type -> Type #

Generic Loc 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Loc :: Type -> Type #

Methods

from :: Loc -> Rep Loc x #

to :: Rep Loc x -> Loc #

Generic Info 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Info :: Type -> Type #

Methods

from :: Info -> Rep Info x #

to :: Rep Info x -> Info #

Generic ModuleInfo 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ModuleInfo :: Type -> Type #

Generic Fixity 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Fixity :: Type -> Type #

Methods

from :: Fixity -> Rep Fixity x #

to :: Rep Fixity x -> Fixity #

Generic FixityDirection 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FixityDirection :: Type -> Type #

Generic Lit 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Lit :: Type -> Type #

Methods

from :: Lit -> Rep Lit x #

to :: Rep Lit x -> Lit #

Generic Body 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Body :: Type -> Type #

Methods

from :: Body -> Rep Body x #

to :: Rep Body x -> Body #

Generic Guard 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Guard :: Type -> Type #

Methods

from :: Guard -> Rep Guard x #

to :: Rep Guard x -> Guard #

Generic Stmt 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Stmt :: Type -> Type #

Methods

from :: Stmt -> Rep Stmt x #

to :: Rep Stmt x -> Stmt #

Generic Range 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Range :: Type -> Type #

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

Generic DerivClause 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DerivClause :: Type -> Type #

Generic DerivStrategy 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DerivStrategy :: Type -> Type #

Generic TypeFamilyHead 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TypeFamilyHead :: Type -> Type #

Generic TySynEqn 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TySynEqn :: Type -> Type #

Methods

from :: TySynEqn -> Rep TySynEqn x #

to :: Rep TySynEqn x -> TySynEqn #

Generic Foreign 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Foreign :: Type -> Type #

Methods

from :: Foreign -> Rep Foreign x #

to :: Rep Foreign x -> Foreign #

Generic Callconv 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Callconv :: Type -> Type #

Methods

from :: Callconv -> Rep Callconv x #

to :: Rep Callconv x -> Callconv #

Generic Safety 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Safety :: Type -> Type #

Methods

from :: Safety -> Rep Safety x #

to :: Rep Safety x -> Safety #

Generic Pragma 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Pragma :: Type -> Type #

Methods

from :: Pragma -> Rep Pragma x #

to :: Rep Pragma x -> Pragma #

Generic Inline 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Inline :: Type -> Type #

Methods

from :: Inline -> Rep Inline x #

to :: Rep Inline x -> Inline #

Generic RuleMatch 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep RuleMatch :: Type -> Type #

Generic Phases 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Phases :: Type -> Type #

Methods

from :: Phases -> Rep Phases x #

to :: Rep Phases x -> Phases #

Generic RuleBndr 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep RuleBndr :: Type -> Type #

Methods

from :: RuleBndr -> Rep RuleBndr x #

to :: Rep RuleBndr x -> RuleBndr #

Generic AnnTarget 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep AnnTarget :: Type -> Type #

Generic SourceUnpackedness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep SourceUnpackedness :: Type -> Type #

Generic SourceStrictness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep SourceStrictness :: Type -> Type #

Generic DecidedStrictness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DecidedStrictness :: Type -> Type #

Generic Bang 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Bang :: Type -> Type #

Methods

from :: Bang -> Rep Bang x #

to :: Rep Bang x -> Bang #

Generic PatSynDir 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PatSynDir :: Type -> Type #

Generic PatSynArgs 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PatSynArgs :: Type -> Type #

Generic TyVarBndr 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TyVarBndr :: Type -> Type #

Generic FamilyResultSig 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FamilyResultSig :: Type -> Type #

Generic TyLit 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TyLit :: Type -> Type #

Methods

from :: TyLit -> Rep TyLit x #

to :: Rep TyLit x -> TyLit #

Generic Role 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep Role :: Type -> Type #

Methods

from :: Role -> Rep Role x #

to :: Rep Role x -> Role #

Generic AnnLookup 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep AnnLookup :: Type -> Type #

Generic DatatypeInfo 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep DatatypeInfo :: Type -> Type #

Generic DatatypeVariant 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep DatatypeVariant :: Type -> Type #

Generic ConstructorInfo 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep ConstructorInfo :: Type -> Type #

Generic ConstructorVariant 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep ConstructorVariant :: Type -> Type #

Generic FieldStrictness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep FieldStrictness :: Type -> Type #

Generic Unpackedness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep Unpackedness :: Type -> Type #

Generic Strictness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep Strictness :: Type -> Type #

Generic Format 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep Format :: Type -> Type #

Methods

from :: Format -> Rep Format x #

to :: Rep Format x -> Format #

Generic Method 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

Generic CompressionLevel 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep CompressionLevel :: Type -> Type #

Generic WindowBits 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep WindowBits :: Type -> Type #

Generic MemoryLevel 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep MemoryLevel :: Type -> Type #

Generic CompressionStrategy 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep CompressionStrategy :: Type -> Type #

Generic NewtonParam 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep NewtonParam :: Type -> Type #

Methods

from :: NewtonParam -> Rep NewtonParam x #

to :: Rep NewtonParam x -> NewtonParam #

Generic NewtonStep 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep NewtonStep :: Type -> Type #

Methods

from :: NewtonStep -> Rep NewtonStep x #

to :: Rep NewtonStep x -> NewtonStep #

Generic RiddersParam 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep RiddersParam :: Type -> Type #

Methods

from :: RiddersParam -> Rep RiddersParam x #

to :: Rep RiddersParam x -> RiddersParam #

Generic RiddersStep 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep RiddersStep :: Type -> Type #

Methods

from :: RiddersStep -> Rep RiddersStep x #

to :: Rep RiddersStep x -> RiddersStep #

Generic Tolerance 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep Tolerance :: Type -> Type #

Methods

from :: Tolerance -> Rep Tolerance x #

to :: Rep Tolerance x -> Tolerance #

Generic ConstVal # 
Instance details

Defined in Data.Expression.Const

Associated Types

type Rep ConstVal :: Type -> Type #

Methods

from :: ConstVal -> Rep ConstVal x #

to :: Rep ConstVal x -> ConstVal #

Generic OutputType 
Instance details

Defined in Diagrams.Backend.Cairo.Internal

Associated Types

type Rep OutputType :: Type -> Type #

Methods

from :: OutputType -> Rep OutputType x #

to :: Rep OutputType x -> OutputType #

Generic Points 
Instance details

Defined in Statistics.Sample.KernelDensity.Simple

Associated Types

type Rep Points :: Type -> Type #

Methods

from :: Points -> Rep Points x #

to :: Rep Points x -> Points #

Generic LinePass 
Instance details

Defined in Linear.Plucker

Associated Types

type Rep LinePass :: Type -> Type #

Methods

from :: LinePass -> Rep LinePass x #

to :: Rep LinePass x -> LinePass #

Generic [a] 
Instance details

Defined in GHC.Generics

Associated Types

type Rep [a] :: Type -> Type #

Methods

from :: [a] -> Rep [a] x #

to :: Rep [a] x -> [a] #

Generic (Maybe a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Maybe a) :: Type -> Type #

Methods

from :: Maybe a -> Rep (Maybe a) x #

to :: Rep (Maybe a) x -> Maybe a #

Generic (Par1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Par1 p) :: Type -> Type #

Methods

from :: Par1 p -> Rep (Par1 p) x #

to :: Rep (Par1 p) x -> Par1 p #

Generic (Only a) 
Instance details

Defined in Data.Tuple.Only

Associated Types

type Rep (Only a) :: Type -> Type #

Methods

from :: Only a -> Rep (Only a) x #

to :: Rep (Only a) x -> Only a #

Generic (Complex a) 
Instance details

Defined in Data.Complex

Associated Types

type Rep (Complex a) :: Type -> Type #

Methods

from :: Complex a -> Rep (Complex a) x #

to :: Rep (Complex a) x -> Complex a #

Generic (Min a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Min a) :: Type -> Type #

Methods

from :: Min a -> Rep (Min a) x #

to :: Rep (Min a) x -> Min a #

Generic (Max a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Max a) :: Type -> Type #

Methods

from :: Max a -> Rep (Max a) x #

to :: Rep (Max a) x -> Max a #

Generic (First a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (First a) :: Type -> Type #

Methods

from :: First a -> Rep (First a) x #

to :: Rep (First a) x -> First a #

Generic (Last a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Last a) :: Type -> Type #

Methods

from :: Last a -> Rep (Last a) x #

to :: Rep (Last a) x -> Last a #

Generic (WrappedMonoid m) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (WrappedMonoid m) :: Type -> Type #

Generic (Option a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Option a) :: Type -> Type #

Methods

from :: Option a -> Rep (Option a) x #

to :: Rep (Option a) x -> Option a #

Generic (ZipList a) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (ZipList a) :: Type -> Type #

Methods

from :: ZipList a -> Rep (ZipList a) x #

to :: Rep (ZipList a) x -> ZipList a #

Generic (Identity a) 
Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep (Identity a) :: Type -> Type #

Methods

from :: Identity a -> Rep (Identity a) x #

to :: Rep (Identity a) x -> Identity a #

Generic (First a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (First a) :: Type -> Type #

Methods

from :: First a -> Rep (First a) x #

to :: Rep (First a) x -> First a #

Generic (Last a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (Last a) :: Type -> Type #

Methods

from :: Last a -> Rep (Last a) x #

to :: Rep (Last a) x -> Last a #

Generic (Dual a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Dual a) :: Type -> Type #

Methods

from :: Dual a -> Rep (Dual a) x #

to :: Rep (Dual a) x -> Dual a #

Generic (Endo a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Endo a) :: Type -> Type #

Methods

from :: Endo a -> Rep (Endo a) x #

to :: Rep (Endo a) x -> Endo a #

Generic (Sum a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Sum a) :: Type -> Type #

Methods

from :: Sum a -> Rep (Sum a) x #

to :: Rep (Sum a) x -> Sum a #

Generic (Product a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Product a) :: Type -> Type #

Methods

from :: Product a -> Rep (Product a) x #

to :: Rep (Product a) x -> Product a #

Generic (Down a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Down a) :: Type -> Type #

Methods

from :: Down a -> Rep (Down a) x #

to :: Rep (Down a) x -> Down a #

Generic (NonEmpty a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (NonEmpty a) :: Type -> Type #

Methods

from :: NonEmpty a -> Rep (NonEmpty a) x #

to :: Rep (NonEmpty a) x -> NonEmpty a #

Generic (Tree a) 
Instance details

Defined in Data.Tree

Associated Types

type Rep (Tree a) :: Type -> Type #

Methods

from :: Tree a -> Rep (Tree a) x #

to :: Rep (Tree a) x -> Tree a #

Generic (FingerTree a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (FingerTree a) :: Type -> Type #

Methods

from :: FingerTree a -> Rep (FingerTree a) x #

to :: Rep (FingerTree a) x -> FingerTree a #

Generic (Digit a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Digit a) :: Type -> Type #

Methods

from :: Digit a -> Rep (Digit a) x #

to :: Rep (Digit a) x -> Digit a #

Generic (Node a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Node a) :: Type -> Type #

Methods

from :: Node a -> Rep (Node a) x #

to :: Rep (Node a) x -> Node a #

Generic (Elem a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Elem a) :: Type -> Type #

Methods

from :: Elem a -> Rep (Elem a) x #

to :: Rep (Elem a) x -> Elem a #

Generic (ViewL a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (ViewL a) :: Type -> Type #

Methods

from :: ViewL a -> Rep (ViewL a) x #

to :: Rep (ViewL a) x -> ViewL a #

Generic (ViewR a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (ViewR a) :: Type -> Type #

Methods

from :: ViewR a -> Rep (ViewR a) x #

to :: Rep (ViewR a) x -> ViewR a #

Generic a => Generic (Generically a) 
Instance details

Defined in Generic.Data.Internal.Generically

Associated Types

type Rep (Generically a) :: Type -> Type #

Methods

from :: Generically a -> Rep (Generically a) x #

to :: Rep (Generically a) x -> Generically a #

Generic a => Generic (FiniteEnumeration a) 
Instance details

Defined in Generic.Data.Internal.Generically

Associated Types

type Rep (FiniteEnumeration a) :: Type -> Type #

Generic (Interval a) 
Instance details

Defined in Numeric.Interval.Kaucher

Associated Types

type Rep (Interval a) :: Type -> Type #

Methods

from :: Interval a -> Rep (Interval a) x #

to :: Rep (Interval a) x -> Interval a #

Generic (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep (Doc a) :: Type -> Type #

Methods

from :: Doc a -> Rep (Doc a) x #

to :: Rep (Doc a) x -> Doc a #

Generic (Root a) 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep (Root a) :: Type -> Type #

Methods

from :: Root a -> Rep (Root a) x #

to :: Rep (Root a) x -> Root a #

Generic (Log a) 
Instance details

Defined in Numeric.Log

Associated Types

type Rep (Log a) :: Type -> Type #

Methods

from :: Log a -> Rep (Log a) x #

to :: Rep (Log a) x -> Log a #

Generic (V2 a) 
Instance details

Defined in Linear.V2

Associated Types

type Rep (V2 a) :: Type -> Type #

Methods

from :: V2 a -> Rep (V2 a) x #

to :: Rep (V2 a) x -> V2 a #

Generic (Located a) 
Instance details

Defined in Diagrams.Located

Associated Types

type Rep (Located a) :: Type -> Type #

Methods

from :: Located a -> Rep (Located a) x #

to :: Rep (Located a) x -> Located a #

Generic (V3 a) 
Instance details

Defined in Linear.V3

Associated Types

type Rep (V3 a) :: Type -> Type #

Methods

from :: V3 a -> Rep (V3 a) x #

to :: Rep (V3 a) x -> V3 a #

Generic (V1 a) 
Instance details

Defined in Linear.V1

Associated Types

type Rep (V1 a) :: Type -> Type #

Methods

from :: V1 a -> Rep (V1 a) x #

to :: Rep (V1 a) x -> V1 a #

Generic (Plucker a) 
Instance details

Defined in Linear.Plucker

Associated Types

type Rep (Plucker a) :: Type -> Type #

Methods

from :: Plucker a -> Rep (Plucker a) x #

to :: Rep (Plucker a) x -> Plucker a #

Generic (Quaternion a) 
Instance details

Defined in Linear.Quaternion

Associated Types

type Rep (Quaternion a) :: Type -> Type #

Methods

from :: Quaternion a -> Rep (Quaternion a) x #

to :: Rep (Quaternion a) x -> Quaternion a #

Generic (V0 a) 
Instance details

Defined in Linear.V0

Associated Types

type Rep (V0 a) :: Type -> Type #

Methods

from :: V0 a -> Rep (V0 a) x #

to :: Rep (V0 a) x -> V0 a #

Generic (V4 a) 
Instance details

Defined in Linear.V4

Associated Types

type Rep (V4 a) :: Type -> Type #

Methods

from :: V4 a -> Rep (V4 a) x #

to :: Rep (V4 a) x -> V4 a #

Generic (Digit a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (Digit a) :: Type -> Type #

Methods

from :: Digit a -> Rep (Digit a) x #

to :: Rep (Digit a) x -> Digit a #

Generic (Either a b) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Either a b) :: Type -> Type #

Methods

from :: Either a b -> Rep (Either a b) x #

to :: Rep (Either a b) x -> Either a b #

Generic (V1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (V1 p) :: Type -> Type #

Methods

from :: V1 p -> Rep (V1 p) x #

to :: Rep (V1 p) x -> V1 p #

Generic (U1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (U1 p) :: Type -> Type #

Methods

from :: U1 p -> Rep (U1 p) x #

to :: Rep (U1 p) x -> U1 p #

Generic (a, b) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b) :: Type -> Type #

Methods

from :: (a, b) -> Rep (a, b) x #

to :: Rep (a, b) x -> (a, b) #

Generic (Arg a b) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Arg a b) :: Type -> Type #

Methods

from :: Arg a b -> Rep (Arg a b) x #

to :: Rep (Arg a b) x -> Arg a b #

Generic (WrappedMonad m a) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (WrappedMonad m a) :: Type -> Type #

Methods

from :: WrappedMonad m a -> Rep (WrappedMonad m a) x #

to :: Rep (WrappedMonad m a) x -> WrappedMonad m a #

Generic (Proxy t) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Proxy t) :: Type -> Type #

Methods

from :: Proxy t -> Rep (Proxy t) x #

to :: Rep (Proxy t) x -> Proxy t #

Generic (ViewL s a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (ViewL s a) :: Type -> Type #

Methods

from :: ViewL s a -> Rep (ViewL s a) x #

to :: Rep (ViewL s a) x -> ViewL s a #

Generic (ViewR s a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (ViewR s a) :: Type -> Type #

Methods

from :: ViewR s a -> Rep (ViewR s a) x #

to :: Rep (ViewR s a) x -> ViewR s a #

Generic (FingerTree v a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (FingerTree v a) :: Type -> Type #

Methods

from :: FingerTree v a -> Rep (FingerTree v a) x #

to :: Rep (FingerTree v a) x -> FingerTree v a #

Generic (SearchResult v a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (SearchResult v a) :: Type -> Type #

Methods

from :: SearchResult v a -> Rep (SearchResult v a) x #

to :: Rep (SearchResult v a) x -> SearchResult v a #

Generic (f a) => Generic (Generically1 f a) 
Instance details

Defined in Generic.Data.Internal.Generically

Associated Types

type Rep (Generically1 f a) :: Type -> Type #

Methods

from :: Generically1 f a -> Rep (Generically1 f a) x #

to :: Rep (Generically1 f a) x -> Generically1 f a #

Generic (ListF a b) 
Instance details

Defined in Data.Functor.Foldable

Associated Types

type Rep (ListF a b) :: Type -> Type #

Methods

from :: ListF a b -> Rep (ListF a b) x #

to :: Rep (ListF a b) x -> ListF a b #

Generic (Cofree f a) 
Instance details

Defined in Control.Comonad.Cofree

Associated Types

type Rep (Cofree f a) :: Type -> Type #

Methods

from :: Cofree f a -> Rep (Cofree f a) x #

to :: Rep (Cofree f a) x -> Cofree f a #

Generic (Free f a) 
Instance details

Defined in Control.Monad.Free

Associated Types

type Rep (Free f a) :: Type -> Type #

Methods

from :: Free f a -> Rep (Free f a) x #

to :: Rep (Free f a) x -> Free f a #

Generic (NonEmptyF a b) 
Instance details

Defined in Data.Functor.Base

Associated Types

type Rep (NonEmptyF a b) :: Type -> Type #

Methods

from :: NonEmptyF a b -> Rep (NonEmptyF a b) x #

to :: Rep (NonEmptyF a b) x -> NonEmptyF a b #

Generic (SizeSpec v n) 
Instance details

Defined in Diagrams.Size

Associated Types

type Rep (SizeSpec v n) :: Type -> Type #

Methods

from :: SizeSpec v n -> Rep (SizeSpec v n) x #

to :: Rep (SizeSpec v n) x -> SizeSpec v n #

Generic (Point f a) 
Instance details

Defined in Linear.Affine

Associated Types

type Rep (Point f a) :: Type -> Type #

Methods

from :: Point f a -> Rep (Point f a) x #

to :: Rep (Point f a) x -> Point f a #

Generic (Path v n) 
Instance details

Defined in Diagrams.Path

Associated Types

type Rep (Path v n) :: Type -> Type #

Methods

from :: Path v n -> Rep (Path v n) x #

to :: Rep (Path v n) x -> Path v n #

Generic (Node v a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (Node v a) :: Type -> Type #

Methods

from :: Node v a -> Rep (Node v a) x #

to :: Rep (Node v a) x -> Node v a #

Generic (Rec1 f p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Rec1 f p) :: Type -> Type #

Methods

from :: Rec1 f p -> Rep (Rec1 f p) x #

to :: Rep (Rec1 f p) x -> Rec1 f p #

Generic (URec (Ptr ()) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec (Ptr ()) p) :: Type -> Type #

Methods

from :: URec (Ptr ()) p -> Rep (URec (Ptr ()) p) x #

to :: Rep (URec (Ptr ()) p) x -> URec (Ptr ()) p #

Generic (URec Char p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Char p) :: Type -> Type #

Methods

from :: URec Char p -> Rep (URec Char p) x #

to :: Rep (URec Char p) x -> URec Char p #

Generic (URec Double p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Double p) :: Type -> Type #

Methods

from :: URec Double p -> Rep (URec Double p) x #

to :: Rep (URec Double p) x -> URec Double p #

Generic (URec Float p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Float p) :: Type -> Type #

Methods

from :: URec Float p -> Rep (URec Float p) x #

to :: Rep (URec Float p) x -> URec Float p #

Generic (URec Int p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Int p) :: Type -> Type #

Methods

from :: URec Int p -> Rep (URec Int p) x #

to :: Rep (URec Int p) x -> URec Int p #

Generic (URec Word p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Word p) :: Type -> Type #

Methods

from :: URec Word p -> Rep (URec Word p) x #

to :: Rep (URec Word p) x -> URec Word p #

Generic (a, b, c) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c) :: Type -> Type #

Methods

from :: (a, b, c) -> Rep (a, b, c) x #

to :: Rep (a, b, c) x -> (a, b, c) #

Generic (WrappedArrow a b c) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (WrappedArrow a b c) :: Type -> Type #

Methods

from :: WrappedArrow a b c -> Rep (WrappedArrow a b c) x #

to :: Rep (WrappedArrow a b c) x -> WrappedArrow a b c #

Generic (Const a b) 
Instance details

Defined in Data.Functor.Const

Associated Types

type Rep (Const a b) :: Type -> Type #

Methods

from :: Const a b -> Rep (Const a b) x #

to :: Rep (Const a b) x -> Const a b #

Generic (Ap f a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (Ap f a) :: Type -> Type #

Methods

from :: Ap f a -> Rep (Ap f a) x #

to :: Rep (Ap f a) x -> Ap f a #

Generic (Alt f a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Alt f a) :: Type -> Type #

Methods

from :: Alt f a -> Rep (Alt f a) x #

to :: Rep (Alt f a) x -> Alt f a #

Generic (Join p a) 
Instance details

Defined in Data.Bifunctor.Join

Associated Types

type Rep (Join p a) :: Type -> Type #

Methods

from :: Join p a -> Rep (Join p a) x #

to :: Rep (Join p a) x -> Join p a #

Generic (Fix p a) 
Instance details

Defined in Data.Bifunctor.Fix

Associated Types

type Rep (Fix p a) :: Type -> Type #

Methods

from :: Fix p a -> Rep (Fix p a) x #

to :: Rep (Fix p a) x -> Fix p a #

Generic (Tagged s b) 
Instance details

Defined in Data.Tagged

Associated Types

type Rep (Tagged s b) :: Type -> Type #

Methods

from :: Tagged s b -> Rep (Tagged s b) x #

to :: Rep (Tagged s b) x -> Tagged s b #

Generic (CofreeF f a b) 
Instance details

Defined in Control.Comonad.Trans.Cofree

Associated Types

type Rep (CofreeF f a b) :: Type -> Type #

Methods

from :: CofreeF f a b -> Rep (CofreeF f a b) x #

to :: Rep (CofreeF f a b) x -> CofreeF f a b #

Generic (FreeF f a b) 
Instance details

Defined in Control.Monad.Trans.Free

Associated Types

type Rep (FreeF f a b) :: Type -> Type #

Methods

from :: FreeF f a b -> Rep (FreeF f a b) x #

to :: Rep (FreeF f a b) x -> FreeF f a b #

Generic (V n a) 
Instance details

Defined in Linear.V

Associated Types

type Rep (V n a) :: Type -> Type #

Methods

from :: V n a -> Rep (V n a) x #

to :: Rep (V n a) x -> V n a #

Generic (K1 i c p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (K1 i c p) :: Type -> Type #

Methods

from :: K1 i c p -> Rep (K1 i c p) x #

to :: Rep (K1 i c p) x -> K1 i c p #

Generic ((f :+: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :+: g) p) :: Type -> Type #

Methods

from :: (f :+: g) p -> Rep ((f :+: g) p) x #

to :: Rep ((f :+: g) p) x -> (f :+: g) p #

Generic ((f :*: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :*: g) p) :: Type -> Type #

Methods

from :: (f :*: g) p -> Rep ((f :*: g) p) x #

to :: Rep ((f :*: g) p) x -> (f :*: g) p #

Generic (a, b, c, d) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d) :: Type -> Type #

Methods

from :: (a, b, c, d) -> Rep (a, b, c, d) x #

to :: Rep (a, b, c, d) x -> (a, b, c, d) #

Generic (Product f g a) 
Instance details

Defined in Data.Functor.Product

Associated Types

type Rep (Product f g a) :: Type -> Type #

Methods

from :: Product f g a -> Rep (Product f g a) x #

to :: Rep (Product f g a) x -> Product f g a #

Generic (Sum f g a) 
Instance details

Defined in Data.Functor.Sum

Associated Types

type Rep (Sum f g a) :: Type -> Type #

Methods

from :: Sum f g a -> Rep (Sum f g a) x #

to :: Rep (Sum f g a) x -> Sum f g a #

Generic (M1 i c f p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (M1 i c f p) :: Type -> Type #

Methods

from :: M1 i c f p -> Rep (M1 i c f p) x #

to :: Rep (M1 i c f p) x -> M1 i c f p #

Generic ((f :.: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :.: g) p) :: Type -> Type #

Methods

from :: (f :.: g) p -> Rep ((f :.: g) p) x #

to :: Rep ((f :.: g) p) x -> (f :.: g) p #

Generic (a, b, c, d, e) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e) :: Type -> Type #

Methods

from :: (a, b, c, d, e) -> Rep (a, b, c, d, e) x #

to :: Rep (a, b, c, d, e) x -> (a, b, c, d, e) #

Generic (Compose f g a) 
Instance details

Defined in Data.Functor.Compose

Associated Types

type Rep (Compose f g a) :: Type -> Type #

Methods

from :: Compose f g a -> Rep (Compose f g a) x #

to :: Rep (Compose f g a) x -> Compose f g a #

Generic (WrappedBifunctor p a b) 
Instance details

Defined in Data.Bifunctor.Wrapped

Associated Types

type Rep (WrappedBifunctor p a b) :: Type -> Type #

Methods

from :: WrappedBifunctor p a b -> Rep (WrappedBifunctor p a b) x #

to :: Rep (WrappedBifunctor p a b) x -> WrappedBifunctor p a b #

Generic (Joker g a b) 
Instance details

Defined in Data.Bifunctor.Joker

Associated Types

type Rep (Joker g a b) :: Type -> Type #

Methods

from :: Joker g a b -> Rep (Joker g a b) x #

to :: Rep (Joker g a b) x -> Joker g a b #

Generic (Flip p a b) 
Instance details

Defined in Data.Bifunctor.Flip

Associated Types

type Rep (Flip p a b) :: Type -> Type #

Methods

from :: Flip p a b -> Rep (Flip p a b) x #

to :: Rep (Flip p a b) x -> Flip p a b #

Generic (Clown f a b) 
Instance details

Defined in Data.Bifunctor.Clown

Associated Types

type Rep (Clown f a b) :: Type -> Type #

Methods

from :: Clown f a b -> Rep (Clown f a b) x #

to :: Rep (Clown f a b) x -> Clown f a b #

Generic (a, b, c, d, e, f) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f) :: Type -> Type #

Methods

from :: (a, b, c, d, e, f) -> Rep (a, b, c, d, e, f) x #

to :: Rep (a, b, c, d, e, f) x -> (a, b, c, d, e, f) #

Generic (Sum p q a b) 
Instance details

Defined in Data.Bifunctor.Sum

Associated Types

type Rep (Sum p q a b) :: Type -> Type #

Methods

from :: Sum p q a b -> Rep (Sum p q a b) x #

to :: Rep (Sum p q a b) x -> Sum p q a b #

Generic (Product f g a b) 
Instance details

Defined in Data.Bifunctor.Product

Associated Types

type Rep (Product f g a b) :: Type -> Type #

Methods

from :: Product f g a b -> Rep (Product f g a b) x #

to :: Rep (Product f g a b) x -> Product f g a b #

Generic (a, b, c, d, e, f, g) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g) :: Type -> Type #

Methods

from :: (a, b, c, d, e, f, g) -> Rep (a, b, c, d, e, f, g) x #

to :: Rep (a, b, c, d, e, f, g) x -> (a, b, c, d, e, f, g) #

Generic (Tannen f p a b) 
Instance details

Defined in Data.Bifunctor.Tannen

Associated Types

type Rep (Tannen f p a b) :: Type -> Type #

Methods

from :: Tannen f p a b -> Rep (Tannen f p a b) x #

to :: Rep (Tannen f p a b) x -> Tannen f p a b #

Generic (Biff p f g a b) 
Instance details

Defined in Data.Bifunctor.Biff

Associated Types

type Rep (Biff p f g a b) :: Type -> Type #

Methods

from :: Biff p f g a b -> Rep (Biff p f g a b) x #

to :: Rep (Biff p f g a b) x -> Biff p f g a b #

class Generic1 (f :: k -> Type) #

Representable types of kind * -> * (or kind k -> *, when PolyKinds is enabled). This class is derivable in GHC with the DeriveGeneric flag on.

A Generic1 instance must satisfy the following laws:

from1 . to1id
to1 . from1id

Minimal complete definition

from1, to1

Instances
Generic1 (V1 :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 V1 :: k -> Type #

Methods

from1 :: V1 a -> Rep1 V1 a #

to1 :: Rep1 V1 a -> V1 a #

Generic1 (U1 :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 U1 :: k -> Type #

Methods

from1 :: U1 a -> Rep1 U1 a #

to1 :: Rep1 U1 a -> U1 a #

Generic1 (Proxy :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 Proxy :: k -> Type #

Methods

from1 :: Proxy a -> Rep1 Proxy a #

to1 :: Rep1 Proxy a -> Proxy a #

Generic1 (Alt f :: k -> Type) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep1 (Alt f) :: k -> Type #

Methods

from1 :: Alt f a -> Rep1 (Alt f) a #

to1 :: Rep1 (Alt f) a -> Alt f a #

Generic1 (Ap f :: k -> Type) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep1 (Ap f) :: k -> Type #

Methods

from1 :: Ap f a -> Rep1 (Ap f) a #

to1 :: Rep1 (Ap f) a -> Ap f a #

Generic1 (Const a :: k -> Type) 
Instance details

Defined in Data.Functor.Const

Associated Types

type Rep1 (Const a) :: k -> Type #

Methods

from1 :: Const a a0 -> Rep1 (Const a) a0 #

to1 :: Rep1 (Const a) a0 -> Const a a0 #

Generic1 (URec (Ptr ()) :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (URec (Ptr ())) :: k -> Type #

Methods

from1 :: URec (Ptr ()) a -> Rep1 (URec (Ptr ())) a #

to1 :: Rep1 (URec (Ptr ())) a -> URec (Ptr ()) a #

Generic1 (URec Char :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (URec Char) :: k -> Type #

Methods

from1 :: URec Char a -> Rep1 (URec Char) a #

to1 :: Rep1 (URec Char) a -> URec Char a #

Generic1 (URec Double :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (URec Double) :: k -> Type #

Methods

from1 :: URec Double a -> Rep1 (URec Double) a #

to1 :: Rep1 (URec Double) a -> URec Double a #

Generic1 (URec Float :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (URec Float) :: k -> Type #

Methods

from1 :: URec Float a -> Rep1 (URec Float) a #

to1 :: Rep1 (URec Float) a -> URec Float a #

Generic1 (URec Int :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (URec Int) :: k -> Type #

Methods

from1 :: URec Int a -> Rep1 (URec Int) a #

to1 :: Rep1 (URec Int) a -> URec Int a #

Generic1 (URec Word :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (URec Word) :: k -> Type #

Methods

from1 :: URec Word a -> Rep1 (URec Word) a #

to1 :: Rep1 (URec Word) a -> URec Word a #

Generic1 (Rec1 f :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (Rec1 f) :: k -> Type #

Methods

from1 :: Rec1 f a -> Rep1 (Rec1 f) a #

to1 :: Rep1 (Rec1 f) a -> Rec1 f a #

Generic1 (Sum f g :: k -> Type) 
Instance details

Defined in Data.Functor.Sum

Associated Types

type Rep1 (Sum f g) :: k -> Type #

Methods

from1 :: Sum f g a -> Rep1 (Sum f g) a #

to1 :: Rep1 (Sum f g) a -> Sum f g a #

Generic1 (Product f g :: k -> Type) 
Instance details

Defined in Data.Functor.Product

Associated Types

type Rep1 (Product f g) :: k -> Type #

Methods

from1 :: Product f g a -> Rep1 (Product f g) a #

to1 :: Rep1 (Product f g) a -> Product f g a #

Generic1 (K1 i c :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (K1 i c) :: k -> Type #

Methods

from1 :: K1 i c a -> Rep1 (K1 i c) a #

to1 :: Rep1 (K1 i c) a -> K1 i c a #

Generic1 (f :+: g :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (f :+: g) :: k -> Type #

Methods

from1 :: (f :+: g) a -> Rep1 (f :+: g) a #

to1 :: Rep1 (f :+: g) a -> (f :+: g) a #

Generic1 (f :*: g :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (f :*: g) :: k -> Type #

Methods

from1 :: (f :*: g) a -> Rep1 (f :*: g) a #

to1 :: Rep1 (f :*: g) a -> (f :*: g) a #

Generic1 (WrappedBifunctor p a :: k1 -> Type) 
Instance details

Defined in Data.Bifunctor.Wrapped

Associated Types

type Rep1 (WrappedBifunctor p a) :: k -> Type #

Methods

from1 :: WrappedBifunctor p a a0 -> Rep1 (WrappedBifunctor p a) a0 #

to1 :: Rep1 (WrappedBifunctor p a) a0 -> WrappedBifunctor p a a0 #

Generic1 (Joker g a :: k1 -> Type) 
Instance details

Defined in Data.Bifunctor.Joker

Associated Types

type Rep1 (Joker g a) :: k -> Type #

Methods

from1 :: Joker g a a0 -> Rep1 (Joker g a) a0 #

to1 :: Rep1 (Joker g a) a0 -> Joker g a a0 #

Generic1 (Clown f a :: k1 -> Type) 
Instance details

Defined in Data.Bifunctor.Clown

Associated Types

type Rep1 (Clown f a) :: k -> Type #

Methods

from1 :: Clown f a a0 -> Rep1 (Clown f a) a0 #

to1 :: Rep1 (Clown f a) a0 -> Clown f a a0 #

Functor f => Generic1 (Compose f g :: k -> Type) 
Instance details

Defined in Data.Functor.Compose

Associated Types

type Rep1 (Compose f g) :: k -> Type #

Methods

from1 :: Compose f g a -> Rep1 (Compose f g) a #

to1 :: Rep1 (Compose f g) a -> Compose f g a #

Generic1 (M1 i c f :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (M1 i c f) :: k -> Type #

Methods

from1 :: M1 i c f a -> Rep1 (M1 i c f) a #

to1 :: Rep1 (M1 i c f) a -> M1 i c f a #

Functor f => Generic1 (f :.: g :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (f :.: g) :: k -> Type #

Methods

from1 :: (f :.: g) a -> Rep1 (f :.: g) a #

to1 :: Rep1 (f :.: g) a -> (f :.: g) a #

Generic1 (Sum p q a :: k1 -> Type) 
Instance details

Defined in Data.Bifunctor.Sum

Associated Types

type Rep1 (Sum p q a) :: k -> Type #

Methods

from1 :: Sum p q a a0 -> Rep1 (Sum p q a) a0 #

to1 :: Rep1 (Sum p q a) a0 -> Sum p q a a0 #

Generic1 (Product f g a :: k1 -> Type) 
Instance details

Defined in Data.Bifunctor.Product

Associated Types

type Rep1 (Product f g a) :: k -> Type #

Methods

from1 :: Product f g a a0 -> Rep1 (Product f g a) a0 #

to1 :: Rep1 (Product f g a) a0 -> Product f g a a0 #

Functor f => Generic1 (Tannen f p a :: k2 -> Type) 
Instance details

Defined in Data.Bifunctor.Tannen

Associated Types

type Rep1 (Tannen f p a) :: k -> Type #

Methods

from1 :: Tannen f p a a0 -> Rep1 (Tannen f p a) a0 #

to1 :: Rep1 (Tannen f p a) a0 -> Tannen f p a a0 #

Functor (p (f a)) => Generic1 (Biff p f g a :: k1 -> Type) 
Instance details

Defined in Data.Bifunctor.Biff

Associated Types

type Rep1 (Biff p f g a) :: k -> Type #

Methods

from1 :: Biff p f g a a0 -> Rep1 (Biff p f g a) a0 #

to1 :: Rep1 (Biff p f g a) a0 -> Biff p f g a a0 #

Generic1 [] 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 [] :: k -> Type #

Methods

from1 :: [a] -> Rep1 [] a #

to1 :: Rep1 [] a -> [a] #

Generic1 Maybe 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 Maybe :: k -> Type #

Methods

from1 :: Maybe a -> Rep1 Maybe a #

to1 :: Rep1 Maybe a -> Maybe a #

Generic1 Par1 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 Par1 :: k -> Type #

Methods

from1 :: Par1 a -> Rep1 Par1 a #

to1 :: Rep1 Par1 a -> Par1 a #

Generic1 Complex 
Instance details

Defined in Data.Complex

Associated Types

type Rep1 Complex :: k -> Type #

Methods

from1 :: Complex a -> Rep1 Complex a #

to1 :: Rep1 Complex a -> Complex a #

Generic1 Min 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep1 Min :: k -> Type #

Methods

from1 :: Min a -> Rep1 Min a #

to1 :: Rep1 Min a -> Min a #

Generic1 Max 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep1 Max :: k -> Type #

Methods

from1 :: Max a -> Rep1 Max a #

to1 :: Rep1 Max a -> Max a #

Generic1 First 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep1 First :: k -> Type #

Methods

from1 :: First a -> Rep1 First a #

to1 :: Rep1 First a -> First a #

Generic1 Last 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep1 Last :: k -> Type #

Methods

from1 :: Last a -> Rep1 Last a #

to1 :: Rep1 Last a -> Last a #

Generic1 WrappedMonoid 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep1 WrappedMonoid :: k -> Type #

Generic1 Option 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep1 Option :: k -> Type #

Methods

from1 :: Option a -> Rep1 Option a #

to1 :: Rep1 Option a -> Option a #

Generic1 ZipList 
Instance details

Defined in Control.Applicative

Associated Types

type Rep1 ZipList :: k -> Type #

Methods

from1 :: ZipList a -> Rep1 ZipList a #

to1 :: Rep1 ZipList a -> ZipList a #

Generic1 Identity 
Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep1 Identity :: k -> Type #

Methods

from1 :: Identity a -> Rep1 Identity a #

to1 :: Rep1 Identity a -> Identity a #

Generic1 First 
Instance details

Defined in Data.Monoid

Associated Types

type Rep1 First :: k -> Type #

Methods

from1 :: First a -> Rep1 First a #

to1 :: Rep1 First a -> First a #

Generic1 Last 
Instance details

Defined in Data.Monoid

Associated Types

type Rep1 Last :: k -> Type #

Methods

from1 :: Last a -> Rep1 Last a #

to1 :: Rep1 Last a -> Last a #

Generic1 Dual 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep1 Dual :: k -> Type #

Methods

from1 :: Dual a -> Rep1 Dual a #

to1 :: Rep1 Dual a -> Dual a #

Generic1 Sum 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep1 Sum :: k -> Type #

Methods

from1 :: Sum a -> Rep1 Sum a #

to1 :: Rep1 Sum a -> Sum a #

Generic1 Product 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep1 Product :: k -> Type #

Methods

from1 :: Product a -> Rep1 Product a #

to1 :: Rep1 Product a -> Product a #

Generic1 Down 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 Down :: k -> Type #

Methods

from1 :: Down a -> Rep1 Down a #

to1 :: Rep1 Down a -> Down a #

Generic1 NonEmpty 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 NonEmpty :: k -> Type #

Methods

from1 :: NonEmpty a -> Rep1 NonEmpty a #

to1 :: Rep1 NonEmpty a -> NonEmpty a #

Generic1 Tree 
Instance details

Defined in Data.Tree

Associated Types

type Rep1 Tree :: k -> Type #

Methods

from1 :: Tree a -> Rep1 Tree a #

to1 :: Rep1 Tree a -> Tree a #

Generic1 FingerTree 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep1 FingerTree :: k -> Type #

Generic1 Digit 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep1 Digit :: k -> Type #

Methods

from1 :: Digit a -> Rep1 Digit a #

to1 :: Rep1 Digit a -> Digit a #

Generic1 Node 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep1 Node :: k -> Type #

Methods

from1 :: Node a -> Rep1 Node a #

to1 :: Rep1 Node a -> Node a #

Generic1 Elem 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep1 Elem :: k -> Type #

Methods

from1 :: Elem a -> Rep1 Elem a #

to1 :: Rep1 Elem a -> Elem a #

Generic1 ViewL 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep1 ViewL :: k -> Type #

Methods

from1 :: ViewL a -> Rep1 ViewL a #

to1 :: Rep1 ViewL a -> ViewL a #

Generic1 ViewR 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep1 ViewR :: k -> Type #

Methods

from1 :: ViewR a -> Rep1 ViewR a #

to1 :: Rep1 ViewR a -> ViewR a #

Generic1 Interval 
Instance details

Defined in Numeric.Interval.Kaucher

Associated Types

type Rep1 Interval :: k -> Type #

Methods

from1 :: Interval a -> Rep1 Interval a #

to1 :: Rep1 Interval a -> Interval a #

Generic1 V2 
Instance details

Defined in Linear.V2

Associated Types

type Rep1 V2 :: k -> Type #

Methods

from1 :: V2 a -> Rep1 V2 a #

to1 :: Rep1 V2 a -> V2 a #

Generic1 Polar 
Instance details

Defined in Diagrams.Coordinates.Polar

Associated Types

type Rep1 Polar :: k -> Type #

Methods

from1 :: Polar a -> Rep1 Polar a #

to1 :: Rep1 Polar a -> Polar a #

Generic1 V3 
Instance details

Defined in Linear.V3

Associated Types

type Rep1 V3 :: k -> Type #

Methods

from1 :: V3 a -> Rep1 V3 a #

to1 :: Rep1 V3 a -> V3 a #

Generic1 V1 
Instance details

Defined in Linear.V1

Associated Types

type Rep1 V1 :: k -> Type #

Methods

from1 :: V1 a -> Rep1 V1 a #

to1 :: Rep1 V1 a -> V1 a #

Generic1 Plucker 
Instance details

Defined in Linear.Plucker

Associated Types

type Rep1 Plucker :: k -> Type #

Methods

from1 :: Plucker a -> Rep1 Plucker a #

to1 :: Rep1 Plucker a -> Plucker a #

Generic1 Quaternion 
Instance details

Defined in Linear.Quaternion

Associated Types

type Rep1 Quaternion :: k -> Type #

Methods

from1 :: Quaternion a -> Rep1 Quaternion a #

to1 :: Rep1 Quaternion a -> Quaternion a #

Generic1 V0 
Instance details

Defined in Linear.V0

Associated Types

type Rep1 V0 :: k -> Type #

Methods

from1 :: V0 a -> Rep1 V0 a #

to1 :: Rep1 V0 a -> V0 a #

Generic1 V4 
Instance details

Defined in Linear.V4

Associated Types

type Rep1 V4 :: k -> Type #

Methods

from1 :: V4 a -> Rep1 V4 a #

to1 :: Rep1 V4 a -> V4 a #

Generic1 (Either a :: Type -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (Either a) :: k -> Type #

Methods

from1 :: Either a a0 -> Rep1 (Either a) a0 #

to1 :: Rep1 (Either a) a0 -> Either a a0 #

Generic1 ((,) a :: Type -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ((,) a) :: k -> Type #

Methods

from1 :: (a, a0) -> Rep1 ((,) a) a0 #

to1 :: Rep1 ((,) a) a0 -> (a, a0) #

Generic1 (Arg a :: Type -> Type) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep1 (Arg a) :: k -> Type #

Methods

from1 :: Arg a a0 -> Rep1 (Arg a) a0 #

to1 :: Rep1 (Arg a) a0 -> Arg a a0 #

Generic1 (WrappedMonad m :: Type -> Type) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep1 (WrappedMonad m) :: k -> Type #

Methods

from1 :: WrappedMonad m a -> Rep1 (WrappedMonad m) a #

to1 :: Rep1 (WrappedMonad m) a -> WrappedMonad m a #

Generic1 f => Generic1 (Generically1 f :: Type -> Type) 
Instance details

Defined in Generic.Data.Internal.Generically

Associated Types

type Rep1 (Generically1 f) :: k -> Type #

Methods

from1 :: Generically1 f a -> Rep1 (Generically1 f) a #

to1 :: Rep1 (Generically1 f) a -> Generically1 f a #

Generic1 (ListF a :: Type -> Type) 
Instance details

Defined in Data.Functor.Foldable

Associated Types

type Rep1 (ListF a) :: k -> Type #

Methods

from1 :: ListF a a0 -> Rep1 (ListF a) a0 #

to1 :: Rep1 (ListF a) a0 -> ListF a a0 #

Functor f => Generic1 (Cofree f :: Type -> Type) 
Instance details

Defined in Control.Comonad.Cofree

Associated Types

type Rep1 (Cofree f) :: k -> Type #

Methods

from1 :: Cofree f a -> Rep1 (Cofree f) a #

to1 :: Rep1 (Cofree f) a -> Cofree f a #

Functor f => Generic1 (Free f :: Type -> Type) 
Instance details

Defined in Control.Monad.Free

Associated Types

type Rep1 (Free f) :: k -> Type #

Methods

from1 :: Free f a -> Rep1 (Free f) a #

to1 :: Rep1 (Free f) a -> Free f a #

Generic1 (NonEmptyF a :: Type -> Type) 
Instance details

Defined in Data.Functor.Base

Associated Types

type Rep1 (NonEmptyF a) :: k -> Type #

Methods

from1 :: NonEmptyF a a0 -> Rep1 (NonEmptyF a) a0 #

to1 :: Rep1 (NonEmptyF a) a0 -> NonEmptyF a a0 #

Generic1 (Point f :: Type -> Type) 
Instance details

Defined in Linear.Affine

Associated Types

type Rep1 (Point f) :: k -> Type #

Methods

from1 :: Point f a -> Rep1 (Point f) a #

to1 :: Rep1 (Point f) a -> Point f a #

Generic1 ((,,) a b :: Type -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ((,,) a b) :: k -> Type #

Methods

from1 :: (a, b, a0) -> Rep1 ((,,) a b) a0 #

to1 :: Rep1 ((,,) a b) a0 -> (a, b, a0) #

Generic1 (WrappedArrow a b :: Type -> Type) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep1 (WrappedArrow a b) :: k -> Type #

Methods

from1 :: WrappedArrow a b a0 -> Rep1 (WrappedArrow a b) a0 #

to1 :: Rep1 (WrappedArrow a b) a0 -> WrappedArrow a b a0 #

Generic1 (Tagged s :: Type -> Type) 
Instance details

Defined in Data.Tagged

Associated Types

type Rep1 (Tagged s) :: k -> Type #

Methods

from1 :: Tagged s a -> Rep1 (Tagged s) a #

to1 :: Rep1 (Tagged s) a -> Tagged s a #

Generic1 (CofreeF f a :: Type -> Type) 
Instance details

Defined in Control.Comonad.Trans.Cofree

Associated Types

type Rep1 (CofreeF f a) :: k -> Type #

Methods

from1 :: CofreeF f a a0 -> Rep1 (CofreeF f a) a0 #

to1 :: Rep1 (CofreeF f a) a0 -> CofreeF f a a0 #

Generic1 (FreeF f a :: Type -> Type) 
Instance details

Defined in Control.Monad.Trans.Free

Associated Types

type Rep1 (FreeF f a) :: k -> Type #

Methods

from1 :: FreeF f a a0 -> Rep1 (FreeF f a) a0 #

to1 :: Rep1 (FreeF f a) a0 -> FreeF f a a0 #

Generic1 (V n :: Type -> Type) 
Instance details

Defined in Linear.V

Associated Types

type Rep1 (V n) :: k -> Type #

Methods

from1 :: V n a -> Rep1 (V n) a #

to1 :: Rep1 (V n) a -> V n a #

Generic1 ((,,,) a b c :: Type -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ((,,,) a b c) :: k -> Type #

Methods

from1 :: (a, b, c, a0) -> Rep1 ((,,,) a b c) a0 #

to1 :: Rep1 ((,,,) a b c) a0 -> (a, b, c, a0) #

Generic1 ((,,,,) a b c d :: Type -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ((,,,,) a b c d) :: k -> Type #

Methods

from1 :: (a, b, c, d, a0) -> Rep1 ((,,,,) a b c d) a0 #

to1 :: Rep1 ((,,,,) a b c d) a0 -> (a, b, c, d, a0) #

Generic1 ((,,,,,) a b c d e :: Type -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ((,,,,,) a b c d e) :: k -> Type #

Methods

from1 :: (a, b, c, d, e, a0) -> Rep1 ((,,,,,) a b c d e) a0 #

to1 :: Rep1 ((,,,,,) a b c d e) a0 -> (a, b, c, d, e, a0) #

Generic1 ((,,,,,,) a b c d e f :: Type -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 ((,,,,,,) a b c d e f) :: k -> Type #

Methods

from1 :: (a, b, c, d, e, f, a0) -> Rep1 ((,,,,,,) a b c d e f) a0 #

to1 :: Rep1 ((,,,,,,) a b c d e f) a0 -> (a, b, c, d, e, f, a0) #