Y
Hacker News
new
|
ask
|
show
|
jobs
by
sbmassey
2678 days ago
Mathematica/the Wolfram language does that. e.g the Flat attribute denotes associativity, etc.
https://reference.wolfram.com/language/ref/Flat.html