Created
September 9, 2017 16:59
-
-
Save deque-blog/806c3cf3729bb48a8e7a798267a62bf8 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
intersect :: Shape coord -> Shape coord -> Shape coord | |
intersect s1 s2 = | |
Shape $ \coord -> isInShape s1 coord && isInShape s2 coord |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment