4 lines
87 B
Text
4 lines
87 B
Text
Stream.unfold(0, fn n ->
|
|
IO.puts Integer.to_string(n,8)
|
|
{n,n+1}
|
|
end) |> Stream.run
|