Skip to content

AList as Set

schrdrl edited this page Dec 20, 2021 · 5 revisions

Traits:

  • AList with cases ANil, ACons and AMany (with AMany =ANil ≀ ACons)
  • AOption with cases ANone, ASome and AMaybe (with AMaybe = ANone ≀ ASome)
  • ABool with cases ATrue, AFalse and AUnknown (with AUnknown = ATrue ≀ AFalse)

Method signatures:

  • aHead (l: Set[AList]): Set[Set[AOption[AInt]]]
  • aTail (l: Set[AList]): Set[Set[AOption[AList]]]
  • isNil (l: Set[AList]): Set[Set[ABool]]

Clone this wiki locally