[racket-users] Re: the Racket manifesto

2015-04-02 Thread Eduardo Cavazos
I meant that to only go to Mattias... :-) Ed On Thursday, April 2, 2015 at 5:04:49 PM UTC-5, Eduardo Cavazos wrote: > Matthias, > > From this page: > > http://www.ccs.neu.edu/home/matthias/manifesto/sec_full.html > > "especially when components in these languages e

[racket-users] Re: the Racket manifesto

2015-04-02 Thread Eduardo Cavazos
Matthias, >From this page: http://www.ccs.neu.edu/home/matthias/manifesto/sec_full.html "especially when components in these languages end up in an interconnected, multi-lingual contexts." Perhaps that should be: "especially when components in these languages end up in interconnected, multi-

[racket] GLUT library

2013-06-09 Thread Eduardo Cavazos
Hello, Has anyone made Racket FFI bindings to OpenGL GLUT? If so and you'd be willing to share them, I'd appreciate it. Thanks! Ed Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Best practices for installing and using R6RS libraries with Racket on Windows

2012-01-19 Thread Eduardo Cavazos
On 1/19/2012 4:35 PM, Imran Rafique wrote: I was bitten by the same issue as well. If you just have a directory in $PLTCOLLECTS, by itself, it becomes the sole collections search path. If you want to prepend to the collections search path, then you need: PLTCOLLECTS=":" Notice the trail

[racket] Best practices for installing and using R6RS libraries with Racket on Windows

2012-01-19 Thread Eduardo Cavazos
Hello, I've been testing out my MPL libraries with Racket 5.2 on Windows 7. I generally use R6RS implementations and libraries. Thus, I tend to keep my library directories in "~/scheme" on Linux or "c:\users\myhomedir\scheme" on Windows. MPL has two dependencies (surfage and dharmalab; mentio

Re: [racket] Units/measures library

2011-11-26 Thread Eduardo Cavazos
Is there a units/measures library with metres (m), kilometres (km) and so on? My mpl libraries provide symbolic versions of the arithmetic operations. They don't provide any facility specifically designed for unit conversion, but you can do stuff like this: (vars m kg s) (let ((mass (+ (*

[racket] Top-level R6RS libraries

2010-11-30 Thread Eduardo Cavazos
Hello, If I put this R6RS library: #!r6rs (library (xyz abc) (export abc) (import (rnrs)) (define abc 10)) in the file '~/scheme/xyz/abc.sls', Racket can find it. However, if I put this library: #!r6rs (library (abc) (export abc) (import (rnrs)) (define abc 10)) in the fil

Re: [racket] syntax, differently

2010-11-30 Thread Eduardo Cavazos
Hi Matthias, On Wed, 2010-08-18 at 10:52 -0400, Matthias Felleisen wrote: > Eduardo is providing a macro that helps you abbreviate complex > selector and mutator chains. The BENFIT you get is that instead > of writing > > (posn-x (bird-posn (sky-bird (world-sky some-world > > you can wr

Re: [racket] MPL for Racket

2010-11-30 Thread Eduardo Cavazos
On Wed, 2010-11-17 at 14:23 -0600, Eduardo Cavazos wrote: > I've made a preliminary branch of MPL which supports Racket. Notes on > the branch are at: > > https://gist.github.com/703992 > > If you get as far as running the tests, I'd appreciate a report on ho

[racket] MPL for Racket

2010-11-17 Thread Eduardo Cavazos
Hi guys, I've made a preliminary branch of MPL which supports Racket. Notes on the branch are at: https://gist.github.com/703992 If you get as far as running the tests, I'd appreciate a report on how they went. MPL is a symbolic algebra library. Thanks! Ed ___

[racket] Polymorphism via compile time dispatch

2010-09-18 Thread Eduardo Cavazos
Hello, Here's a little experiment in compile time dispatch implemented in Chez Scheme: http://gist.github.com/585469 The experiment is dependent upon a feature particular to Chez Scheme described in section 11.4. "Compile-time Values and Properties" in the user's guide: http://sche

[racket] Nested scope in D vs Racket

2010-08-21 Thread Eduardo Cavazos
Hello, The first example in this note is illegal in the D programming language: http://lists.puremagic.com/pipermail/digitalmars-d/2010-August/081424.html Coming from a Scheme background, I was surprised as this is allowed in Scheme. I.e. this is the quivalent code in Scheme: (let ((a 20))

Re: [racket] syntax, differently

2010-08-18 Thread Eduardo Cavazos
On 08/18/2010 09:52 AM, Matthias Felleisen wrote: To make this available in Racket, you'd have to port his macros from R6RS Scheme to Racket. I suspect that this would be a minor task. To anyone interested in porting the code to Racket: if the implementation looks kinda complex, it's partly b

Re: [racket] syntax, differently

2010-08-18 Thread Eduardo Cavazos
Mathew Kurian: However, in the case of universe/world teachpacks, where the use of states is a vital component, a set of code can get very long, especially if the program is very complex and contains multiple structures (in some cases structures inside structures inside structures) within the s