diff --git a/library/Potoki/Core/Produce.hs b/library/Potoki/Core/Produce.hs
--- a/library/Potoki/Core/Produce.hs
+++ b/library/Potoki/Core/Produce.hs
@@ -224,4 +224,4 @@
 enumInRange from to =
   Produce $ M.Acquire $ do
     ref <- newIORef from
-    return (A.indicesUntil ref to, return ())
+    return (A.enumUntil ref to, return ())
diff --git a/potoki-core.cabal b/potoki-core.cabal
--- a/potoki-core.cabal
+++ b/potoki-core.cabal
@@ -1,7 +1,7 @@
 name:
   potoki-core
 version:
-  2.2.2
+  2.2.2.1
 synopsis:
   Low-level components of "potoki"
 description:
