Closed vonagam closed 2 years ago
pattern.set for setting variables without capturing involved:
pattern.set
case Some(int) | None.set(int = 0):
pattern.where for guards:
pattern.where
case Left(int).where(int < 0) | Right(int).where(int > 0):
Render.
This is already implemented on this branch.
A possible alternative name for set - vars, for where - with.
set
vars
where
with
lean-reject: questionable benefit
pattern.set
for setting variables without capturing involved:pattern.where
for guards:Render.
This is already implemented on this branch.
A possible alternative name for
set
-vars
, forwhere
-with
.