Created
January 7, 2021 14:14
-
-
Save MelkorNemesis/8fc9dc1f3183ce0168dfaa851c662a22 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
-- (.) f g = \x -> f (g x) | |
-- f . g = \x -> f (g x) | |
-- (f .) becomes \g -> \x -> f (g x) | |
-- (Any .) :: (a -> Bool) -> a -> Any | |
-- (Any .) becomes \g -> \x -> Any (g x) | |
-- (<>) . (Any .) :: (a -> Bool) -> (a -> Any) -> a -> Any | |
-- (<>) . (Any .) becomes ??? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment