Tagged Literals
Frequently used value types are afforded a “tagged literal” syntax. It is similar to a constructor, but this special syntax makes it de/serializable and easier to read at the REPL.
Tagged literals start with a # followed by a symbol and a literal:
#js [...]
- JavaScript array literal
#js {...}
- JavaScript object literal
#inst "..."
- JavaScript date literal
#uuid "..."
- UUID literal
#queue [...]
- queue literal
当前内容版权归 practicalli 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 practicalli .