[ prog / sol / mona ]

prog


Wanting to get back into Scheme (and LISP in general).

1 2022-04-09 20:14

My only prerequisite knowledge of LISPs comes from my reading of the SICP texts; they certainly contained an adequate amount of general knowledge for Scheme, but it was hardly thorough. I've since become rusty, and while I could use the texts as a reference, their main purpose is obviously not to be a reference for Scheme, and so I think me using it for that would be inappropriate.

I've heard of the "Racket" dialect, which seems to be output from the Scheme evolution tree. The dialect contains ample learning resources, but if possible I'd like to focus specifically on Scheme, as it's much more fun to use, which is what really matters in life. What texts/resources should I prime myself to read to rekindle my knowledge of Scheme/LISP in general?

have a nice day (-:

2 2022-04-09 22:49

>>1
Some pointers:
* For Scheme I recommend the Little Schemer and Seasoned Schemer books. There is also Reasoned Schemer. They are written in a good style. Be sure to also read the docs for the implementation you choose (If in doubt, I recommend using Guile or Chicken).

* For Racket read the Little/Seasoned Schemer books and then read the Racket guide (https://docs.racket-lang.org/guide/index.html) You might also be interested in Beautiful Racket (https://beautifulracket.com/) and Racket News (https://racket-news.com/).

* For Common Lisp, I recommend the Practical Common Lisp a.k.a. the Gigamonkeys book (https://gigamonkeys.com/book/) or Common Lisp: A Gentle Introduction to Symbolic Computation (https://www.cs.cmu.edu/~dst/LispBook/). For reference, you want to read https://lispcookbook.github.io/cl-cookbook/ and the HyperSpec (http://www.lispworks.com/documentation/HyperSpec/Front/). There is also this book (which follows a Problem-Solution approach): http://weitz.de/cl-recipes/

* Read On Lisp at some point: http://www.paulgraham.com/onlisp.html

* The common lisp wiki: https://www.cliki.net/

* Read about LispM: http://fare.tunes.org/LispM.html and Interlisp Medley (https://interlisp.org/)

* For Scheme and Common Lisp in general, I recommend you use emacs (https://emacsrocks.com/) and Geiser/Sly. Also, install rainbow-delimiters

* Use the Guix (https://guix.gnu.org/en/#guix-in-other-distros) package manager for getting lisp packages.

3 2022-04-11 10:09

I like to focus around projects that I want to see for myself. The matter of picking up new languages, paradigms, libraries, software platforms, etc. becomes significantly more meaningful because I give myself a situation where I want to learn these tools to achieve my project. My motivation is the end result of a working software project that works for me, not the specific tools that I used to bring me towards the final software.

4 2023-01-09 16:16

How to learn Scheme? I found this from my bookmarks: https://ds26gte.github.io/tyscheme/index.html Is it any Good?
How to learn macros and call-cc?

5 2023-09-16 13:29

Have you read your SICP today?

6 2023-09-17 03:45

I would find a project where I would want to write Lisp code. In my case, I took inspiration from the book "The Nature of Code" by Daniel Shiffman. I wrote Guile code that follows the lessons.

7 2023-09-17 05:59

>>5

bold Why should I ? Will it teach me how to be rich?

8 2023-09-17 11:11 *

>>7
Being rich is a mindset about your personal economy. SICP is the magical incantation to conjure the spirits of the computer. Being rich and reading SICP are totally different things that have no connection to one another.

9 2023-09-25 13:07

Scheme books:
https://archive.org/details/Schemer

10 2023-12-11 17:35

>>2
Nice pointers.

11 2023-12-11 18:21

The Scheme Programming Language
https://www.scheme.com/tspl4/

More links: https://www.scheme.org

12 2023-12-21 04:48

>>9,11
Great books! (b ᵔ▽ᵔ)b

13 2023-12-23 10:16

There's also:
GNU/MIT Scheme Reference Manual
https://www.gnu.org/software/mit-scheme/documentation/stable/mit-scheme-ref.pdf

A Scheme Primer
https://spritely.institute/static/papers/scheme-primer.html

Learn Scheme in 15 minutes
https://artanis.dev/scheme.html

And reading your Scheme implementation's standard/s

14 2023-12-23 10:21

>>13
Forgot to add the link
https://standards.scheme.org/

15 2023-12-26 23:01

>>13
GNU Artanis is fantastic. Thanks for the link.

16 2023-12-28 10:38

How to Design Programs
https://htdp.org

17 2023-12-28 11:51

Symta:
[code]
use www
www port!8080: hello = "hello world"
[/code]

GNU/Free Software:
[code]
(use-modules (artanis artanis))
(init-server)
(get "/hello"(lambda () "hello world"))
;; run it
(run #:port 8080)
[/code]

18 2023-12-28 13:36 *

>>17
Scheme is a Lisp, Symta isn't, Nikita.

19 2023-12-28 15:12

>>18
It is Lisp all down to the core.
<code>
$ ./symta -e '"www port!8080: hello = ["hello world"]".parse'
((`:` (www (`!` port) 8080) (`=` (hello) (hello world))))
</code>

20 2023-12-28 15:15

>>18

Also I'm Nancy. Nikita is dead.

21 2023-12-28 15:18

>>20
Is Nancy going to finish Nikita's game?

22 2023-12-28 16:12

>>21

Nancy doesn't play games, outside of the BDSM ones with several stop words.

23 2023-12-28 16:38

>>20
down to the core you are a man

24 2023-12-28 19:03

>>23

Compared to you even kindergarten girls are men.

25 2023-12-28 19:23 *

>>20
You will never be a woman, Nikita.
And the Hamster will be avenged, pidor.

26 2023-12-28 20:39

>>25

cope and seethe, russian vatnik transphobe

27 2023-12-29 20:34 *

>>26
Cope, seethe and dilate. YWNBAW, Nikita.

28


VIP:

do not edit these