Skip to content

Commit

Permalink
Removed duplicated method
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRT committed Jan 10, 2024
1 parent 13808f1 commit aa75616
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dangerous.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ function listSetRest(inConsCell::Cons{A}, inNewRest::Nil) where {A} #= A non-emp
return inConsCell
end

function listReverseInPlace(inList::List{T}) where {T}
MetaModelica.listReverse(inList)
end

""" O(1). A destructive operation changing the \"first\" part of a cons-cell. """
function listSetFirst(inConsCell::Cons{A}, inNewContent::A) where {A} #= A non-empty list =#
@assign inConsCell.head = inNewConent
Expand Down

0 comments on commit aa75616

Please sign in to comment.