We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb59d14 commit cde767aCopy full SHA for cde767a
2 files changed
langs/outlaw/compile-literals.rkt
@@ -35,12 +35,11 @@
35
36
;; Prog -> [Listof Symbol]
37
(define (literals p)
38
- (remove-duplicates
39
- (map to-symbol (literals* p))))
+ (remove-duplicates (map to-symbol (literals* p)) eq?))
40
41
42
(define (symbols p)
43
- (remove-duplicates (filter symbol? (literals* p))))
+ (remove-duplicates (filter symbol? (literals* p)) eq?))
44
45
;; (U String Symbol) -> Symbol
46
(define (to-symbol s)
langs/outlaw/fv.rkt
@@ -5,7 +5,7 @@
5
;; Expr -> [Listof Id]
6
;; List all of the free variables in e
7
(define (fv e)
8
- (remove-duplicates (fv* e)))
+ (remove-duplicates (fv* e) eq?))
9
10
;; Expr [Listof Id] -> [Listof Id]
11
(define (fv- e xs)
0 commit comments