def last_part
import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sessimport 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)
import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sessimport 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)