def all
import stelliferous@0.0.2.0/proofs/boolean_logic.bend as BooleanLogicimport Base
31# Stored in reverse evaluation order so all preserves left-associated &&.
32def all(conditions: List<&2,Bool>) -> Bool:
33 match conditions:
34 case Nil{}: True{}
35 case last <> prefix: Bool.and(all(prefix),last)