DeepDarkFantasy-0.2017.8.4: A DSL for creating neural network.

DDF.Option

class DBI r => Option r where Source #

Minimal complete definition

nothing, just, optionMatch

Methods

nothing :: r h (Maybe a) Source #

just :: r h (a -> Maybe a) Source #

optionMatch :: r h (b -> (a -> b) -> Maybe a -> b) Source #

Instances

nothing :: Show h (Maybe a) Source #

just :: Show h (a -> Maybe a) Source #

optionMatch :: Show h (b -> (a -> b) -> Maybe a -> b) Source #

nothing :: Size h (Maybe a) Source #

just :: Size h (a -> Maybe a) Source #

optionMatch :: Size h (b -> (a -> b) -> Maybe a -> b) Source #

nothing :: UInt h (Maybe a) Source #

just :: UInt h (a -> Maybe a) Source #

optionMatch :: UInt h (b -> (a -> b) -> Maybe a -> b) Source #

nothing :: UnLiftEnv r h (Maybe a) Source #

just :: UnLiftEnv r h (a -> Maybe a) Source #

optionMatch :: UnLiftEnv r h (b -> (a -> b) -> Maybe a -> b) Source #

just1 :: Option r => r h a -> r h (Maybe a) Source #

module DDF.DBI