Last active
November 21, 2018 03:41
-
-
Save Lysxia/570f167af776dada808181c7f1bdd6d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fmap :: ... => (a -> b) -> (f a -> f b) | |
(.) :: (y -> z) -> (x -> y) -> (x -> z) | |
fmap :: (f2 a -> f2 b) -> (f1 (f2 a) -> f1 (f2 b)) | |
fmap :: (a -> b) -> (f2 a -> f2 b) | |
(.) :: (y -> z ) -> (x -> y ) -> (x -> z ) | |
(.) :: ((f2 a -> f2 b) -> (f1 (f2 a) -> f1 (f2 b))) -> ((a -> b) -> (f2 a -> f2 b)) -> ((a -> b) -> (f1 (f2 a) -> f1 (f2 a))) | |
(.) fmap fmap :: (a -> b) -> (f1 (f2 a) -> f1 (f2 b)) | |
^--- (.) fmap fmap = fmap . fmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment