DeepDarkFantasy-0.2017.4.9: A DSL for creating neural network.

Safe HaskellSafe
LanguageHaskell2010

DDF.Meta.Dual

Documentation

newtype Dual l r Source #

Constructors

Dual 

Fields

Instances

Ord l => Ord (Dual l r) Source # 

Methods

diffOrd :: Proxy * (v, Dual l r) -> Dict (Ord (Diff v (Dual l r))) Source #

type Diff v (Dual l r) Source # 
type Diff v (Dual l r) = Dual (Diff v l) (Diff v r)

dualOrig :: Dual t1 t -> t1 Source #

dualDiff :: Dual t t1 -> t1 Source #

mkDual :: l -> r -> Dual l r Source #