HN user

felixnavid

2 karma
Posts0
Comments2
View on HN
No posts found.

`n` is the same type as `s` from "match s" and 'n' is just `s` but renamed, if none of the previous conditions passed.

Because `match <exp>` could have contained an expression, you might need to handle a "catch all" case where you can refer to the result of that expression.

The code could have been `match s.doSomething() { ...`. The lines above what you have quoted just compare the result to a couple of a constants. If none are true, the line that you have quoted is equivalent to renaming the result of that expression to `n` and then handling that case.

I wasn't able to find the free tier plan on your site. Free tier would mean: 2 PDF templates, 100 API requests/month or something similar. All I could find was a 2 weeks trial. Maybe consider adding a true "pay as you go" tier with a small amount of money/PDF template and, something perfect for startups and don't start with a $49 tier.