Re: [racket-users] Racket builds for ARM?

2016-10-27 Thread Meino . Cramer
Hi Matthew, thanks fpr your reply! :) I received a recipe how to modify the configuration of the ARMBIAN to pull from "unstable" source. "Unstable" includes racket 6.6 (and hopfully 6.7 soon) -- I think those "unstable" sources are of Raspbian... :) Still downloading/updateingfingers

Re: [racket-users] Racket builds for ARM?

2016-10-27 Thread Matthew Flatt
If ARMBIAN and Raspbian are compatible, then you could try the Utah snapshot site's Raspbian build: http://www.cs.utah.edu/plt/snapshots/ At Fri, 28 Oct 2016 03:21:49 +0200, meino.cra...@gmx.de wrote: > Hi, > > after putting Racket on my desktop Linux box and on my tablet > (ARCHLinux chroot,

[racket-users] Re: Racket v6.7

2016-10-27 Thread byrondavies
Thank you, Jay McCarthy, for making it possible to create Racket-based apps for Android. This was a necessity for our Global Learning XPRIZE project, and it's working superbly. I really like the capability you provided to develop on the Mac platform, test in a Mac-based simulator, and then

Re: [racket-users] Request for comments: An embedded DSL for CSS in Racket

2016-10-27 Thread Matthew Butterick
None of the below is meant to deter your voyage of discovery! Have fun and hack around! On Oct 27, 2016, at 12:17 PM, lfacc...@jhu.edu wrote: > I cannot name a single other example of embedded DSL in Racket that > operates with syntax objects directly. Can you think of something better? 1)

[racket-users] Re: Racket builds for ARM?

2016-10-27 Thread Ken MacKenzie
Perhaps not the answer you want, but you could always pull the source from the github repo and compile it for arm. Ken On Thursday, October 27, 2016 at 9:21:57 PM UTC-4, meino.cramer wrote: > Hi, > > after putting Racket on my desktop Linux box and on my tablet > (ARCHLinux chroot, x86 CPU) I

[racket-users] Racket builds for ARM?

