On 02/23/2014 05:17 PM, Harry Spier wrote:
In DrRacket I'm generating some simulations using the random function
and plotting the results using the Racket Plot routines. I put the plot
results in a new window using "(plot-new-window? #t)". This works fine
but everytime I run a new simulation
Racket version 6.0 is now available from
http://racket-lang.org/
Racket 6.0 has a new package system, including a catalog of
hundreds of already-available packages. Please visit
http://pkgs.racket-lang.org/
for an overview of the packages.
Racket versions 5.3.4 through 5.3.6 included "
I'm not sure what you mean by "adopt the binding of `private-proc`",
but besides the directions mentioned by others, it sounds like
`rename-out` might be relevant:
#lang racket
(module inner racket
(provide (rename-out [private-proc public-proc]))
(define (private-proc x) (format "Inner p
'syntax-parameterize' is an *expression* form that takes a sequence of
internal definitions and a non-empty sequence of expressions---like
lambda. It requires a final expression, and it can't contain requires,
provides, etc.
You probably want 'splicing-syntax-parameterize' instead. It can be u
Hello,
I would like to change the expansion of a given module.
I tested:
;; abc.rkt
#lang racket
(require racket/stxparam)
(define-syntax-parameter param-abc #f)
(define-syntax-rule (enable-abc body ...)
(#%plain-module-begin
(syntax-parameterize ([param-abc #t])
bo
p.s. I didn't mean my reply to disregard what Matthias showed. In
fact, item 2 on my list might simply amount to a more-convenient way
of wrapping just that in a form that's a bit more convenient on the
provider side, and if necessary cooperates automatically on the
require/typed side??
___
On Wed, Feb 26, 2014 at 3:18 PM, David Vanderson
wrote:
>
> On 02/26/2014 01:54 PM, Matthew Butterick wrote:
>> Q: How could I invoke 'public-proc' for its syntax-generating effect in
>> the main module, yet have it adopt the binding of 'private-proc' in the main
>> module?
>>
>> I gather roughly
On 02/26/2014 01:54 PM, Matthew Butterick wrote:
Thank you. Maybe I can make the question a tiny bit less dumb (though still
really dumb).
In this example, when I use the syntax macro 'public-proc', it keeps the
'private-proc' binding from the 'inner' submodule.
Q: How could I invoke 'public
Instead of manipulating the lexical information I would explicitly pass macros
around to inform the reader of my program what's happening:
;
#lang racket
(module inner racket
(provide public-proc)
(define-syntax public-proc
(syntax-rules ()
[(public-proc x pri
Thank you. Maybe I can make the question a tiny bit less dumb (though still
really dumb).
In this example, when I use the syntax macro 'public-proc', it keeps the
'private-proc' binding from the 'inner' submodule.
Q: How could I invoke 'public-proc' for its syntax-generating effect in the
ma
That's precisely the behavior you want:
-- what's exported is the public name, which would usually check/do things
before it calls private
-- while the unprotected private one is not provided and should not be
visilble.
How does the mechanics work? Well it delivers path names to these priv
In this example, why can syntax produced via macro reach the private function,
while the ordinary syntax cannot?
;; one.rkt
#lang racket/base
(provide public-proc)
(define (private-proc x)
(format "The private proc says ~a" x))
(define-syntax-rule (public-proc x)
On 2014-02-18 22:30:54 +, Anderson, Dan wrote:
>For those of you interested, there is an opening for a Math/Computer
>Science teaching position at a private school in Santa Monica.
Looks like your original link may have gotten mangled, here's the URL
for anyone else who couldn't access
Remove else from if expression in subset? definition.
ZJ
Dnia 2014-02-25, wto o godzinie 22:32 +0200, Gizem Toldare pisze:
> Hello my name is Gizem. I live in Turkey and I am a student at izmir
> University. I am learning DrRacket.
>
>
> I hava a problem. I am trying to create "subset" and
> "
Hello my name is Gizem. I live in Turkey and I am a student at izmir
University. I am learning DrRacket.
I hava a problem. I am trying to create "subset" and "intersection-set" but
program gives this error: "if: expected a question and two answers, but
found 4 parts"
This is my program.
--
Hello,
For those of you interested, there is an opening for a Math/Computer Science
teaching position at a private school in Santa Monica.
Enjoy!
Dan Anderson
Viewpoint School
https://mail.viewpoint.org/owa/redir.aspx?C=Mt0xEHTgP0KpEJLVZPVaxqpdG-mNANEIbRmYEsiOIUULf_MAkQeOt9sZFP8z0YOkNCWjzILwP
> My impression is that `raco exe` predates the rise of "scripting
> languages" like Python and Ruby, in which it's common to tell users,
> "Make sure you have version X of Python or Ruby, then install my app".
I would say that "raco exe" is rather useless, and I don't see the point
really. It st
Hi Christian,
I had the same problem and I set the icon manually using a free program
called filetypesman, using these instructions:
http://www.sevenforums.com/tutorials/57455-file-extension-icon-change-default-icon.html
Hope this helps
Tobias
On 15 February 2014 17:45, Cristian Baboi wrote
thank you for your attention.
2014-02-25 22:32 GMT+02:00 Gizem Toldare :
> Hello my name is Gizem. I live in Turkey and I am a student at izmir
> University. I am learning DrRacket.
>
> I hava a problem. I am trying to create "subset" and "intersection-set"
> but program gives this error: "if:
If it can be of any help: here at Middlesex University we managed to compile
the standard sources for 5.93 on a Raspberry Pi (standard raspbian distro). The
only thing we had to do was to disable documentation in the configuration step
(configure --disable-docs). And then wait a few hours.
Rega
On Tue, 2014-02-11 at 10:11 -0500, Neil Van Dyke wrote:
> I can't answer the question in the Subject header off-the-cuff, but I
> can comment on some of the details...
> For an onion router that has to handle lots of traffic at high speed, my
> first guess would be C or maybe C++ (not Go or Java)
21 matches
Mail list logo