DeepDarkFantasy-0.2017.8.9: 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 :: Eval h (Maybe a) Source #
just :: Eval h (a -> Maybe a) Source #
optionMatch :: Eval h (b -> (a -> b) -> Maybe a -> b) Source #
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 :: Term c h (Maybe a) Source #
just :: Term c h (a -> Maybe a) Source #
optionMatch :: Term c h (b -> (a -> b) -> Maybe a -> b) Source #
nothing :: UnHOAS r h (Maybe a) Source #
just :: UnHOAS r h (a -> Maybe a) Source #
optionMatch :: UnHOAS r 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 #
nothing :: ImpW r h (Maybe a) Source #
just :: ImpW r h (a -> Maybe a) Source #
optionMatch :: ImpW r h (b -> (a -> b) -> Maybe a -> b) Source #
just1 :: Option r => r h a -> r h (Maybe a) Source #
module DDF.DBI