Re: [racket-users] Confused about syntax properties

2017-01-29 Thread Matias Eyzaguirre
> On 29 Jan 2017, at 11:21, Ben Greenman wrote: > > The third result is #f because in the third example, stx is `(annotate > (annotate 4 2))`. So the first pattern matches and `val` is the syntax > `(annotate 4 2)`. > > You can get a "strict" evaluation order by using `local-expand` inside th

[racket-users] Confused about syntax properties

2017-01-29 Thread Matias Eyzaguirre
Hullo all, I'm messing around with syntax properties to try to get a feel for them, but in one of my tests they aren't behaving the way I would expect them to. In my example the output is #f 1 #f, when I would have thought it would be #f 1 2. Why is the third result #f and not 2? #lang racket

[racket-users] composing unquote-rewriters in redex?

2015-08-23 Thread Matias Eyzaguirre
To get rid of racket expressions that have been embedded in metafunctions and reduction relations, you use `with-unquote-rewriter`, but you can currently only have one rewriter active at a time (as underneath it's a single parameter that holds a function). I've been writing a little library to

[racket] pfds package conflict in racket 6.0

2014-03-18 Thread Matias Eyzaguirre
Hi, When I try to install the pfds package under racket 6.0, it says that it depends on typed-racket-compatibility, which it then says conflicts with typed-racket-lib. I’m guessing that the dependency needs to be updated? Thanks, Matias Eyzaguirre Racket Users list

[racket] typesetting scribble/lp files individually

2013-12-16 Thread Matias Eyzaguirre
isn’t, would it be possible to add one? Even just having the pdf and html buttons in the DrRacket toolbar be usable with scribble/lp files would greatly reduce the tedium of switching back and forth between my program and a file that just contains a call to lp-include. Thanks, Matias

[racket] Scribble with color-property and background-color-property

2013-10-29 Thread Matias Eyzaguirre
Hi all, When I use color-property and background-color-property in scribble they work as expected when I generate HTML output, but do not seem to have any effect when I generate PDF output. Do they not work with the LaTeX renderer? On the other hand, I’m not very familiar with scribble so It’s e

[racket] syntax-case + boxes and hash literals

2013-03-21 Thread Matias Eyzaguirre
hen newer constructs arrived. Was this an intentional decision, or did it slip through? If it did, could I ask that it be added to the TODO list? Thanks, Matias Eyzaguirre Racket Users list: http://lists.racket-lang.org/users

[racket] plist limitations

2012-04-05 Thread Matias Eyzaguirre
The plist library in xml/plist will only allow for plists whose root element is a dictionary, and complains bitterly when it is anything else. However many plists have an array in their root. I'm unsure what the reasoning for this is, but I think it could be considered a bug; however I'm unsure