def last_part
import cswap-bend-cli@0.1.0.0/setimp.bend as Setimpimport Base
28def last_part(ps: List<&2, String>) -> String:
29 match ps:
30 case Nil{}:
31 ""
32 case Con{h, Nil{}}:
33 h
34 case Con{h, Con{h2, t}}:
35 last_part(Con{h2, t})