Re: [racket-users] Computed properties for a struct?

2021-06-07 Thread David Storrs
On Fri, Jun 4, 2021 at 6:21 PM flirora wrote: > Is there a way to define a struct so that it has a field whose value is > filled in (instead of passed to the constructor) with a value derived from > other fields? For example, could you define a struct foo with two > explicit fields, x and y, plus

[racket-users] Re: Racket v8.1

2021-06-07 Thread Greg Davidson
How can I run Racket 8.1 on Android? I'd love to run DrRacket natively and/or run raco under Termux. Where can I find out more information? Thanks, _Greg On Wednesday, May 5, 2021 at 9:39:22 AM UTC-7 johnbclements wrote: > -

Re: [racket-users] Can a new user defined pkg encompass nothing more than references to previously defined pkgs?

2021-06-07 Thread Philip McGrath
On Mon, Jun 7, 2021 at 1:46 PM Don Green wrote: > Following from Philip's 3rd point, which I think is very relevant, I > surmise that I really should: > 1) build libraries ;that reference my code (These libraries are built > within a user-defined package.) > This seems right, though I would say

[racket-users] Should minimal Racket include "base"?

2021-06-07 Thread Philip McGrath
There seems to be an inconsistency about whether "minimal Racket" includes the "base" package. The downloads for Mac OS and Windows seem to include it, but both the Linux downloads and the source tarballs have only "racket-lib". I know that Mac OS, Windows, and "natipkg" use the "racket-lib" p

Re: [racket-users] Can a new user defined pkg encompass nothing more than references to previously defined pkgs?

2021-06-07 Thread Don Green
Following from Philip's 3rd point, which I think is very relevant, I surmise that I really should: 1) build libraries ;that reference my code (These libraries are built within a user-defined package.) 2) Then my initial question, refined, becomes: Can a new user defined library encompass nothing

Re: [racket-users] Could Racket be used as a "frontend" for a non-Racket language?

2021-06-07 Thread Stephen Foster
This is one of the main ways I use Racket -- but as a front-end for JavaScript, not C#. On Sunday, June 6, 2021 at 9:47:38 PM UTC-7 Philip McGrath wrote: > I haven't done much with this personally, but a few pointers in Racket: > >- Urlang uses Racket's macro system as a front-end for JavaSc

Re: [racket-users] Embedded Racket reimplementation for constrained hardware?

2021-06-07 Thread Arthur Nunes-Harwitt
Hi, Marc Feeley has done some work on embedded scheme. Here are a couple of links: http://www.iro.umontreal.ca/~feeley/papers/StAmourBouchardFeeleySW08.pdf http://www.iro.umontreal.ca/~feeley/papers/DubeFeeleyHOSC05.pdf == Arthur