Hacker News new | ask | show | jobs
by soegaard 689 days ago
The operator `expr :~ annot` simply attaches the static information to the expression.

The operator `expr :: annot` will at runtime insert a check that the expression satisfies the annotation.

1 comments

What if I want both behaviors at the same time? Have some static information attached and also do a runtime check?