mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 20:52:39 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# racket
|
||||
|
||||
> Racket language interpreter.
|
||||
> More information: <https://racket-lang.org>.
|
||||
> More information: <https://docs.racket-lang.org/reference/running-sa.html#%28part._mz-cmdline%29>.
|
||||
|
||||
- Start a REPL (interactive shell):
|
||||
|
||||
@@ -18,11 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Execute a Racket expression:
|
||||
|
||||
`racket --eval "{{expression}}"`
|
||||
`racket {{[-e|--eval]}} "{{expression}}"`
|
||||
|
||||
- Run module as a script (terminates option list):
|
||||
|
||||
`racket --lib {{module_name}} --main {{arguments}}`
|
||||
`racket {{[-l|--lib]}} {{module_name}} {{[-m|--main]}} {{arguments}}`
|
||||
|
||||
- Start a REPL (interactive shell) for the `typed/racket` hashlang:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user