Made it possible not to give a filename

This commit is contained in:
2026-08-20 23:21:43 +02:00
parent f780c7f5b4
commit 0d3b55f252
4 changed files with 37 additions and 15 deletions
+9 -3
View File
@@ -1,13 +1,19 @@
# rackedit
`rackedit` opens a simple Racket editor window for a file. It can be used from
DrRacket, from a Racket program, or from the Racket command line.
`rackedit` opens a simple Racket editor window, optionally with a file. It can be
used from DrRacket, from a Racket program, or from the Racket command line.
The package exports one procedure:
The package exports one procedure. With no filename, `rkdt` opens an empty editor:
```racket
(require rackedit)
(rkdt)
```
Pass a filename to open an existing file:
```racket
(rkdt "notes.rkt")
```