We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 854942d commit 45485fbCopy full SHA for 45485fb
lib/elixir/lib/file.ex
@@ -957,12 +957,6 @@ defmodule File do
957
end
958
959
"""
960
- def iterator(device)
961
-
962
- def iterator(file) when is_binary(file) or is_list(file) do
963
- open(file, []) |> iterator
964
- end
965
966
def iterator(device) do
967
fn(fun, acc) ->
968
do_iterator(device, fun, acc)
@@ -991,12 +985,6 @@ defmodule File do
991
985
be passed into `Enum` to iterate line by line as a
992
986
binary. Check `iterator/1` for more information.
993
987
994
- def biniterator(device)
995
996
- def biniterator(file) when is_binary(file) or is_list(file) do
997
- open(file, []) |> biniterator
998
999
1000
988
def biniterator(device) do
1001
989
1002
990
do_biniterator(device, fun, acc)
0 commit comments