File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ defimpl Inspect, for: Qex do
22 import Inspect.Algebra
33
44 def inspect ( % Qex { } = q , opts ) do
5- concat [ "Qex<# " , to_doc ( Enum . to_list ( q ) , opts ) , ">" ]
5+ concat [ "# Qex<" , to_doc ( Enum . to_list ( q ) , opts ) , ">" ]
66 end
77end
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ defmodule Qex do
88 `Inspect`, `Collectable` and `Enumerable` are implemented
99
1010 iex> inspect Qex.new
11- "Qex<# []>"
11+ "# Qex<[]>"
1212
1313 iex> Enum.count Qex.new(1..5)
1414 5
@@ -20,7 +20,7 @@ defmodule Qex do
2020 [2, 3, 4]
2121
2222 iex> inspect Enum.into(1..5, %Qex{})
23- "Qex<# [1, 2, 3, 4, 5]>"
23+ "# Qex<[1, 2, 3, 4, 5]>"
2424 """
2525
2626 @ opaque t :: % __MODULE__ { }
@@ -31,12 +31,12 @@ defmodule Qex do
3131 Create a new queue from a range
3232
3333 iex> inspect Qex.new(1..3)
34- "Qex<# [1, 2, 3]>"
34+ "# Qex<[1, 2, 3]>"
3535
3636 Create a new queue from a list
3737
3838 iex> inspect Qex.new([1, 2, 3])
39- "Qex<# [1, 2, 3]>"
39+ "# Qex<[1, 2, 3]>"
4040 """
4141 @ spec new ( [ term ] | Range . t ) :: t
4242 def new ( init_data \\ [ ] )
You can’t perform that action at this time.
0 commit comments