Le vendredi 20 janvier 2017 19:47:11 UTC+1, David K. Storrs a écrit :
> I see that I can get the event telling me that something changed. As
> far as I can tell the event contains no information about *what*
> changed, it simply alerts that *something* changed. Likewise, the
> monitor is only
Hi Dan,
Try with this:
main.rkt:
#lang racket
(require racket/stxparam "macro.rkt" "param.rkt")
(syntax-parameterize ([dirs 123])
(mymacro))
macro.rkt:
#lang racket
(require racket/stxparam "param.rkt")
(provide mymacro)
(define-syntax (mymacro stx)
#`(printf "dirs was ~a\n"
That's perfect, Thank you!
On Friday, January 20, 2017 at 2:46:49 PM UTC-8, Matthew Butterick wrote:
> Perhaps a job for `normalize-definition`? It handles all the syntactic
> disentangling in a `define`-like macro.
--
You received this message because you are subscribed to the Google Groups
On Friday, January 20, 2017 at 1:49:12 PM UTC-8, Lehi Toskin wrote:
> I have created a macro[1] that operates like regular define, but wraps the
> definition around a struct with prop:procedure. This struct contains the
> procedure to be used and a list representation of its definition. I've
Racketeers,
(seventh RacketCon) will be held on October 7th, followed by Racketeer
Office Hours on October 8th. This year, RacketCon will be in Seattle, WA,
with support from the Racket group at the University of Washington.
RacketCon is a yearly event where members of the Racket community get
On Fri, Jan 20, 2017 at 3:01 PM, David Storrs wrote:
> Since I'm going to need this filesystem-watching code, I figured I
> would package it up and make it available to other people as well.
>
> I know that planet is no longer the preferred package repository. Is
> this
Hi -
I have a module "env" that is required for-syntax by several other modules. I'd
like to precompile those other modules into .zo files, but my initial
for-syntax module ("env") has a parameter that I need to set (essentially I'm
writing my own 'require' lines at compile-time, and I need to
Hi David,
On 2017-01-20 15:01:47 -0500, David Storrs wrote:
> I know that planet is no longer the preferred package repository. Is
> this still the correct documentation for how to publish modules?:
> https://docs.racket-lang.org/planet/Developing_Packages_for_PLaneT.html
The preferred system
Since I'm going to need this filesystem-watching code, I figured I
would package it up and make it available to other people as well.
I know that planet is no longer the preferred package repository. Is
this still the correct documentation for how to publish modules?:
[realized I sent my prior response to Neil alone. Summary was: Thank you!]
I see that I can get the event telling me that something changed. As
far as I can tell the event contains no information about *what*
changed, it simply alerts that *something* changed. Likewise, the
monitor is only
On Fri, Jan 20, 2017 at 10:02 AM, Robby Findler
wrote:
> On Thu, Jan 19, 2017 at 7:29 PM, David Storrs wrote:
>> On Thu, Jan 19, 2017 at 6:45 PM, Robby Findler
>> wrote:
>>> In DrRacet, current-directory in
On 01/17/2017 04:34 AM, Sam Tobin-Hochstadt wrote:
> No, unfortunately you can't just higher kinds in Typed Racket. This is
> a limitation we hope to lift eventually, though.
I'm going to take a non-ranting stab at Matthias' compatibility
objection, slightly formalizing the proposal. Robert
On Thu, Jan 19, 2017 at 7:29 PM, David Storrs wrote:
> On Thu, Jan 19, 2017 at 6:45 PM, Robby Findler
> wrote:
>> In DrRacet, current-directory in initialized to the directory
>> containing the file where you hit "Run" and in the shell it is
I can do this in the normal Racket repl:
(define (f x)
(define-syntax-rule (rev-apply x g)
(g x))
(rev-apply x add1))
(f 3)
;; ==> 4
I'd like to put a `(debug-repl)` inside the definition of `f` and call
`rev-apply` in that debug repl too.
On Fri, Jan 20, 2017 at 6:52 AM, Philip
---
2017 : The Art, Science, and Engineering of Programming
April 3-6, 2017, Brussels, Belgium
http://2017.programming-conference.org
---
Final call
How would you intend to use the macro transformer functions in the
debug-repl? Do you intend to call them as functions on syntax objects? I'm
not sure I understand what you're trying to achieve.
-Philip
On Fri, Jan 20, 2017 at 3:40 AM, Alex Knauth wrote:
>
> On Jan 19,
> On Jan 19, 2017, at 8:44 PM, Philip McGrath wrote:
>
> It might help if you could explain in more detail what you're trying to do:
> I'm not sure I understand what you mean by "bring macro transformer
> procedures down to run-time".
My goal is to have a debug-repl
17 matches
Mail list logo