remove dead code
This commit is contained in:
parent
f71a67eac8
commit
36801efdd1
1 changed files with 0 additions and 3 deletions
|
|
@ -16,9 +16,6 @@ splitInput text = concat $ map (\(x, zs) -> map (\(y, z) -> ((x, y), z)) zs) $ m
|
|||
indexed :: [a] -> [(Int, a)]
|
||||
indexed xs = zip [0..((length xs)-1)] xs
|
||||
|
||||
addCoords :: Num a => (a, a) -> (a, a) -> (a, a)
|
||||
addCoords (a, b) (c, d) = (a+c, b+d)
|
||||
|
||||
checkBounds :: (Num a, Ord a) => (a, a) -> (a, a) -> Bool
|
||||
checkBounds (c, d) (a, b) = (0 <= a) && (0 <= b) && (a < c) && (b < d)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue