def last_part

cswap-bend-cli@0.1.0.0 · daemon/sess.bend:209

import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sess
import Base

209def last_part(+ps: List<&2, String>, +d: String) -> String:
210  match ps:
211    case Nil{}:
212      d
213    case Con{h, t}:
214      last_part(t, h)

Uses (2)

Used by (1)