Re: make it so that (=? "hi" "hi") works Sandra Snan 26 May 2021 06:31 UTC

Marc Nieper-Wißkirchen <xxxxxx@nieper-wisskirchen.de> writes:

> Scheme's means to enforce encapsulation is lexical scoping and the
> static library system (and macro hygiene). Even Scheme's dynamic
> bindings (parameters) follow this principle because they are
> implemented through lexical references.

(define (this-is-fine a b)
  (string=? a b))

(define string=? (lambda _ 'bork))

(this-is-fine "hi" "hi")