
welcome @andre !

a mistake in the documentation ; reverse
is already defined in racket
change (define-script reverse
#:label "Reverse"
(λ (selection)
(list->string (reverse (string->list selection)))))
to (define-script reverse-selection
#:label "Reverse"
(λ (selection)
(list->string (reverse (string->list selection)))))

#lang racket/base
(require quickscript)
(define-script reverse-selection
#:label "Reverse"
#:help-string "reverses the selection"
(λ (selection)
(list->string (reverse (string->list selection)))))
(module+ main
(reverse-selection "!norahS emocleW"))

@smtuttle has joined the channel

These docs are up to date: https://www.cs.utah.edu/plt/snapshots/current/doc/quickscript/index.html Don’t forget to update Quickscript: raco pkg update quickscript


@rokitna has joined the channel

@robert.postill has joined the channel

@notjack has joined the channel

@michaelmmacleod has joined the channel

@chansey97 has joined the channel

@maueroats has joined the channel

@enyala9733 has joined the channel