Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.