f (current-command-line-arguments) 0))
>
> and then:
>
> $ racket -i -f enter.rktl my-file.rkt
>
> will do what you wanted.
>
> Sam
>
>
>
>> On Fri, Nov 30, 2018 at 4:36 AM Habib Alamin wrote:
>>
>> I found a solution:
>>
>> nnor
you're a neat freak,
you can do:
nnoremap r :w \| !racket -e "$(grep -Ev '(\#lang)\|(^$)' % \| tr
'\n' ' ')" -i
On Friday, 30 November 2018 01:36:11 UTC, Habib Alamin wrote:
>
> Hi,
>
> I'm trying to set up a keybinding in my editor
Hi,
I'm trying to set up a keybinding in my editor to enter the namespace of my
current file in a REPL, similar to how Dr Racket's Run button works.
I can do a racket -e '(println "Hello!") -i and it loads the REPL after
printing Hello. A racket -e '(define a "a") -i also works, in that I'm abl
3 matches
Mail list logo