Created
May 10, 2013 20:34
-
-
Save reite/5557181 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
type Point = (Int, Int) -- Could have more elements | |
type Range = (Int, Int) | |
pointsInRanges :: Range -> Range -> [Point] -> [Point] -- All points where fst p is in the first range and snd p is in the second range. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment