Last active
September 11, 2017 19:51
-
-
Save deque-blog/da960da0f38a3f4743cdbd455a2c1985 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
disk :: Coord2D -> Radius -> Shape2D | |
disk center radius = | |
Shape $ \coord -> euclidianDistance center coord <= radius |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment