noulith
noulith copied to clipboard
1 < _ < 9
- Using
_
for both lambdas and discards seems confusing. Have you considered some alternatives? - Would it be possible to extend the readme regarding pattern matching (in function args and in switches)?
Hmm, I did think about allocating ?
or "identifiers beginning with ?
" to one of these, and maybe guarded patterns like case x if 1 < x < 9 -> ...
would make some use cases more readable, but it's also basically what Scala does so I don't really mind it that much. I'll look at the docs...