Y
Hacker News
new
|
ask
|
show
|
jobs
by
scotth
4035 days ago
I'd argue this abstraction isn't any higher-level than the function equivalent above. More readable, maybe.
1 comments
the8472
4035 days ago
explicit annotations following a specific syntax can be analyzed by a checker.
you can't really do that (easily) with ad-hoc typecheck wrappers.
link
you can't really do that (easily) with ad-hoc typecheck wrappers.