GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

A paragraph from TSPL4 saying that syntax made from a list is also a list.

Download link

https://cdn.fosstodon.org/media_attachments/files/114/059/523/818/662/189/original/1b95c12d9028a134.png

Notices where this attachment appears

  1. Embed this notice
    Andrew Tropin (abcdw@fosstodon.org)'s status on Monday, 03-Mar-2025 23:13:53 JST Andrew Tropin Andrew Tropin

    Today I learned that Racket and Guile represent syntax objects for lists differently.

    I don't know yet which one I prefer, because in Guile `syntax` not always returns a syntax-object as one could expect, sometimes it returns a list.

    (use-modules (system syntax))
    (syntax? (syntax (+ 3 4))) ;; => #f
    (syntax? (syntax hi)) ;; => #t

    On the other hand TSPL4 book says that #'(+ 3 4) returns a valid list.

    Who read RnRS? What does it say for this case?

    #scheme #racket #guile #lisp #macros #til

    In conversation about 4 months ago from fosstodon.org permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.