comment & white space
This commit is contained in:
parent
d66ef9b057
commit
303057222f
@ -331,7 +331,7 @@ pieceFromString ('#':x) = SinglePiece x
|
|||||||
pieceFromString ('*':x) = MultiPiece x
|
pieceFromString ('*':x) = MultiPiece x
|
||||||
pieceFromString x = StaticPiece x
|
pieceFromString x = StaticPiece x
|
||||||
|
|
||||||
-- this is n^2, should be a way to speed it up
|
-- n^2, should be a way to speed it up
|
||||||
findOverlaps :: [Resource] -> [(Resource, Resource)]
|
findOverlaps :: [Resource] -> [(Resource, Resource)]
|
||||||
findOverlaps = go . map justPieces
|
findOverlaps = go . map justPieces
|
||||||
where
|
where
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user