remove dead code

This commit is contained in:
toastyandwarm 2024-12-08 10:51:15 +00:00
parent f71a67eac8
commit 36801efdd1

View file

@ -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)