2016-10-27 Thread Meino . Cramer
Hi, after putting Racket on my desktop Linux box and on my tablet (ARCHLinux chroot, x86 CPU) I want to put Racket on my Orange PI PC (which is a Raspberry Pi inspired SoC-Computer). This Orange Pi PC runs a " ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i" The CPU is (according to

Re: [racket-users] macros

2016-10-27 Thread Alexis King
First of all, #lang racket is not Scheme, nor does it claim to be. However, #lang r5rs does attempt to be Scheme, and it exhibits the same behavior as #lang racket in this case, so your question is still valid. I would argue that, in this case, Racket gets it right, and Bigloo and Kawa are

[racket-users] macros

2016-10-27 Thread Damien Mattei
Hi, why this does not work with DrRacket: #lang racket (define-syntax then (syntax-rules () ((_ ev) ev) ((_ ev ...) (begin ev ... (define-syntax else (syntax-rules () ((_ ev) ev) ((_ ev ...) (begin ev ... (if #f (then 1 2 3) (else 3

Re: [racket-users] Identifier equality of identifiers stashed in preserved syntax properties

2016-10-27 Thread Alexis King
As a small followup to this, I managed to come up with the following hacky workaround, which seems to be working alright so far. Specifically, it’s a function that converts arbitrary preservable values into expressions that evaluate to themselves: (define preservable-property->expression

[racket-users] Re: Request for comments: An embedded DSL for CSS in Racket

2016-10-27 Thread Greg Trzeciak
Have you looked into Clojure's Garden for a possible inspiration: https://github.com/noprompt/garden https://www.youtube.com/watch?v=-jnJGNDoSXc -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving

Re: [racket-users] Bug that causes crash ... how to debug? (Linux, Racket 6.7 but also earlier versions)

2016-10-27 Thread Matthew Flatt
As a first step, try gdb like this: $ gdb racket (gdb) handle SIGSEGV nostop noprint (gdb) run ... [arguments to run your program] ... (gdb) where to get a backtrace. Depending on the output, we should have an idea for the next step. At Thu, 27 Oct 2016 20:55:52 +0100, Erich Rast wrote: >

[racket-users] Bug that causes crash ... how to debug? (Linux, Racket 6.7 but also earlier versions)

2016-10-27 Thread Erich Rast
Hi! I have a bug that in the Linux version of a mid-sized program (closed source) that causes the program to immediately crash and also causes DrRacket to immediately crash once the command key is pressed in some editor in a tab panel of an open frame. No console output, hard crashes to desktop.

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
I hope to be a trend setter. Haven't really introduced myself but I find racket a great toolset for getting

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
I agree on the importance of an efficient algorithm. I do feel knowing some of the internals of how language or development environment stores and access values can be part of determining the nature of what is the most efficient algorithm. Sometimes flaws in an environment can lead to a counter

[racket-users] Request for comments: An embedded DSL for CSS in Racket

2016-10-27 Thread lfacchi2
Hi, all. I am working on an embedded DSL for CSS in Racket. I want to get feedback from the community regarding the project’s goals and my choice of tools for implementing it. LANGUAGE I want to use Racket to generate CSS for me. I am not interested in a “#lang” language, but in a DSL that

Re: [racket-users] Structs vs Lists

2016-10-27 Thread David Storrs
You know, it's a very pleasant surprise to me how many messages I've recently seen on this list that began "I'm just getting started with Racket and" Great to see that the Racket community is growing. On Thu, Oct 27, 2016 at 2:42 PM, Jos Koot wrote: > Hi > > Lisp (and

RE: [racket-users] Structs vs Lists

2016-10-27 Thread Jos Koot
Hi Lisp (and Racket) programmers know the value, Fortran (and assembler) programmers the cost. Nowadays the PLTeam is working on effeciency too, I think. But: the most important factor for efficient programming is to select efficient algorithms. Two very simple, but notorious examples where you

Re: [racket-users] Re: Crosscompiling executables

2016-10-27 Thread David Storrs
On Thu, Oct 27, 2016 at 9:12 AM, Matthew Flatt wrote: > At Wed, 26 Oct 2016 15:16:03 -0400, David Storrs wrote: >> On Wed, Oct 26, 2016 at 2:30 PM, Matthew Flatt wrote: >> > At Wed, 26 Oct 2016 14:01:15 -0400, David Storrs wrote: >> >> What is "-l-"

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
Thank you for the information. Good to know. Performance isn't the first thing I am thinking about, but as I am tinkering and getting running with Racket I like to kind of dig into the underlying structure to know the cost of certain operations. Ken > For accessing an arbitrary member, yes.

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Jon Zeppieri
On Thu, Oct 27, 2016 at 1:09 PM, Ken MacKenzie wrote: > Thank you that makes sense. Vectors are fixed length so in theory could I > also say a Vector is possibly more performant than an equivalent list? > > Ken > For accessing an arbitrary member, yes. A Racket vector is

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
Thank you that makes sense. Vectors are fixed length so in theory could I also say a Vector is possibly more performant than an equivalent list? Ken On Thursday, October 27, 2016 at 12:58:06 PM UTC-4, Jon Zeppieri wrote: > On Thu, Oct 27, 2016 at 12:16 PM, Ken MacKenzie

Re: [racket-users] Structs vs Lists

2016-10-27 Thread Jon Zeppieri
On Thu, Oct 27, 2016 at 12:16 PM, Ken MacKenzie wrote: > This is a question more about the footprint of each. Deep down is a > Struct really just syntactic sugar over a list. Not in Racket (or in most Lisps these days). > As in most things in Lisp from my

RE: [racket-users] scribble/eval interaction hyperlinks locally bound variables

2016-10-27 Thread Jos Koot
Hi Matthias, Thanks. I'll look into your suggestion. For the moment, when I see an unwanted link, I change the name of the local variable to one not found in the help desk for any module I import. Thanks again, Jos -Original Message- From: Matthias Felleisen [mailto:matth...@ccs.neu.edu]

[racket-users] Structs vs Lists

2016-10-27 Thread Ken MacKenzie
This is a question more about the footprint of each. Deep down is a Struct really just syntactic sugar over a list. As in most things in Lisp from my understanding are all just lists, it is the basic building block of all data. Is a struct also just a list and the element names enumerations

[racket-users] Re: Ubuntu PPA for v6.7

2016-10-27 Thread Ken MacKenzie
As a confirmation was part of my upgrades this morning in trusty. On Thursday, October 27, 2016 at 11:01:01 AM UTC-4, asumu wrote: > Hi folks, > > The Ubuntu PPA should now be updated for v6.7: > > https://launchpad.net/~plt/+archive/ubuntu/racket > > It should be available for precise,

[racket-users] Re: Racket v6.7

2016-10-27 Thread Vincent St-Amour
This looks like an import conflict. In 6.7, we added a `vector-sort!` function to `racket/vector`. There was already one in `rnrs/sorting-6`. So if your program requires both libraries, you will have a conflict. You can resolve the conflict by looking for places where you require

[racket-users] Ubuntu PPA for v6.7

2016-10-27 Thread Asumu Takikawa
Hi folks, The Ubuntu PPA should now be updated for v6.7: https://launchpad.net/~plt/+archive/ubuntu/racket It should be available for precise, trusty, xenial, yakkety, and zesty though I've only tested it on yakkety. (sorry if you get this e-mail twice, the mailing list ate my first e-mail

Re: [racket-users] scribble/eval interaction hyperlinks locally bound variables

2016-10-27 Thread Matthias Felleisen
> On Oct 27, 2016, at 5:34 AM, Jos Koot wrote: > > Consider: > #lang scribble/manual > @(require (for-label racket) scribble/eval)) > @interaction[(let ((add1 sub1)) (add1 1))] > In the produced HTML file the locally bound variable 'add1' > is linked (in blue) to the docs

[racket-users] Re: Racket v6.7

2016-10-27 Thread Some Dude
Great news, especially the integrated Android support. However, I get this for one of my programs: module: identifier already imported from a different source in: vector-sort! rnrs/sorting-6 racket/gui But what's worse, it doesn't show where the bug occurs, even though debugging is

Re: [racket-users] Re: Crosscompiling executables

2016-10-27 Thread Matthew Flatt
At Wed, 26 Oct 2016 15:16:03 -0400, David Storrs wrote: > On Wed, Oct 26, 2016 at 2:30 PM, Matthew Flatt wrote: > > At Wed, 26 Oct 2016 14:01:15 -0400, David Storrs wrote: > >> What is "-l-" ? (That's an "ell", right? Not a 1 / pipe / > >> etc.) I would have expected

[racket-users] git-checkout-credentials

2016-10-27 Thread Philip McGrath
I'm excited by the ability to use authentication-required git repositories with the package system. > - The package system supports authentication when installing packages > from git, using the `raco pkg config git-checkout-credentials` > configuration option. > What is the value to be

[racket-users] scribble/eval interaction hyperlinks locally bound variables

2016-10-27 Thread Jos Koot
Consider: #lang scribble/manual @(require (for-label racket) scribble/eval)) @interaction[(let ((add1 sub1)) (add1 1))] In the produced HTML file the locally bound variable 'add1' is linked (in blue) to the docs of Racket's procedure 'add1'. The same problem with @racket[...] I can avoid this

[racket-users] mass production of definitions

2016-10-27 Thread Linh Chi Nguyen
in case someone finds this useful :) hi vincent, how are you? i would like to ask you this , i'm trying to mass produce definitions, however `eval is tricky: (define l1 (list 'a 'b)) (define l2 (list (list 1 2) (list 3 4))) (for ([i (in-list l1)] [j (in-list l2)]) (eval