Re: Better? or less good?

Robby Findler <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <CAL3TdON3ERWuH7Q2dnh7pB9d=Eu7tdJBckkSN_XoFqPtVy6X0Q@mail.gmail.com>
Hi Jean-Michel: the determination that "Gor" is a free variable
happens as part of the compilation of the program, much in the same
way that this expression:

  (or #t (lambda x))

is rejected.

Robby


On Fri, Oct 21, 2016 at 9:12 AM, Jean-Michel HUFFLEN
<jmhuffle-qPpMuP/[email protected]> wrote:
>    Dear Racket users,
>
>    I noticed that Racket detects the variables used without any value. But
> let us consider the expression:
>
> (or #t Gor)
>
>    Since "or" evaluates as few arguments as possible, the result is #t, but
> this expression is rejected by Racket because "Gor" is unbound. So the rule
> would become: some arguments of "and" and "or" may be not evaluated, for
> example:
>
> (and #f (/ 0))
>
> but do not use this feature with unbound identifiers... From my modest point
> of view, that is not homogeneous... What do you think, please?
>
>    Cheers,
>
> J.-M. Hufflen
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> --
> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.