Scheme tutorial feat. Guile, Guix and Gexps

Introduction

Tools

Modules

  • LOADPATH

Interpreter and REPL

  • guile
  • geiser

Basic

Basics of Values

  • symbols
  • strings
  • booleans
  • keywords
  • numbers
  • characters

Sexps

Pairs

Lists

Quotes

Functions

  • or +
  • anonymous functions
  • optional and keyword arguments
  • high-order functions

6.9.4.1 lambda* and define*

Lists 2

6.6.9.3 List Constructors

  • list
  • cons/cons*
  • append

Advanced

Macros

Quotes 2

  • quasi-quote
  • unqote
  • splice

Creating a Sample Config

Next

Pattern matching

Gexps

Conclusion