From 2db3dadf1041b2c4d572d6c5d20f9dcf777471d7 Mon Sep 17 00:00:00 2001 From: Matthew Griffith Date: Mon, 27 May 2024 11:36:32 +0100 Subject: [PATCH] Remove unused thing --- src/Elm/Op.elm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Elm/Op.elm b/src/Elm/Op.elm index 50e61981..93d0212b 100644 --- a/src/Elm/Op.elm +++ b/src/Elm/Op.elm @@ -612,13 +612,3 @@ applyNumber symbol dir l r = ] , imports = left.imports ++ right.imports } - - -popLast : List a -> Maybe ( List a, a ) -popLast lst = - case List.reverse lst of - [] -> - Nothing - - last :: initReverse -> - Just ( List.reverse initReverse, last )