Recall that
def typeSpec := leading_parser " : " >> termParser
def optType : Parser := optional typeSpec
Instances For
Helper function for expandEqnsIntoMatch
Instances For
Expand a match alternative such as | 0 | 1 => rhs to an array containing | 0 => rhs and | 1 => rhs.