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
intersect :: Shape coord -> Shape coord -> Shape coord | |
intersect s1 s2 = | |
Shape $ \coord -> isInShape s1 coord && isInShape s2 coord |