Scheme

alex 10th May 2024 at 4:16am

I am using Chicken, for no other good reason than a friend having recommended this particular implementation of Scheme.

csi opens the REPL; csc runs the compiler.

He also recommended I install chicken-doc.

List of available eggs | Learn CHICKEN in Y minutes

#scheme or #chicken @ libera.chat

In the csi REPL,

# evaluates to the last expression (akin to _ in the Python REPL) and this is a godsend!

,d EXP describes the result of evaluated expression EXP (so cute!)


Scheme is very barebones, and throughout the years it has been extended via Scheme Requests for Implementation (SRFI). There are many, implementing functions are procedures that are very common in other languages.

http://wiki.call-cc.org/eggref/5/generalized-arrays