[racket-users] little problem with comma (unquote)

2015-05-14 Thread Héctor Mc
Hi for all
I'm trying generate a function from other function, in this case is a little 
part of it (expression) that need print a comma within it. In the example show 
below need print the comma before (embed/url ,f). that is say ,(embed/url 
insertar-empleado) but is something I can't to make.

I have this.

#lang racket

(define f 'insertar-empleado)
(define exp `(embed/url ,f))
(define (make-func)
  (define str 
`(define (func)
   ,exp))
  str)
(display (make-func))

and result this (define (func) (embed/url insertar-empleado)) and I need
(define (func) ,(embed/url insertar-empleado)).

I treated with  (' quote) (`quasiquote) and (, unquote) but no reach the 
result.

This is all, thanks in advance for read and help me.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] little problem with comma (unquote)

2015-05-14 Thread Alexander D. Knauth
Do you want this:
#lang racket

(define f 'insertar-empleado)
(define exp `(embed/url ,f))
(define (make-func)
 (define str 
   `(define (func)
  ,(list 'unquote exp)))
 str)
(display (make-func))
?

On May 14, 2015, at 2:41 PM, Héctor Mc soulras...@gmail.com wrote:

 Hi for all
 I'm trying generate a function from other function, in this case is a little 
 part of it (expression) that need print a comma within it. In the example 
 show below need print the comma before (embed/url ,f). that is say 
 ,(embed/url insertar-empleado) but is something I can't to make.
 
 I have this.
 
 #lang racket
 
 (define f 'insertar-empleado)
 (define exp `(embed/url ,f))
 (define (make-func)
  (define str 
`(define (func)
   ,exp))
  str)
 (display (make-func))
 
 and result this (define (func) (embed/url insertar-empleado)) and I need
 (define (func) ,(embed/url insertar-empleado)).
 
 I treated with  (' quote) (`quasiquote) and (, unquote) but no reach the 
 result.  
 
 This is all, thanks in advance for read and help me.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Re: Use Parsack to parse a #language?

2015-05-14 Thread Jay Kominek
On Mon, May 11, 2015 at 11:01 PM, Daniel Prager
daniel.a.pra...@gmail.com wrote:
 Once I get my head around what's needed to connect up a custom
 reader, I should be in a position to have a shot ... and ask further
 questions.

I put together a #lang unlambda which has a custom reader, semantics,
provides a color
lexer for DrRacket, and works with the REPL. The code is quite small,
so it ought to serve
as a passable example of those integrations.

https://github.com/jkominek/unlambda

-- 
Jay Kominek

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] pkg-build report for the v6.2 release candidate

2015-05-14 Thread Matthew Flatt
Here are the results of a package build using the v6.2 release
candidate:

 http://release-pkg-build.racket-lang.org.s3-website-us-west-2.amazonaws.com/

Compare to v6.1.1:

 http://pkg-build.racket-lang.org/


For the v6.2 candidate, there are lots of dependency failures related
to documentation, and the problem is usually a missing dependency on
racket-doc. The new failures are a result improvements to the
documentation dependency checker, not changes in the dependencies. (In
other words, a dependency declaration was missing before, but it wasn't
reported.) The 49 newly identified packages with dependency problems
are listed below.


Otherwise, two packages newly fail to install:

 bloggy --- an expected failure due to clean-up of an undocumented
module

 munger --- looks like a bug in the release candidate, and we're
investigating


One package appears to have a new test failure:

 doc-coverage --- just needs test adjustments?



Packages that have new dependency failures, almost always for
racket-doc:

 avl
 binary-class
 binary-class-mp3
 check-sexp-equal
 describe
 dm
 dropbox
 ebml
 fast-convert
 finalizer
 fme
 gir
 grip
 heresy
 hyphenate
 icfp-2014-contracts-talk
 identikon
 levenshtein
 libscrypt
 libtoxcore-racket
 libuuid
 marketplace
 mboxrd-read
 midi-readwrite
 minikanren
 misc1
 mischief-dev
 multipath-daemon
 nlopt
 osc
 pollen
 racket-eventfd
 racket-lang-org
 racquel
 rsvg
 rtmidi
 set
 sfont
 squicky
 sugar
 systemd
 tandem
 tasks
 txexpr
 typed-big-bang
 unicode-properties
 xexpr-path
 yotsubAPI
 zmq

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: little problem with comma (unquote)

2015-05-14 Thread Héctor Mc
Perfect, work. Thanks.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Environment Shuffling and 3D Syntax

2015-05-14 Thread Ryan Davis

 On May 10, 2015, at 19:04, Matthias Felleisen matth...@ccs.neu.edu wrote:
 
 Probably off-topic: you might be interested in 
 
  http://repository.readscheme.org/ftp/papers/sw2003/Scmxlate.pdf
 
 Start with the title and then the summary at the end. Dorai has used this 
 package to make his programs available in Schemes and Common Lisps. 

The PDF in question references a dead page for the software. The correct url is:

http://www.ccs.neu.edu/home/dorai/scmxlate/index.html

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.