Last active
September 10, 2017 11:31
-
-
Save deque-blog/eac8f177bf9731bb696d2d09db89afe1 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
newtype Shape coord = Shape { -- A shape templated on any type of coordinate | |
isInShape :: coord -> Bool -- Contains a function from a coordinate to a boolean | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment