Elektrine lite

← Feed

@screwlisp@gamerplus.org

Post #4404263

2026-08-05 08:35 UTC

@vnikolov@ieji.de @simon_brooke@mastodon.scot I think I understand the confusion ! Sharpsign S is a reader macro (no real relation to macros) https://www.lispworks.com/documentation/HyperSpec/Body/02_dhm.htm . Compare sharpsign o, sharpsign equals, sharpsign sharpsign, sharpsign a... #S(words :words-seen (foo bar baz)) Is short for (make-words :words-seen '(foo bar baz)) People often dis/like some of these. Simon pines for interlisp do-what-I-mean records. My friend Ksaj just hates 1/2 fractions. (/ 1 2) ! @ramin_hal9001@fe.disroot.org @D@mastodon.scot

Replies (1)

  • @vnikolov@ieji.de 2026-08-05 08:54

    «Sharpsign S» S as in "Structure", yes, but the above post had a dollar sign after the sharp sign. «#S(words :words-seen '(foo bar baz)) Is short for (make-words :words-seen '(foo bar baz))» ... Except that the former is a literal constant, so it only needs to be read, while the latter is a run-time value, which must be in a for-evaluation position. [P.S. So the single quote must be dropped from the former to match the latter.] The same applies to the difference between 1/2 and (/ 1 2), of course. @screwlisp@gamerplus.org @simon_brooke@mastodon.scot @ramin_hal9001@fe.disroot.org @D@mastodon.scot

    Open ##4404262