Cli.get.last: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 494-500 of shake@0.7.0.0/src/cli.bend: https://jend.leeeet.dev/read.txt?path=shake@0.7.0.0/src/cli.bend&start_line=494&end_line=500 import Base # the last of a list of values, or `dflt` when it is empty def get.last(vs: List<&2, String>, dflt: Maybe<&2, String>) -> Maybe<&2, String>: match vs: case Nil{}: dflt case Con{hh, tt}: get.last(tt, Some{hh}) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String