kozily / admin

Tasks, project documentation and wiki repository
0 stars 0 forks source link

Ellipsis on record patterns #97

Open andres-arana opened 6 years ago

andres-arana commented 6 years ago

Allow ... to be used on feature lists in patterns so that records with more features than those explicitly stated can match:

X = person(name:N age:A)
case X 
  of person(name:Name ... ) then <s1>
  else <s2>
end