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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -