Skip to content

Commit 6bec5c2

Browse files
committed
Remove Base module identifier from length(::BasicSymbolic) method
1 parent 73805e2 commit 6bec5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Base.length(l::LL) = length(l.v)-l.i+1
183183
@inline car(l::LL) = l.v[l.i]
184184
@inline cdr(l::LL) = isempty(l) ? empty(l) : LL(l.v, l.i+1)
185185

186-
function Base.length(t::BasicSymbolic)
186+
function length(t::BasicSymbolic)
187187
@match t.impl begin
188188
Term(_...) => length(arguments(t)) + 1 # PIRACY
189189
_ => 1

0 commit comments

Comments
 (0)