This is definitely pointing me where I want to go, thanks. #lang racket
(let ([n (make-base-namespace)]) (parameterize ([current-namespace n]) (eval '(define oneplusone (+ 1 1))) (filter (lambda (y) (regexp-match #px"^one" y)) (map (lambda (x) (symbol->string x)) (namespace-mapped-symbols n))))) On Tuesday, February 13, 2018 at 6:39:49 AM UTC-6, William G Hatch wrote: > > >On Wednesday, February 7, 2018 at 5:12:00 PM UTC-6, noch...@gmail.com > wrote: > >> > >> My google-fu is failing me today. Is there a concise way in Racket to > >> request possible completions for some Racket code? > > Another function that may be useful for you is > `namespace-mapped-symbols`. The readline library uses this to provide > completion in the repl. > -- 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.