[HN Gopher] A Scheme Primer
___________________________________________________________________
A Scheme Primer
Author : signa11
Score : 65 points
Date : 2022-07-07 06:10 UTC (16 hours ago)
(HTM) web link (spritely.institute)
(TXT) w3m dump (spritely.institute)
| singaporecode wrote:
| Love this guide!
| nonrandomstring wrote:
| A primer and a main charge. Very dense. Goes from nothing to
| walking binary trees and macros in about a hundred nicely
| sequenced steps. Wish I'd had this when we did SICP. Bookmarked
| to give to students.
| smcn wrote:
| Great read! The Scheme in Scheme section was really fun. Always
| enjoy Christine's writing.
| Syzygies wrote:
| Scheme is a language I love. Chez Scheme is even fast. I don't
| use it because the support for parallel programming looks like
| 1990. In contrast, one can add a handful of lines to a Haskell
| program and keep 16 cores busy on a Mac Studio. Even Ruby now
| cleanly supports parallel execution. We're fast reaching the
| point where any language that doesn't support parallelism, or
| only via cumbersome locks and so forth, is a toy.
| Hammershaft wrote:
| Scheme is probably my favorite language for learning and
| tinkering, precisely because of its simplicity and minimalist
| standard library. Starting with the most simple elements and then
| building up to powerful abstractions is a satisfying experience.
| gmfawcett wrote:
| In spite of the praises of R5RS in this primer, the language
| described isn't R5RS. R5RS syntax extensions are defined in terms
| of (define-syntax), not (define-macro). Really, syntax hygiene is
| one of the defining distinctions between Scheme and its
| unhygienic cousin, Common Lisp.
|
| I like early Schemes as much as the next aging programmer, but
| modern readers should appreciate that R5RS was published in 1998,
| and there's a quarter century of language innovation being missed
| in the OP.
|
| https://schemers.org/Documents/Standards/R5RS/r5rs.pdf
___________________________________________________________________
(page generated 2022-07-07 23:00 UTC)