Readd wall corner collisions
This commit is contained in:
@@ -50,3 +50,9 @@ rotListAt x' xs = f x' xs []
|
||||
|
||||
insertAt :: Int -> a -> [a] -> [a]
|
||||
insertAt i x xs = let (ys,zs) = splitAt i xs in ys ++ [x] ++ zs
|
||||
|
||||
--listElementOthersPairs :: [a] -> [(a,[a])]
|
||||
--listElementOthersPairs (x:xs) = go [] x xs
|
||||
-- where
|
||||
-- go ys y [] = [(y,ys)]
|
||||
-- go ys y (z:zs) = (y,ys++zs): go (y:ys) z zs
|
||||
|
||||
Reference in New Issue
Block a user