Calculating type Haskell -
how calculate type of (.)(.) in haskell? know should be
(.)(.) :: (a -> b -> c) -> -> (a1 -> b) -> a1 -> c
but how calculate without computer?
(.) :: (b -> c ) -> ((a -> b) -> (a -> c)) (.) :: ((e -> f) -> ((d -> e) -> (d -> f))) (.)(.) :: ((a -> (e -> f)) -> (a -> ((d -> e) -> (d -> f)))) (.)(.) :: (a -> (e -> f)) -> (a -> ((d -> e) -> (d -> f))) (.)(.) :: (a -> e -> f) -> -> ((d -> e) -> (d -> f)) (.)(.) :: (a -> e -> f) -> -> (d -> e) -> (d -> f) (.)(.) :: (a -> e -> f) -> -> (d -> e) -> d -> f
Comments
Post a Comment