DeepDarkFantasy-0.2017.8.4: A DSL for creating neural network.
DDF.Show
data AST Source #
Constructors
Instances
Methods
showsPrec :: Int -> AST -> ShowS #
show :: AST -> String #
showList :: [AST] -> ShowS #
appAST :: AST -> AST -> AST Source #
lamAST :: String -> AST -> AST Source #
newtype Show h a Source #
Fields
z :: Show (a, h) a Source #
s :: Show h b -> Show (a, h) b Source #
abs :: Show (a, h) b -> Show h (a -> b) Source #
app :: Show h (a -> b) -> Show h a -> Show h b Source #
hoas :: (Show (a, h) a -> Show (a, h) b) -> Show h (a -> b) Source #
com :: Show h ((b -> c) -> (a -> b) -> a -> c) Source #
flip :: Show h ((a -> b -> c) -> b -> a -> c) Source #
id :: Show h (a -> a) Source #
const :: Show h (a -> b -> a) Source #
scomb :: Show h ((a -> b -> c) -> (a -> b) -> a -> c) Source #
dup :: Show h ((a -> a -> b) -> a -> b) Source #
let_ :: Show h (a -> (a -> b) -> b) Source #
fix :: Show h (f (Fix f) -> Fix f) Source #
runFix :: Show h (Fix f -> f (Fix f)) Source #
float :: Float -> Show h Float Source #
floatZero :: Show h Float Source #
floatOne :: Show h Float Source #
floatPlus :: Show h (Float -> Float -> Float) Source #
floatMinus :: Show h (Float -> Float -> Float) Source #
floatMult :: Show h (Float -> Float -> Float) Source #
floatDivide :: Show h (Float -> Float -> Float) Source #
floatExp :: Show h (Float -> Float) Source #
freeVector :: Show h ((b -> d) -> FreeVector b d) Source #
runFreeVector :: Show h (FreeVector b d -> b -> d) Source #
nothing :: Show h (Maybe a) Source #
just :: Show h (a -> Maybe a) Source #
optionMatch :: Show h (b -> (a -> b) -> Maybe a -> b) Source #
mkProd :: Show h (a -> b -> (a, b)) Source #
zro :: Show h ((a, b) -> a) Source #
fst :: Show h ((a, b) -> b) Source #
swap :: Show h ((x, y) -> (y, x)) Source #
curry :: Show h (((a, b) -> c) -> a -> b -> c) Source #
uncurry :: Show h ((a -> b -> c) -> (a, b) -> c) Source #
dual :: Show h ((x, y) -> Dual x y) Source #
runDual :: Show h (Dual x y -> (x, y)) Source #
mkDual :: Show h (x -> y -> Dual x y) Source #
dualOrig :: Show h (Dual x y -> x) Source #
dualDiff :: Show h (Dual x y -> y) Source #
left :: Show h (a -> Either a b) Source #
right :: Show h (b -> Either a b) Source #
sumMatch :: Show h ((a -> c) -> (b -> c) -> Either a b -> c) Source #
unit :: Show h () Source #
y :: Show h ((a -> a) -> a) Source #
undefined :: Show h a Source #
nil :: Show h [a] Source #
cons :: Show h (a -> [a] -> [a]) Source #
listMatch :: Show h (b -> (a -> [a] -> b) -> [a] -> b) Source #
listAppend :: Show h ([a] -> [a] -> [a]) Source #
char :: Char -> Show h Char Source #
putStrLn :: Show h (String -> IO ()) Source #
bool :: Bool -> Show h Bool Source #
ite :: Show h (a -> a -> Bool -> a) Source #
double :: Double -> Show h Double Source #
doubleZero :: Show h Double Source #
doubleOne :: Show h Double Source #
doublePlus :: Show h (Double -> Double -> Double) Source #
doubleMinus :: Show h (Double -> Double -> Double) Source #
doubleMult :: Show h (Double -> Double -> Double) Source #
doubleDivide :: Show h (Double -> Double -> Double) Source #
doubleExp :: Show h (Double -> Double) Source #
doubleEq :: Show h (Double -> Double -> Bool) Source #
empty :: Show h (Map k a) Source #
singleton :: Show h (k -> a -> Map k a) Source #
lookup :: Ord k => Show h (Map k a -> k -> Maybe a) Source #
alter :: Ord k => Show h ((Maybe a -> Maybe a) -> k -> Map k a -> Map k a) Source #
mapMap :: Show h ((a -> b) -> Map k a -> Map k b) Source #
unionWith :: Ord k => Show h ((a -> a -> a) -> Map k a -> Map k a -> Map k a) Source #
insert :: Ord k => Show h (k -> a -> Map k a -> Map k a) Source #
diffWrapper :: Show h (FDiffType a x -> DiffWrapper a x) Source #
runDiffWrapper :: Show h (DiffWrapper a x -> FDiffType a x) Source #
zero :: Show h (VectorTF t f) Source #
basis :: Show h (t -> VectorTF t f) Source #
plus :: Show h (f -> f -> VectorTF t f) Source #
mult :: Show h (Double -> f -> VectorTF t f) Source #
vtfMatch :: Show h (a -> (t -> a) -> (f -> f -> a) -> (Double -> f -> a) -> VectorTF t f -> a) Source #
int :: Int -> Show h Int Source #
pred :: Show h (Int -> Int) Source #
isZero :: Show h (Int -> Bool) Source #
size :: Show h (Bimap a b -> Int) Source #
lookupL :: (Ord a, Ord b) => Show h (Bimap a b -> a -> Maybe b) Source #
lookupR :: (Ord a, Ord b) => Show h (Bimap a b -> b -> Maybe a) Source #
empty :: Show h (Bimap a b) Source #
singleton :: Show h ((a, b) -> Bimap a b) Source #
toMapL :: Show h (Bimap a b -> Map a b) Source #
toMapR :: Show h (Bimap a b -> Map b a) Source #
insert :: (Ord a, Ord b) => Show h ((a, b) -> Bimap a b -> Bimap a b) Source #
updateL :: (Ord a, Ord b) => Show h ((b -> Maybe b) -> a -> Bimap a b -> Bimap a b) Source #
updateR :: (Ord a, Ord b) => Show h ((a -> Maybe a) -> b -> Bimap a b -> Bimap a b) Source #
exfalso :: Show h (Void -> a) Source #
writer :: Show h ((a, w) -> Writer w a) Source #
runWriter :: Show h (Writer w a -> (a, w)) Source #
float2Double :: Show h (Float -> Double) Source #
double2Float :: Show h (Double -> Float) Source #
state :: Show h ((x -> (y, x)) -> State x y) Source #
runState :: Show h (State x y -> x -> (y, x)) Source #
iterate :: Show h ((x -> x) -> x -> [x]) Source #
buildFreeVector :: Ord b => Show h (FreeVectorBuilder b -> FreeVector b Double) Source #
toSVTFBuilder :: Ord b => Show h (VectorTF b Int -> SVTFBuilder b) Source #
get :: Show h (Maybe a -> a) Source #
getVar :: Show h (State x x) Source #
update :: Show h ((x -> x) -> State x ()) Source #
updateWengert :: Show h (Int -> Double -> Map Int Double -> Map Int Double) Source #
vtfCata :: Show h ((VectorTF a b -> b) -> Fix (VectorTF a) -> b) Source #
bind :: Show h (x a -> (a -> x b) -> x b) Source #
join :: Show h (x (x a) -> x a) Source #
pure :: Show h (x -> x x) Source #
ap :: Show h (x (x -> y) -> x x -> x y) Source #
map :: Show h ((a -> b) -> x a -> x b) Source #
name :: String -> Show h a Source #