[racket] How to load a file at the startup?
I use racket from the command line (in Linux). I load a racket
file, as in:
(enter! "tryme.rkt")
then I proceed with my interactive session. The file tryme.rkt
contains:
#lang racket
(define (sq x) (* x x))
This works fine but I am wondering: Is it possible to prescribe
tryme.rkt on the command line? I tried various combinations
of the -i -r -t -f -u flags but none worked. E.g.,
racket -i -f tryme.rkt
starts up racket but the function `sq' is unrecognized.
I am new to racket, so forgive me if I am asking a trivial
question.
--
Rouben Rostamian