DeepDarkFantasy-0.2017.4.9: A DSL for creating neural network.

Safe HaskellSafe
LanguageHaskell2010

DDF.Util

Contents

Documentation

vars :: [[Char]] Source #

class RandRange w where Source #

Minimal complete definition

randRange

Methods

randRange :: (Double, Double) -> (w, w) Source #

Instances

RandRange Double Source # 
RandRange Float Source # 
RandRange () Source # 

Methods

randRange :: (Double, Double) -> ((), ()) Source #

ProdCon RandRange l r Source # 

Methods

prodCon :: (RandRange l, RandRange r) :- RandRange (l, r) Source #

(RandRange l, RandRange r) => RandRange (l, r) Source # 

Methods

randRange :: (Double, Double) -> ((l, r), (l, r)) Source #

Orphan instances

Random () Source # 

Methods

randomR :: RandomGen g => ((), ()) -> g -> ((), g) #

random :: RandomGen g => g -> ((), g) #

randomRs :: RandomGen g => ((), ()) -> g -> [()] #

randoms :: RandomGen g => g -> [()] #

randomRIO :: ((), ()) -> IO () #

randomIO :: IO () #

(Random l, Random r) => Random (l, r) Source # 

Methods

randomR :: RandomGen g => ((l, r), (l, r)) -> g -> ((l, r), g) #

random :: RandomGen g => g -> ((l, r), g) #

randomRs :: RandomGen g => ((l, r), (l, r)) -> g -> [(l, r)] #

randoms :: RandomGen g => g -> [(l, r)] #

randomRIO :: ((l, r), (l, r)) -> IO (l, r) #

randomIO :: IO (l, r) #