AxisSpec.prepend: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend as AxisSpec Lines 14-19 of bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend&start_line=14&end_line=19 import Base def prepend(-A: Data, head: Maybe<&2, A>, tail: Maybe<&2, List<&2, A>>) -> Maybe<&2, List<&2, A>>: match head tail: case Some{value} Some{values}: Some{value <> values} case _ _: None{} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe