5 ms·
Which fits the grammar. Sure, you are using some literals, but that is an application of the list procedure with 5 arguments.
by Johnny_Brahms 9y ago
Which fits the grammar. Sure, you are using some literals, but that is an application of the list procedure with 5 arguments.
- Johnny_Brahms 9y agoHaha. I just proved you right. Common lisp apparently has block comments.
- TeMPOraL 9y agoOf course it does. #| this is commented out |#. Comment syntax is usually something "special" in each language anyway.
- Johnny_Brahms 9y agoAnd I didn't know it, hence me thinking there were 5 arguments.
- GregBuchholz 9y agoThat's all one expression, and there are 5 argument to the list procedure: 1.) a list containing three numbers, a symbol, and a character, 2.) a complex number, 3.) a string, 4.) the symbol "NIL", 5.) the empty vector.
- Johnny_Brahms 9y agoI shouldnt have read it a second time on my phone. I was right the first time. :)
- lispm 9y agoYou can use them as block comments. But they are actually just reader macros which return nothing. They skip over the enclosed content.
- mschaef 9y ago> that is an application of the list procedure That really depends on the current package at the time the form is read, and then how `list` is defined within that package. Strictly speaking, you don't even know which 'list' symbol is referenced without that context. (And in that context, list could be bound to a macro, or it could be unbound entirely.)