List Literal
Some lisps use square brackets []
to give a literal notation for lists of evaluated values lists. This syntactic sugar for writing something like list 100 (+ 10 20) 300
. Instead it lets you write [100 (+ 10 20) 300]
. In some situations this is clearly nicer, but it does use up the []
characters which could possibly be used for more interesting purposes.
This should be a simple addition for people looking to try out adding extra syntax.
当前内容版权归 orangeduck 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 orangeduck .