summaryrefslogtreecommitdiff
path: root/compiler/utils/Util.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/utils/Util.hs')
-rw-r--r--compiler/utils/Util.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/utils/Util.hs b/compiler/utils/Util.hs
index 673088159f..9e67a43bf5 100644
--- a/compiler/utils/Util.hs
+++ b/compiler/utils/Util.hs
@@ -26,7 +26,7 @@ module Util (
mapFst, mapSnd, chkAppend,
mapAndUnzip, mapAndUnzip3, mapAccumL2,
- nOfThem, filterOut, partitionWith,
+ filterOut, partitionWith,
dropWhileEndLE, spanEnd, last2, lastMaybe,
@@ -458,9 +458,6 @@ mapAccumL2 f s1 s2 xs = (s1', s2', ys)
(s1', s2', y) -> ((s1', s2'), y))
(s1, s2) xs
-nOfThem :: Int -> a -> [a]
-nOfThem n thing = replicate n thing
-
-- | @atLength atLen atEnd ls n@ unravels list @ls@ to position @n@. Precisely:
--
-- @