you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 1 year ago

Actual pattern-matching allows matching on the structure of a data type

That's a condition, so it can fit in a ternary.

  • source
  • parent