Hi,
I've been trying to create a namespace and then import it at a different phase,
but I can't get it to work. Basically, it seems like an issue with the base
phase of a namespace being set by the module that is requiring it, rather than
the module that it is in. Is there a way to get around t
On 09/23/2016 02:43 PM, 'William J. Bowman' via Racket Users wrote:
Under certain conditions, the value of a syntax property is duplicated.
I can't figure out why, or if this is a bug, and any advice would be
appreciated.
I've attached the smallest program that generates this behavior that I've
Under certain conditions, the value of a syntax property is duplicated.
I can't figure out why, or if this is a bug, and any advice would be
appreciated.
I've attached the smallest program that generates this behavior that I've
managed to find.
The conditions seem to be:
1. Write a syntax obje
Brilliant. Thanks, Alex.
On Fri, Sep 23, 2016 at 8:15 AM, Alex Knauth wrote:
>
> > On Sep 23, 2016, at 10:53 AM, David Storrs
> wrote:
> >
> > Is there a Racket equivalent of Perl's __FILE__ token?
>
> Yes, it's called `quote-source-file`, in syntax/location.
> http://docs.racket-lang.org/synt
On Friday, September 23, 2016 at 12:41:46 AM UTC-4, johnbclements wrote:
> doesn’t ‘find-seconds’ do that?
>
> #lang racket
>
> (require racket/date)
>
> (define d1 (find-seconds 0 51 14 22 9 2016 #f))
It does indeed. Perfect, thank you!
--
You received this message because you are subscribe
> On Sep 23, 2016, at 10:53 AM, David Storrs wrote:
>
> Is there a Racket equivalent of Perl's __FILE__ token?
Yes, it's called `quote-source-file`, in syntax/location.
http://docs.racket-lang.org/syntax/Source_Locations.html#%28form._%28%28lib._syntax%2Flocation..rkt%29._quote-source-file%29%2
Is there a Racket equivalent of Perl's __FILE__ token?
In Perl I can do this:
I'd like to be able to access files at runtime that have a path known in
relation to the current file. I can do this:
(define-runtime-path this-dir ".")
(file-exists? (build-path this-dir (some-func-that-retu
Well, now that our youngsters have easily debunked the package, we can let it
die because it no longer wants to live.
> On Sep 22, 2016, at 10:30 PM, Leif Andersen wrote:
>
> > Also, with typed/racket/unsafe the optimizer *is* still run, so that's not
> > any better *unless* you selective
8 matches
Mail list logo