CS-Notes/docs/_style/prism-master/tests/languages/lisp/lambda-feature.test
2018-12-19 14:09:39 +08:00

13 lines
547 B
Java

(lambda () ())
(lambda () (foo bar))
----------------------------------------------------
[
["punctuation","("],["lambda",[["keyword","lambda"],["punctuation","("],["arguments",[]],["punctuation",")"]]],["punctuation","("],["punctuation",")"],["punctuation",")"],
["punctuation","("],["lambda",[["keyword","lambda"],["punctuation","("],["arguments",[]],["punctuation",")"]]],["punctuation","("],["car","foo"]," bar",["punctuation",")"],["punctuation",")"]
]
----------------------------------------------------
Checks for lambda.