Hi Tobias,
I call the below procedure with `in` equal to a 1300-pixel wide PNG image,
> w=320 and `out` equal to a nice path. Even so, the `out` image remains 1300
> pixels wide (i.e. it's not resized).
>
> (define (racket-resize in w out)
> (let ([bitmap (read-bitmap in)])
> (let
)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://
from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsu
Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are s
2016-07-15 18:22 GMT+02:00 David Storrs :
> On a separate question: How do I contribute to the docs? The
> contract docs are nearly silent on using preconditions and
> postconditions, Section 7.4, "A Thorough Example of Contracts" is
> anything but thorough, and the
Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You receive
;
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://grou
(- (string-length (car l))1)) )))
>(,loop (cdr selectors))) ))) ))
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop rece
2016-04-16 6:39 GMT+02:00 Quico Jurado :
> Hello, I posted this question in SO, but hoping to get more answers here.
>
Link to the SO posting:
http://stackoverflow.com/questions/36611808/racket-2htdp-does-read-words-line-preserve-last-newline-information
/Jens Axel
--
a systematic approach is better.
The simple solution is to take the elements from
https://www.w3.org/TR/html/index.html#elements-1
and add them to scribble/html.
Is the simple solution also the right solution?
--
Jens Axel Søgaard
--
You received this message because you are subscribed
2016-04-10 17:18 GMT+02:00 Theodor Berza :
> I have a button in a frame and when I change the vert-margin and
> horiz-margin in the code the button doesn't change it's location but rather
> the frame gets smaller or larger.
>
...
> Someone suggested me to create a
ts of SQL code?
>
> John
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.
.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+
d stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket
gt;
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visi
rd.github.io/urlang/space-invaders.html
>
> Dan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubsc
are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
2016-03-16 22:50 GMT+01:00 Greg Trzeciak :
> "Urlang is a Racket flavoured S-expression syntax for Javascript"
>
Can I steal that for a tag-line?
> Thank you for your explanation - still seems like a good fit for one of my
> projects (as I needed something more lightweight
2016-03-16 22:18 GMT+01:00 Greg Trzeciak :
>
> Thanks Dan, seems to be exactly what I need (especially the combination
> with ractive.js! BTW you couldn't find js framework with name more fitting
> to work with racket ;)
> I am only curious what racket subset does urlang
e detailed explanation I think I get it now.
>
> On 13 Mar 2016, at 19:48, Jens Axel Søgaard <jensa...@soegaard.net> wrote:
>
> If we use
>
> (define-syntax define/memoized
> (syntax-rules ()
> ((_ (name . args) . body)
> (define name (memoize (lambda arg
eiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe
emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
to the Google
> Groups "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You
e options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsub
subscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from
2016-03-02 19:26 GMT+01:00 vkelmenson via Racket Users <
racket-users@googlegroups.com>:
> Also: When I am typing in the interactions pane of 6.4 there is often a
> 1-2 second delay before my
> keystrokes show up.
>
>
It sounds as if something went wrong during the installation on Racket.
How
#:x-max 120
> #:y-min 0)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups
2/
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups
>>>> "Racket Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> a
, Norman Gray <nor...@astro.gla.ac.uk> wrote:
>
>>
>> Greetings
>>
>> On 23 Feb 2016, at 20:46, Jens Axel Søgaard wrote:
>>
>> > Use case: The paths to LaTeX has changed on El Capitan,
>> > which makes it difficult to choose a default path, that works
&
nNumber appkit _double)))
>
> (define (version-10.11-or-later?)
>(NSAppKitVersionNumber . >= . 1389))
>
>
> At Tue, 23 Feb 2016 21:46:55 +0100, Jens Axel Søgaard wrote:
> > Hi All,
> >
> > The function system-type can be used to detect the system type.
> > Is there a functi
Hi All,
The function system-type can be used to detect the system type.
Is there a function that returns the version of the operating system?
Use case: The paths to LaTeX has changed on El Capitan,
which makes it difficult to choose a default path, that works
for all.
/Jens Axel
--
You
s length n and then skip n bytes of the
input stream.
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsu
send
> an email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and
ers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, se
2016-02-14 19:09 GMT+01:00 Eli Barzilay :
> Every semester there are always students that think that DrRacket is
> broken when they add tests and the coverage colors go away. I now tell
> them about it in advance (in class and in text), but it's still
> confusing people.
>
>
this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
2016-01-29 23:12 GMT+01:00 Jean-Michel HUFFLEN <jmhuf...@femto-st.fr>:
> Jens Axel Søgaard <jensa...@soegaard.net> wrote:
>
> 2016-01-28 21:48 GMT+01:00 jmhuffle <jmhuf...@femto-st.fr>:
>>
>>Dear Racket friends,
>>>
>>>I am s
s cells.
In Racket '(left top) will allocate a list of immutable cons cells.
Since the GUI is implemented in Racket it expects immutable cons cells.
The easiest solution is to switch from R6RS to Racket.
However if you want to stick with R6RS, import list from racket/list and
use that
to create an immut
tion and little of the
> other stuff, if only to check my own computations (in economics) as I have
> perform a sign-error in 25% of the cases...
>
> On Tuesday, November 10, 2015 at 10:34:50 PM UTC-5, John Kitchin wrote:
> > Those are great resources! Thanks!
> >
> &
et-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails
message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
In DrRacket with just #lang racket in the definitions window.
Click Run.
Welcome to DrRacket, version 6.3.0.1--2015-10-12(a683542/a) [3m].
Language: racket; memory limit: 1024 MB.
> (syntax->datum (expand #'(begin (define (sort v) v) (sort t
'(begin (define-values (sort)
2015-09-30 19:35 GMT+02:00 Lyle Kopnicky :
> Hi folks,
>
> It seems that if I (incorrectly) quote a symbol in a 'define' form, it
> breaks all symbols from that point on. I would expect instead it would give
> me an error saying that I passed the wrong sort of thing to
gle Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
subscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Gr
s group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racke
e
Whalesong
bytecode-to-JavaScript running in the browser. That's doable - but not
enough to get a
selfhosting Racket system.
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and
cribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop
cause you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving
-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send
, Jens Axel Søgaard wrote:
Hi,
Does G, T, and H work for you in DrRacket ?
/Jens Axel
2015-08-25 15:59 GMT+02:00 Mr Susnake sus...@gmail.com:
On Monday, August 24, 2015 at 10:28:07 PM UTC+6, John Carmack wrote:
We “released” my 10 year old son’s game that was done in Racket
2015-08-24 18:27 GMT+02:00 John Carmack jo...@oculus.com:
We “released” my 10 year old son’s game that was done in Racket:
www.1k3c.com
Tell him, he has done a great job.
It has the right game feel. I liked both how the levels progressed slowly
in difficulty
and that there were so many of
an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving
options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr
options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr
-append /usr/local/bin/node
(path-string path)))
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr
/Jens Axel
At Sun, 9 Aug 2015 15:17:19 +0200, Jens Axel Søgaard wrote:
Hi All,
The function node below takes the path of a JavaScript file, starts
node (JavaScript evaluator) using system. The output is
collected in a string.
(define (node path)
(with-output-to-string
2015-08-02 19:12 GMT+02:00 Konstantin Weitz konstantin.we...@gmail.com:
I'm trying to write a distributed racket program using [places][0]. From
my current understanding, this means that I have to send data to each place
over a channel using the `place-channel-put` function, which can send any
Note that the web-server has support for serializable closures:
http://docs.racket-lang.org/web-server-internal/closure.html
I think they are the practical choice.
/Jens Axel
2015-08-03 12:29 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net:
2015-08-02 19:12 GMT+02:00 Konstantin Weitz
-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send
this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel
Hi All,
The syntax-parse form can often generate sensible errors based on the
progress made
during the attempt to match a pattern against a syntax-object. Given
multiple choices
the choice where the maximum progress was made is used to generate the
error message.
Is there a way to tell
/stxparse-patterns.html?q=syntax-parse#%28form._%28%28lib._syntax%2Fparse..rkt%29._~7e!%29%29
On Sat, Jul 25, 2015 at 9:55 AM, Jens Axel Søgaard
jensa...@soegaard.net wrote:
Hi All,
The syntax-parse form can often generate sensible errors based on the
progress made
during the attempt
Hi All,
I am experimenting with the sub-range-binders syntax property.
Given this program:
(define symb? symbol?)
(define-no? symb?)
symb
I want to use DrRacket's renaming facility to rename the symb? in the
second line to sym?.
I expect to get this program:
(define sym?
Hi All,
Is there a simpler way of defining the syntax transformation (macro) below?
/Jens Axel
#lang racket
(require (for-syntax syntax/parse racket/syntax))
(provide let-match-expander)
;;; SYNTAX (let-match-expander ([id proc0 proc1] ...) body ...)
;;;(let-match-expander ([id
Thanks!
No wonder I couldn't find it in the preferences.
/Jens Axel
2015-07-03 18:59 GMT+02:00 Robby Findler ro...@eecs.northwestern.edu:
That sounds like it would be a very nice change.
The option you want is in the view menu.
Robby
On Friday, July 3, 2015, Jens Axel Søgaard jensa
Hi All,
During the installation of DrRacket on a new laptop I realized
that the preferences dialog could need some kind of info
on each available option.
Consider this:
http://i.imgur.com/IzsJrI8.png
There is lots of room to the right for a description.
Map delete to backspace
because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received
, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com
John Carmack:
My son's game has a level editor as well as a game loop, and we switch
between them. However, each new big-bang call creates a new window,
leaving the previous ones inert on the screen. How can we close the
windows?
Matthias Felleisen:
But people wanted it to stay
open
you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received
2015-06-20 3:12 GMT+02:00 Vincent St-Amour stamo...@ccs.neu.edu:
For changes like typoes, Github has a pencil button at the top of its
source view that simplifies the pull-request process.
https://help.github.com/articles/editing-files-in-another-user-s-repository/
That's the simplest way
receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from
GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net:
#lang racket
(define (list-splits xs)
(define (loop ys zs) ; xs = (append (reverse ys) yz)
(match zs
['() '()]
[(cons z zs*) (cons (list ys zs)
(loop (cons z ys) zs*))]))
(loop '() xs
.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d
2015-06-05 6:37 GMT+02:00 Neil Van Dyke n...@neilvandyke.org:
2. Forget about `eval`, require apps to be compilable on development host
(but not necessarily runnable there), implement compiler from `.zo` to JS
(managing TCO, etc.), implement small Racket runtime library in JS,
implement
2015-06-04 11:38 GMT+02:00 Michael Tiedtke michael.tied...@o2online.de:
Before I go ahead and just do it I wanted to ask:
1) Does such a thing exist somewhere for Scheme or Racket (I couldn't find
anything)
The only example I found was:
.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d
this group and stop receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket Users group
this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
21, 2015 at 11:28 AM, Jens Axel Søgaard
jensa...@soegaard.net wrote:
Here is an example from MetaPict:
http://soegaard.github.io/docs/metapict/metapict.html#%28def._%28%28lib._metapict%2Fpict..rkt%29._brushstipple%29%29
The same effect can be achieved by setting the brush to a stipple
in the list.
In contrast R5RS (on purpose) state that the order is unspecified, which
means that an implementor of R5RS Scheme is free to choose the order which
fits his system best. Potentially the freedom to choose the order could
enable some optimizations.
--
Jens Axel Søgaard
--
You received
2015-05-11 0:56 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote:
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height
2015-05-11 2:24 GMT+02:00 Robby Findler ro...@eecs.northwestern.edu:
But if you have a specific destination in mind you can make the bitmap
first and then draw the 2htdp/image into it (or anything into it!)
When I use my own game-loop it is easy enough to use the make-bitmap method
of the
` method creates a bitmap that's on the
graphics card instead of main memory.
At Sun, 10 May 2015 23:14:08 +0200, Jens Axel Søgaard wrote:
Hi All,
The attached files are a work-in-progress. Eventually it will become a
remake of Cees Kramer's Snoopy for C64.
Anyways, the game represents
Hi All,
The attached files are a work-in-progress. Eventually it will become a
remake of Cees Kramer's Snoopy for C64.
Anyways, the game represents an unmoveable object as a block structure.
Today I decided to stop rendering the blocks for every frame. Instead
they are rendered once to a
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height)
instead of
(make-object bitmap% screen-width screen-height)
Roughly, using the `make-bitmap` method creates a bitmap that's
2015-04-29 14:07 GMT+02:00 Tim Brown tim.br...@cityc.co.uk:
On 29/04/15 11:44, Stephen De Gabrielle wrote:
Are there any tasks suitable for Rosetta Code that are difficult or
impossible in other languages like Python or TCL? (or Lisp,
JavaScript, Self/Smalltalk, Forth ...)
Something
.
To unsubscribe from this group and stop receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because you are subscribed to the Google Groups
Racket
?
(or Lisp, JavaScript, Self/Smalltalk, Forth ...)
Kind regards,
Stephen
On Wed, 29 Apr 2015 at 07:57, Jens Axel Søgaard jensa...@soegaard.net
wrote:
Great news!
Worth a blog post to follow up on:
http://blog.racket-lang.org/2013/03/200_25.html
http://blog.racket-lang.org/2014/11/800
2015-04-24 14:44 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net:
The arrows disappear when I use the at-exp syntax: @${b^2-4*a*x}.
I am not sure why. Anyone?
Thanks to Alexander for submitting a fix.
/Jens Axel
--
You received this message because you are subscribed to the Google
2015-04-24 14:44 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net:
The planet package took a *very* long time to install, so I intend to
upload a version to pkg.racket-lang.org.
The infix package is now available through pkg.racket-lang.org.
/Jens Axel
--
You received this message
2015-04-24 18:32 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net:
2015-04-24 18:25 GMT+02:00 Jos Koot jos.k...@gmail.com:
Hi Jens Axel,
Thanks for replying and explaining.
Can you discriminate between a+b and |a+b| or a|+|b?
When I get around to adding |...| identifiers to the lexer
2015-04-24 14:44 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net:
The arrows disappear when I use the at-exp syntax: @${b^2-4*a*x}.
I am not sure why. Anyone?
I haven't figured it out yet, but it seems to have worked at some point.
I have found this:
(define-syntax ($ stx) (syntax-case
2015-04-24 0:18 GMT+02:00 Alexander D. Knauth alexan...@knauth.org:
What’s wrong with at-exp though?
I personally don’t like (planet soegaard/infix) as much mostly because the
other options have the benefit of working with DrRacket features such as
check-syntax arrows and blue-boxes, but
embedded in Racket without explicitly using push-down
automata. However, I encounter a contradiction in my desires as explained
below. I have looked at 'Infix expressions for PLT Scheme' available in
planet and made by Jens Axel Søgaard. In his approach a+b is evaluated as
though written as (+ a b
2015-04-24 18:25 GMT+02:00 Jos Koot jos.k...@gmail.com:
Hi Jens Axel,
Thanks for replying and explaining.
Can you discriminate between a+b and |a+b| or a|+|b?
When I get around to adding |...| identifiers to the lexer, it will work
like this:
a+b will be parsed as (+ a b)
|a+b| as
to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
Jens Axel Søgaard
--
You received this message because
201 - 300 of 306 matches
Mail list logo