Using DrRacket in linux:
When I run DrRacket from a terminal,
(current-library-collection-paths) returns the expected paths, 3 of them.
However, when I open one of my .ss files which is associated with drracket,
the file opens in drracket but (current-library-collection-paths) returns
only 2
In addition to the constructor, `foo` is also used for compile-time
struct information. To avoid this, either supply #:name to designate a
different identifier for compile-time struct type information, or
declare #:omit-define-syntaxes to dismiss it.
Shu-hung
On Thu, Jun 3, 2021 at 4:04 PM Sage
My understanding is that you can shadow `foo`, but you cannot use `foo` in any
expression at the same scope where the struct's bindings appear. In this
context, some of `foo`'s lexical information is reserved so that `struct-out`
works correctly.
On 6/3/21 5:01 PM, flirora wrote:
> Am I
Am I correct in assuming that given a definition like
(struct foo (x) #:constructor-name bar)
I then can't define something named foo in the same module, even though
there's no constructor called foo?
--
You received this message because you are subscribed to the Google Groups
"Racket
4 matches
Mail list logo