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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -