News for hackers. Stuff that matters.
Re:Ultralisp: A fast-moving Common Lisp software distribution by andrenth on Sunday June 16, 2019 @04:50PM (#20197801)
What do you think are good learning resources for learning racket for an experienced (functional) programmer? Is there a book that isn’t focused on learning to program?
Re:Ultralisp: A fast-moving Common Lisp software distribution by neilv on Sunday June 16, 2019 @05:25PM (#20197992)
For an FP person, you might want to instead start with skimming, for half an hour, the R5RS or R7RS Scheme paper, for the base language from which Racket grew (don't worry about the first-class continuations unless you want to). Then go to the Racket Guide or Racket Reference table of contents, to look for things that you might be looking for from your past FP experience, like `match` (though it's maybe not used as much as you're familiar with). Then look into some of the strengths of Racket, like syntax extension and `#lang`. (If you want additional treatment of syntax extension and `#lang`, see things like Hendershott's "Fear of Macros", and Butterick's book.) Also skim the large list of add-on packages, to get a sense of what's there. Eventually read through the Guide and Reference at your leisure.

There's an imposing wall of manuals at: https://docs.racket-lang.org/

Racket isn't purely FP, but it can be used that way, even with the base language. There's also at least one lazy `#lang`, and you can make more.

Re:Ultralisp: A fast-moving Common Lisp software distribution by neilv on Sunday June 16, 2019 @07:41PM (#20198644)
Oh, you might like another difference between Racket and R5RS Scheme: Racket has changed some basic Scheme types, like pairs/lists, to be immutable by default. And various additional Racket types, like `struct`s, also have both immutable and mutable variants and parts.
Re:Ultralisp: A fast-moving Common Lisp software distribution by andrenth on Sunday June 16, 2019 @05:44PM (#20198089)
Thanks! Just adding a link to Butterick’s book, “Beautiful Racket”: https://beautifulracket.com/
Re:Ultralisp: A fast-moving Common Lisp software distribution by nextos on Sunday June 16, 2019 @05:09PM (#20197908)
Are you experienced in Common Lisp? Racket is multiparadigm too.

As such, many good multiparadigm books will be of great help. E.g. SICP, but also the much less known yet equally fantastic CTM. None are written in Racket, although SICP with Scheme is close, but many concepts can be ported.

There's also excellent Lisp literature like Lisp in Small Pieces or PAIP, that are always worth to consider.

Racket also implements most of http://www.eopl3.com/, which is a great textbook.

Re:Ultralisp: A fast-moving Common Lisp software distribution by neilv on Sunday June 16, 2019 @07:35PM (#20198628)
For working through SICP, you can actually use the Racket tools, like the DrRacket IDE. We rigged up a simple `#lang sicp` that emulates the version of MIT Scheme used for SICP problem sets: https://docs.racket-lang.org/sicp-manual/
Re:Ultralisp: A fast-moving Common Lisp software distribution by andrenth on Sunday June 16, 2019 @05:18PM (#20197949)
Thanks. I don’t know Common Lisp, but I guess the knowledge will be transferable.
Re:Ultralisp: A fast-moving Common Lisp software distribution by amirouche on Sunday June 16, 2019 @05:39PM (#20198063)