Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- twoDigitCombinations :: Position -> Position -> [Position]
- twoDigitCombinations p1 p2 = [Position t | fst t <- [fst p1..fst p2], snd t <- [snd p1..snd p2]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement