summaryrefslogtreecommitdiff
path: root/src/Interpreter.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Interpreter.hs')
-rw-r--r--src/Interpreter.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Interpreter.hs b/src/Interpreter.hs
index b818eb0..7be1c4b 100644
--- a/src/Interpreter.hs
+++ b/src/Interpreter.hs
@@ -473,7 +473,3 @@ ixUncons (IxCons idx i) = (idx, i)
shUncons :: Shape (S n) -> (Shape n, Int)
shUncons (ShCons idx i) = (idx, i)
-
-foldl1M :: Monad m => (a -> a -> m a) -> [a] -> m a
-foldl1M _ [] = error "foldl1M: empty list"
-foldl1M f (tophead : toptail) = foldM f tophead toptail