newtype Coord = Coord (Int, Int) deriving (Eq)
data Square = Square Coord Coord

...

Haskell Generating the coordinates ...

by https://www.google.com/accounts/o8/id?id=AItOawmS67NjpPtMA53HhDGkBlAqrD7qnI3Rkbk, October 12, 2010 23:11, 2 refactorings, tagged with short lists

Is there a shorter, smarter...

55502f40dc8b7c769880b10874abc9d0 Talk