Spec.ResL: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/spec.bend as Spec Lines 124-126 of bendtorch@1.3.0.0/spec.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/spec.bend&start_line=124&end_line=126 import Base import bendtorch@1.3.0.0/main.bend as T # x + W·x through T.ResidualOf, the code of T.Residual: Seq(Fork(Id, linear), AddL) def ResL() -> T.Layer>>, Unit>, List<&2, Nat>, List<&2, Nat>, T.Two>, Unit>>: T.ResidualOf(~List<&2, Nat>, ~List<&2, List<&2, Nat>>, ~List<&2, Nat>, ~(x => dupv(x)), ~(a => b => vadd(a, b)), ~AddL(), ~LinL()) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=Layer https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=ResidualOf https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=Two https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/spec.bend&name=AddL https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/spec.bend&name=LinL https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/spec.bend&name=dupv https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/spec.bend&name=vadd