mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
removing duplicates from repl completion
This commit is contained in:
parent
befd7b5eff
commit
70d61e1fcc
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
||||||
(let lp ((env env) (res '()))
|
(let lp ((env env) (res '()))
|
||||||
(if (not env)
|
(if (not env)
|
||||||
res
|
res
|
||||||
(lp (env-parent env) (append (env-exports env) res)))))
|
(lp (env-parent env) (lset-union eq? (env-exports env) res)))))
|
||||||
|
|
||||||
(define (string-common-prefix-length strings)
|
(define (string-common-prefix-length strings)
|
||||||
(if (null? strings)
|
(if (null? strings)
|
||||||
|
|
Loading…
Add table
Reference in a new issue