On Fri, Jun 3, 2016 at 6:28 PM, Alexis King <[email protected]> wrote:

> Is there some other way to achieve
> this behavior with the current set of options that I don’t know about?
>

One idea: define a raco command to open the repl.


[[ Assuming you make a package out of #lang custom,
   you'd want to add a line like this to your `info.rkt`:

  (define raco-commands '(("custom" (submod custom main) "Open a REPL" #f)))

  Then, inside the `main.rkt` file, add a submodule:

  (module+ main
    (require ...)
    (run-repl ...))

  Where `run-repl` is a function that starts an interactive session. ]]

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAFUu9R78r372mf4PBxnU0D6wyw9Tcpt%2Bvbg-xfM2YTe35SA6Ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to