mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 21:54:29 +00:00
Update cheatsheets
This commit is contained in:
29
scheme
Normal file
29
scheme
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# scheme
|
||||
|
||||
> MIT Scheme language interpreter and REPL (interactive shell).
|
||||
> More information: <https://www.gnu.org/software/mit-scheme>.
|
||||
|
||||
- Start a REPL (interactive shell):
|
||||
|
||||
`scheme`
|
||||
|
||||
- Run a scheme program (with no REPL output):
|
||||
|
||||
`scheme --quiet < {{script.scm}}`
|
||||
|
||||
- Load a scheme program into the REPL:
|
||||
|
||||
`scheme --load {{script.scm}}`
|
||||
|
||||
- Load scheme expressions into the REPL:
|
||||
|
||||
`scheme --eval "{{(define foo 'x)}}"`
|
||||
|
||||
- Open the REPL in quiet mode:
|
||||
|
||||
`scheme --quiet`
|
||||
Reference in New Issue
Block a user