[racket] Quick question on units, composition

2014-02-20 Thread Paul Meier
Hi friends, Just a quick question on using Units -- I have one unit that imports a signature and appends a prefix, a la (define-unit my-unit@ (import (prefix config: config-signature^)) (export my-unit^) ;; implements my-unit^... ) But when I attempt to invoke thi

Re: [racket] Installation issues on Ubuntu

2014-01-02 Thread Paul Meier
> If that doesn't work for you, let me know and I'll try reinstalling to > see if I do anything special that I don't recall at the moment. > > Todd > > On Thu, Jan 2, 2014 at 10:39 PM, Paul Meier > wrote: > > Hi Racket! > > > > I'm trying to i

[racket] Installation issues on Ubuntu

2014-01-02 Thread Paul Meier
Hi Racket! I'm trying to install Racket to run on my Linode, which is running Ubuntu 12.04 LTS. I've tried a few things: * `sudo apt-get install racket` installs an older version of Racket that complains about (provide (contract-out ...)), which my code uses. * The Ubuntu Precise distribution in

Re: [racket] Question on (quote var) in macros

2013-01-15 Thread Paul Meier
(match expr [(list 'id1 id2 ...) body ...]))])) > > > On 01/15/2013 10:22 PM, Paul Meier wrote: > > Hi friends, > > I'm working on a macro that expands into a match statement. It looks > something like > > (define-syntax (my-macro stx) >(syntax-case stx

[racket] Question on (quote var) in macros

2013-01-15 Thread Paul Meier
Hi friends, I'm working on a macro that expands into a match statement. It looks something like (define-syntax (my-macro stx) (syntax-case stx () [(_ (id1 id2 ...) body ...) (with-syntax ([match-pattern (datum->syntax stx (cons 'list (syntax->datum #'(id1 id2

[racket] integer->bytestring for a single byte?

2012-11-07 Thread Paul Meier
Hi friends, I'm trying to write some integer values to a socket, and normally I'm generating the bytestring with integer->integer-bytes, and reading values on the other end