Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
newtype WDiff r v h x Source #
DBI r => DBI (WDiff r v) Source # | |
z :: WDiff r v (a, h) a Source # s :: WDiff r v h b -> WDiff r v (a, h) b Source # abs :: WDiff r v (a, h) b -> WDiff r v h (a -> b) Source # app :: WDiff r v h (a -> b) -> WDiff r v h a -> WDiff r v h b Source # hoas :: (WDiff r v (a, h) a -> WDiff r v (a, h) b) -> WDiff r v h (a -> b) Source # com :: WDiff r v h ((b -> c) -> (a -> b) -> a -> c) Source # flip :: WDiff r v h ((a -> b -> c) -> b -> a -> c) Source # id :: WDiff r v h (a -> a) Source # const :: WDiff r v h (a -> b -> a) Source # scomb :: WDiff r v h ((a -> b -> c) -> (a -> b) -> a -> c) Source # | |
(Vector r v, Double r, Dual r) => Double (WDiff r v) Source # | |
double :: Double -> WDiff r v h Double Source # doubleZero :: WDiff r v h Double Source # doubleOne :: WDiff r v h Double Source # doublePlus :: WDiff r v h (Double -> Double -> Double) Source # doubleMinus :: WDiff r v h (Double -> Double -> Double) Source # doubleMult :: WDiff r v h (Double -> Double -> Double) Source # doubleDivide :: WDiff r v h (Double -> Double -> Double) Source # | |
(Vector r v, Lang r) => Float (WDiff r v) Source # | |
float :: Float -> WDiff r v h Float Source # floatZero :: WDiff r v h Float Source # floatOne :: WDiff r v h Float Source # floatPlus :: WDiff r v h (Float -> Float -> Float) Source # floatMinus :: WDiff r v h (Float -> Float -> Float) Source # floatMult :: WDiff r v h (Float -> Float -> Float) Source # floatDivide :: WDiff r v h (Float -> Float -> Float) Source # | |
Option r => Option (WDiff r v) Source # | |
Prod r => Prod (WDiff r v) Source # | |
mkProd :: WDiff r v h (a -> b -> (a, b)) Source # zro :: WDiff r v h ((a, b) -> a) Source # fst :: WDiff r v h ((a, b) -> b) Source # swap :: WDiff r v h ((x, y) -> (y, x)) Source # curry :: WDiff r v h (((a, b) -> c) -> a -> b -> c) Source # uncurry :: WDiff r v h ((a -> b -> c) -> (a, b) -> c) Source # | |
Dual r => Dual (WDiff r v) Source # | |
Map r => Map (WDiff r v) Source # | |
empty :: WDiff r v h (Map k a) Source # singleton :: WDiff r v h (k -> a -> Map k a) Source # lookup :: Ord k => WDiff r v h (k -> Map k a -> Maybe a) Source # alter :: Ord k => WDiff r v h ((Maybe a -> Maybe a) -> k -> Map k a -> Map k a) Source # mapMap :: WDiff r v h ((a -> b) -> Map k a -> Map k b) Source # | |
Char r => Char (WDiff r v) Source # | |
Bool r => Bool (WDiff r v) Source # | |
Bimap r => Bimap (WDiff r v) Source # | |
(Vector r v, Lang r) => Lang (WDiff r v) Source # | |
fix :: WDiff r v h ((a -> a) -> a) Source # left :: WDiff r v h (a -> Either a b) Source # right :: WDiff r v h (b -> Either a b) Source # sumMatch :: WDiff r v h ((a -> c) -> (b -> c) -> Either a b -> c) Source # unit :: WDiff r v h () Source # exfalso :: WDiff r v h (Void -> a) Source # ioRet :: WDiff r v h (a -> IO a) Source # ioBind :: WDiff r v h (IO a -> (a -> IO b) -> IO b) Source # ioMap :: WDiff r v h ((a -> b) -> IO a -> IO b) Source # nil :: WDiff r v h [a] Source # cons :: WDiff r v h (a -> [a] -> [a]) Source # listMatch :: WDiff r v h (b -> (a -> [a] -> b) -> [a] -> b) Source # listAppend :: WDiff r v h ([a] -> [a] -> [a]) Source # writer :: WDiff r v h ((a, w) -> Writer w a) Source # runWriter :: WDiff r v h (Writer w a -> (a, w)) Source # float2Double :: WDiff r v h (Float -> Double) Source # double2Float :: WDiff r v h (Double -> Float) Source # undefined :: WDiff r v h a Source # state :: WDiff r v h ((x -> (y, x)) -> State x y) Source # |