AZ
Size: a a a
AZ
AZ
m = c -> ...
AK
r
(. subtract 1)
это что? \f -> \x -> f(subtract 1 x)
так вроде?AZ
G
λ
(. subtract 1)
это что? \f -> \x -> f(subtract 1 x)
так вроде?\f x -> ...
p
p
AZ
AZ
p
AZ
AZ
instance (Functor f, Functor g) => Functor (Composition f g) where
fmap c (Cmps x) = Cmps $ (fmap . fmap) c x
B
let fn = f . g . h
than to write let fn x = f (g (h x))
.B
λ
λ
λ
G
let fn = f . g . h
than to write let fn x = f (g (h x))
.