I think I found the answer: Use (provide . . .). torsdag 13. september 2018 13.16.15 UTC+2 skrev Jon Kleiser følgende: > > Sorry, but I'm not quite happy yet. ;-) > When I get the ">" prompt, the definitions made in my hello.rkt seems to > be gone. I get "cannot reference an identifier before its definition". How > can I avoid that definitions and data get lost? > > torsdag 13. september 2018 13.03.42 UTC+2 skrev Jon Kleiser følgende: >> >> Works like a charm. Thanks! >> Maybe that "21.1.1 Interactive Mode" chapter should mention that "-it" >> solution? >> >> torsdag 13. september 2018 12.58.57 UTC+2 skrev Matthias Felleisen >> følgende: >>> >>> >>> $ racket -it foo.bar >>> >>> >>> >>> On Sep 13, 2018, at 4:19 AM, Jon Kleiser <jon.k...@usit.uio.no> wrote: >>> >>> Hi, >>> >>> I would like to run some Racket programs in the macOS Terminal (racket >>> foo.rkt bar1 bar2), and keep staying in the Racket REPL when my code has >>> completed. Is that possible? >>> >>> /Jon >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Racket Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to racket-users...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>>
-- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.