In the manifesto, I'm a bit surprised by the following:
this philosophy prohibits the idea of “projects,” as found in other IDEs,
because this also externalizes resource management, linking, and other
aspects of program creation.
Couldn't one call package designing a project?
Sure, a package
Or you can use dictionaries to pass keyword values (similar to Python):
https://gist.github.com/Metaxal/578b473bc48886f81123
On Tue, Mar 24, 2015 at 9:05 PM, Alexander D. Knauth alexan...@knauth.org
wrote:
On Mar 22, 2015, at 7:42 PM, George Neuner gneun...@comcast.net wrote:
I thought
That's also what I understand, and I find this philosophy pretty appealing
too, for what it's worth.
However it still worries me as this sounds a like I'm not wearing shoes
because the problem is not your feet but the pavement; What we need is a
pavement that makes it possible to walk without
Thanks, that clarifies the point. The manifesto maybe puts it too strictly
indeed.
On Thu, Mar 26, 2015 at 1:58 PM, Matthias Felleisen matth...@ccs.neu.edu
wrote:
Thanks for sending this, again. I was writing a response very
much along these lines when your post came in.
1. No, we cannot
=commandline
Also note the useful but easily missed `#:argv` keyword option, which
allows you to simulate receiving arguments from the command-line.
Laurent
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop
be adapted to Firefox using profiles and maybe to other
browsers too.
I'm sharing this as it took me some time to figure this out. Hopefully this
can help other people.
Laurent
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group
that log N is limited to less than 30 or
62 (depending on the platform), log N can be treated reasonably as a
constant.
I don't think you can do better than O(n log n) if you want to produce a
hash in the end.
Laurent
On Thu, Apr 9, 2015 at 12:18 PM, Alexey Cherkaev alexey.cherk...@gmail.com
wrote
better to
create a separate function instead of directly calling the button's
callback).
Laurent
On Wed, Jun 10, 2015 at 11:04 AM, mazert rom...@elgeekador.net wrote:
Hello,
I know we can assign a keyboard shortcut on a menu%, but I try to do the
same thing with a button%. Is that possible
In case it's simple enough, would it be possible to have a keyboard
shortcut in the HelpDesk to go to the search bar, on any help page?
(Btw, I can't even reach the search bar by repeatedly pressing Tab on
Chrome at least.)
Thanks!
Laurent
--
You received this message because you
it with macros because of the strange compile-time
behavior.
Where *compile time* sound to me like put all the interned things
together, call it
byte code and dump it into a file.
Il giorno 24/mag/2015, alle ore 10.14, Laurent ha scritto:
This may be of interest to you:
http://stackoverflow.com
For what it's worth, I think these are some of the relevant lines:
https://github.com/racket/drracket/blob/21c155c46c58c5d01ff984df27a77c19f4481640/drracket/drracket/private/drracket-normal.rkt#L19
, make sure you recompile the collections with `raco setup
drracket` for example, and restart drracket. Once you're happy with your
result, you can start wondering about how to submit your changes. (Someone
correct me if this is a bad advice!)
On Thu, May 28, 2015 at 6:18 PM, Laurent laurent.ors
, 2015 at 12:42 PM, Laurent laurent.ors...@gmail.com
wrote:
Regarding contribution, this should at least be a good start:
http://blog.racket-lang.org/2012/11/tutorial-contributing-to-racket.html
http://www.greghendershott.com/2013/04/a-guide-for-infrequent-contributors-to-racket.html
was worried about the communication of positions later on.
Robby
On Friday, May 29, 2015, Laurent laurent.ors...@gmail.com wrote:
I was optimistic this could work because when you launch DrRacket with
bad flags it tries to open files with these names, at least on Ubuntu:
$ drracket my-file.rkt
Hi Lux,
Do you mean opening the file from a menu within DrRacket or from the
outside, like from the command line?
On Thu, May 28, 2015 at 8:40 AM, Lux glsdes...@gmail.com wrote:
As much as I love vim/gvim and configured it to do anything I want, I can
not code anymore without DrRacket.
).
On Thu, May 28, 2015 at 11:54 AM, Lux glsdes...@gmail.com wrote:
Do you mean opening the file from a menu within DrRacket or from the
outside, like from the command line?
Hi Laurent, thanks for your answer. Yes, I mean from the command line
(more specifically I need it to be launched
until it is called.
Laurent
On Sun, May 24, 2015 at 8:20 AM, Michael Tiedtke
michael.tied...@o2online.de wrote:
I'm used to check for the presence of a definition of a given symbol with
(defined? symbol)
Probably I still remember that from GNU Guile Scheme but I was not able
to find
Point in case: Greg Hendershott's recent blog post about adapting struct
constructors to use keyword arguments using syntax-parse.
http://www.greghendershott.com/2015/07/keyword-structs-revisited.html
On Mon, Jul 6, 2015 at 4:35 PM, Alexis King lexi.lam...@gmail.com wrote:
I’ll second Stephen’s
really like to avoid
copy/paste/maintain, but these procedures are also inside intensive loops,
so I'd really like to not sacrifice speed.
Is there a better way to write this code with copy/paste to allow for
optimizations?
Thanks,
Laurent
--
You received this message because you are subscribed
, Laurent wrote:
Hi,
A little stress test seems to suggest that the JIT is currently not able
to
optimize closures with static arguments:
https://gist.github.com/Metaxal/4beb286cacc0966b433a
That's a simplified version of some cases of mine where several complex
procedures that look
if
such a procedure could be optimized.
On Fri, Jul 31, 2015 at 2:05 PM, Laurent laurent.ors...@gmail.com wrote:
Hi,
A little stress test seems to suggest that the JIT is currently not able
to optimize closures with static arguments:
https://gist.github.com/Metaxal/4beb286cacc0966b433a
That's
and then I'm not sure what precisely
I'm measuring.
On Fri, Jul 31, 2015 at 4:25 PM, Vincent St-Amour
stamo...@eecs.northwestern.edu wrote:
FWIW, the optimization coach reports these kinds of issues, and
recommends that solution.
Vincent
On Fri, 31 Jul 2015 09:03:53 -0500,
Laurent wrote:
Oh
On Fri, Jul 31, 2015 at 5:40 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
At Fri, 31 Jul 2015 15:03:53 +0100, Laurent wrote:
I don't really understand why `in-range` makes such a difference. It
looks
like the kind of sequence iterator is tested at each step, whereas I was
expecting
:15 +0100, Laurent wrote:
On Fri, Jul 31, 2015 at 5:40 PM, Matthew Flatt mfl...@cs.utah.edu
wrote:
At Fri, 31 Jul 2015 15:03:53 +0100, Laurent wrote:
I don't really understand why `in-range` makes such a difference. It
looks
like the kind of sequence iterator is tested at each
eventually.
Relevant people CCed.
-- Matthias
On Jul 16, 2015, at 12:15 PM, Laurent laurent.ors...@gmail.com wrote:
I'm surprised by the slowness of animations in a canvas. Here's a simple
stress test:
https://gist.github.com/Metaxal/73897e7bac5332054511
For a 100x100 board it takes 2
I'm surprised by the slowness of animations in a canvas. Here's a simple
stress test:
https://gist.github.com/Metaxal/73897e7bac5332054511
For a 100x100 board it takes 2 seconds to draw 10 random frames (outside
DrRacket of course). I was expecting at least 10x more frames per second.
Is there
f._%28%28lib._math%2Fflonum..rkt%29._fllog1p%29%29
> <http://docs.racket-lang.org/math/flonum.html#(def._((lib._math/flonum..rkt)._fllog1p))>
>
>
> On Oct 20, 2015, at 9:24 AM, Paolo Giarrusso <p.giarru...@gmail.com>
> wrote:
>
> On Tuesday, October 20, 2015 at 12:15:2
Apparently the same team also wrote bindings to Selenium:
https://github.com/untyped/selenium
The last update was in 2011, though, but it may still be worth a try.
Laurent
On Sun, Oct 25, 2015 at 9:18 AM, timothy george <timothyageo...@gmail.com>
wrote:
> Hello everyone,
>
> I'm
On Wed, Oct 21, 2015 at 11:24 PM, Paolo Giarrusso <p.giarru...@gmail.com>
wrote:
> On 20 October 2015 at 16:44, Laurent <laurent.ors...@gmail.com> wrote:
> > Thanks Paolo, yes, I saw that indeed and it is most likely relevant. I
> was
> > hoping my problem would
characters to prefix
a keyword argument is a lot though, especially when one uses them so much.
Laurent
--
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
e that any correct log-space operation remains a log-probability
(i.e., never goes above 0).
Thanks,
Laurent
--
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 em
on
my part in my equations or in their implementation.
On Tue, Oct 20, 2015 at 2:24 PM, Paolo Giarrusso <p.giarru...@gmail.com>
wrote:
> On Tuesday, October 20, 2015 at 12:15:21 PM UTC+2, Laurent Orseau wrote:
> > The built-in log-space arithmetic operations are wonderful. (Thanks
com>
wrote:
> On 6 October 2015 at 01:45, Aman <amangpt...@gmail.com> wrote:
> >
> > Thanks Laurent and Paolo. When you say (send a-text insert string), how
> are you getting a-text ?
>
> > What I wanted was not to design a new editor window, but to modify or
I second all this with all my heart. Programming with Racket/DrRacket is a
complete delight, and indeed the plot lib in particular is just marvel.
Thanks to you all for making this possible.
On Fri, Nov 13, 2015 at 9:17 AM, Lux wrote:
> I also like to thank you all for the
Related topic, in case this can help:
http://thread.gmane.org/gmane.comp.lang.racket.user/19305
Note the suggestion about a gracket window.
Laurent
On Tue, Sep 8, 2015 at 5:29 PM, Robby Findler <ro...@eecs.northwestern.edu>
wrote:
> Unfortunately not.
>
> Robby
>
> On Sun
I don't think there is anything like this right now, but in case anyone
wants to do that, my first impression is, that such a command should not
completely erase the previous content but only hide it (by scrolling down
for example). I tried very quickly to do that using `set-position` of
`text%`
On Tue, Sep 22, 2015 at 1:14 PM, Laurent <laurent.ors...@gmail.com> wrote:
> Also, were the passwords salted?
>
Sorry, I pressed 'Send' too early: the website says the passwords are
stored in bcrypt format.
--
You received this message because you are subscribed to the Google Gro
or is it part of some maintenance task?
Laurent
On Tue, Sep 22, 2015 at 5:37 AM, Alexis King <lexi.lam...@gmail.com> wrote:
> > * Change your password on the http://pkgs.racket-lang.org site.
>
> For anyone confused about how to do this, I just spent a few minutes
> trying to
Although the file says:
"Open this file in DrRacket version 6.5 or later to read it."
So it doesn't look like it requires an old version of Racket. (not really
helping, sorry)
On Mon, Jun 6, 2016 at 9:00 AM, George Neuner wrote:
> On 6/6/2016 3:27 AM, 张可星 wrote:
>
>> I
Ah, so you meant MrEd Designer (MED) then, I wasn't sure :)
(mred was the previous GUI lib, part of DrScheme, whereas MED is an
external package)
Actually, it doesn't look like it was created by MED to me, at least not my
versions (3.x), which generate only text files anyway (I think the previous
I would be so happy if this kind of error could be resolved! (even when all
files are compiled by DrRacket)
Usually, I just turn off "populate 'compiled' directories", but then
DrRacket needs to compile the file on each F5, which can take some precious
time.
Thank you both then :)
On Sun, Jan 31,
/Metaxal/MrEd-Designer/wiki/Developer%27s-Documentation
HTH,
Laurent
On Tue, Feb 7, 2017 at 2:36 PM, Matthias Felleisen <matth...@ccs.neu.edu>
wrote:
>
> Erich, your needs sound very much like those of DrRacket’s.
> You may wish to study how DrRacket loads tools (as in take
> a
:10 UTC+1, Laurent Orseau a écrit :
> > Btw, with "Macro Hiding: Disabled" we can see that after foo is turned
> into #'1 (printed '1' in the macro stepper), then the 1 is 'tagged' with
> (#%datum . 1) and then right after that turned into (quote 1). Is the
> tagging step necessary
Very nice example, thanks Georges.
Btw, with "Macro Hiding: Disabled" we can see that after foo is turned into
#'1 (printed '1' in the macro stepper), then the 1 is 'tagged' with
(#%datum . 1) and then right after that turned into (quote 1). Is the
tagging step necessary for numbers?
On Fri,
Thanks, that's very informative!
On Fri, Feb 3, 2017 at 10:38 AM, Dupéron Georges <
jahvascriptman...@gmail.com> wrote:
> Le vendredi 3 février 2017 11:28:47 UTC+1, Laurent Orseau a écrit :
> > I see. So basically all #% things are extension points?
> > The list fo
can choose afterwards what submodules to enter.
Thanks,
Laurent
--
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.c
for example.
>
> I've been thinking that this needs cleanup but haven't find time to
> actually do it, sadly.
>
> Robby
>
>
> On Tue, Jan 24, 2017 at 11:13 AM, Laurent <laurent.ors...@gmail.com>
> wrote:
> > Hi all,
> >
> > Currently we can choose w
ime, for example.
>>
>> I've been thinking that this needs cleanup but haven't find time to
>> actually do it, sadly.
>>
>> Robby
>>
>>
>> On Tue, Jan 24, 2017 at 11:13 AM, Laurent <laurent.ors...@gmail.com>
>> wrote:
>>
>
Let me join Konrad to thank you all again for all the time and effort you
put into making this wonderful tool(box)* that is Racket!
On Wed, Jan 25, 2017 at 8:25 AM, Konrad Hinsen
wrote:
> On 24/01/17 22:04, Vincent St-Amour wrote:
>
> Racket version 6.8 is now
I agree that in the TOC of the docs it would probably be better to separate
third party packages, maybe simply as a dedicated section or add
'(contributed package)' next to it.
On 30 Jan 2017 9:13 pm, "Matthew Butterick" wrote:
On Jan 30, 2017, at 11:42 AM, Leif Andersen
Hi there,
Just FYI, for code that you want to share in a simple way, you can use
pasterack.org (or gist.github.com ). Here's your code:
http://pasterack.org/pastes/5961
On Sun, Jan 29, 2017 at 12:12 AM, Huang, Ying
wrote:
> Hi, All,
>
> Previously I use imapfilter
indler <ro...@eecs.northwestern.edu>
wrote:
> I think it would be great to adjust the one that DrRacket uses to use
> this one. Is that in a pkg somewhere? Or would it be better to just
> drop it into the existing one?
>
> Robby
>
>
> On Sat, Nov 5, 2016 at 7:31 AM,
ed on
http://milde.users.sourceforge.net/LUCR/Math/
HTH,
Laurent
On Fri, Nov 4, 2016 at 7:50 PM, Vincent St-Amour <
stamo...@eecs.northwestern.edu> wrote:
> Hi Kelly,
>
> The table's source is there:
>
> https://github.com/racket/gui/blob/master/tex-table/tex-table.rkt
>
> It doesn't
the (faulty) code:
https://gist.github.com/Metaxal/e4ac303d442cbf9fb7f3edc21d8a9019
Anyone has an idea about what goes wrong here?
Thanks,
Laurent
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop
ece
> missing from the explanations that I didn't think to ask about.
> Finger's crossed that it helps!
>
> In any case, if you are still experiencing the bad symptom after you
> get the latest code, please let me know.
>
> Thanks,
> Robby
>
> On Mon, Feb 1, 2016 at 9
#%28def._%28%28lib._mred%2Fmain..rkt%29._open-input-text-editor%29%29
)
HTH,
Laurent
On Sun, Oct 30, 2016 at 2:54 PM, Ken MacKenzie <deviloc...@gmail.com> wrote:
> So a curiosity question. Right now I am reading in a line of terminal
> input from the user and handling it. I am thinking
))
(if (and (exact-nonnegative-integer? idx)
(< idx N))
(list-ref string-list idx)
""))
One last problem that may remain is that in my logs sometimes some integers
values are skipped, but this doesn't seem to appear on the screen, so maybe
these are just temporary values.
Thanks!
Laurent
O
t;Can you see me?"))
Anyone knows a simple way to solve this?
Thanks!
Laurent
--
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
indler <ro...@eecs.northwestern.edu>
wrote:
> My guess would be that the problem lies with the pict-snip% class and
> how it implements the methods with the word "scroll" in their name.
>
> Robby
>
>
> On Fri, Aug 11, 2017 at 7:58 AM, Laurent <laurent.ors...@gmail.com> w
(yet another shameless self-promotion, but hopefully this can be of some
help.)
If you really want to add menu items for such small tasks, you can use the
script-plugin [1] which adds a easily modifiable Scripts menu item. There's
already a "Scripts/Utils/Open file directory" menu item there.
There's something like that buried in my bazaar package, maybe it's
sufficient for your needs:
https://github.com/Metaxal/bazaar/blob/master/text-table.rkt
The main submodule prints the examples.
It provides two ways to output tables. The first one 'table->string' is the
simplest one and the
> > Awesome! You’ve saved me hours.
>
> One simple thing: could you add the tags “tabular” and maybe also “format”
> or “text”? I’m afraid that in its current form, I wouldn’t have found this
> package when searching for it.
>
Done!
Any other comments or suggestions welcome of course.
--
You
example.
On Fri, Sep 22, 2017 at 9:50 AM, Laurent <laurent.ors...@gmail.com> wrote:
> There's something like that buried in my bazaar package, maybe it's
> sufficient for your needs:
> https://github.com/Metaxal/bazaar/blob/master/text-table.rkt
>
> The main submodul
A new version of MrEd Designer (package 'mred-designer') is available:
https://pkgd.racket-lang.org/pkgn/package/mred-designer
MrEd Designer is WYSIWYG program to create GUI applications for Racket.
The changes are relatively minor in quantity, but I've made a number of
small improvements to the
Hi,
Does anyone know a good explanation as to why the following code works
depending on whether the apparently-useless line is commented out?
#lang racket
#;(new object%) ; uncommenting this raises an error
(define-namespace-anchor nsa)
(define ns (namespace-anchor->namespace nsa))
(eval '(new
highlights are fghj. I recommend using emac's overwrite or
> artist-mode.
>
> Jay
>
>
> On Sat, Aug 26, 2017 at 9:28 AM, Laurent <laurent.ors...@gmail.com> wrote:
> > Hi,
> >
> > (mostly for Jay, but might be useful to others)
> >
> > The apse[1]
Hi,
(mostly for Jay, but might be useful to others)
The apse[1] sprite editor sounds like a nice tool, but I couldn't find a
way to start it. How does it work?
Thanks!
Laurent
[1] https://pkgs.racket-lang.org/package/apse
--
You received this message because you are subscribed to the Google
Same problem for me on 6.10.0.3 on Ubuntu 64bits. Unchecking then
rechecking the blue box checkbox in the preferences doesn't change
anything. I'll make a bug report.
On Sun, Aug 27, 2017 at 7:11 AM, hashim muqtadir
wrote:
> Hello,
> I recently updated to Racket 6.10
It's about non-teaching, which I suspect will not be in my favour :)
On Fri, Aug 25, 2017 at 1:31 PM, Matthias Felleisen <matth...@ccs.neu.edu>
wrote:
>
> On Aug 25, 2017, at 7:43 AM, Laurent <laurent.ors...@gmail.com> wrote:
>
> Hi all,
>
> 2htdp is really neat
/htdp-lib/2htdp/universe.rkt#L139
though I'm not sure what the format for a pair of numbers would be, or if
it would be better in on-draw instead (or if parameters wouldn't be better
for this, but 2htdp doesn't seem to use many parameters).
Any advice?
Thanks!
Laurent
--
You received this message
On Fri, Aug 25, 2017 at 2:44 PM, Matthias Felleisen
wrote:
>
> :-)
>
> That’s not what I meant. I think that I need to figure out
> how to produce two version of ‘universe’ for the non-teaching
> world w/o completely forking the repo:
>
> — a functional one
> — an
Great, thanks, I'll take a look this weekend.
On Fri, Aug 25, 2017 at 6:01 PM, Jay McCarthy <jay.mccar...@gmail.com>
wrote:
> On Fri, Aug 25, 2017 at 11:46 AM, Laurent <laurent.ors...@gmail.com>
> wrote:
> > Jay: Oh that's right, I'd forgotten about Lux! Thanks for the
The style guide Jack mentions is not really about the /library's/ name, but
rather about the data type of the main (usually the first) argument, as
saide. For example you could have a library called `my-wonderful-lib' that
experts `vector-splendify', which takes a vector as its first argument.
On
On Tue, Aug 29, 2017 at 11:12 AM, Neil Van Dyke
wrote:
>
> (Someday, I will have time to release a package that changes how
> `define-struct`/`struct` identifiers are generated, to use `.` or `:`. To
> at least have the appearance of being more idiomatic, to hint at the
>
lift-expression` (as used by `new`) and `expand` (as used
> by errortrace, which is used by DrRacket).
>
> At Sun, 1 Oct 2017 16:05:16 +0100, Laurent wrote:
> > Hi,
> >
> > Does anyone know a good explanation as to why the following code works
> > depending on whet
layed with 'dynamic-require' and submodules with some limited success
but couldn't achieve the goal above. Any idea?
(Also, I have several files like 'my-file.rkt' that the user can choose
from.)
Thanks,
Laurent
--
You received this message because you are subscribed to the Google Groups
"Rac
vate/submodule.rkt
>
> /Applications/Racket v6.11/collects/racket/private/submodule.rkt
>
>
> Stephen
>
>
> On Sun, Dec 17, 2017 at 10:36 AM, Laurent <laurent.ors...@gmail.com>
> wrote:
>
>> Also, I can't find where module+ is defined. Anyone has a pointer?
>>
>
Excellent, thanks a lot!
On Sat, Dec 16, 2017 at 8:44 PM, Matthew Flatt wrote:
> [...]
>
(set! submodule-content
>(cons (syntax-local-introduce
> #`(begin
> (provide proc)
> (define proc (list
Also, I can't find where module+ is defined. Anyone has a pointer?
On Sun, Dec 17, 2017 at 9:34 AM, Laurent <laurent.ors...@gmail.com> wrote:
> Excellent, thanks a lot!
>
> On Sat, Dec 16, 2017 at 8:44 PM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
>
>> [...]
>
You could also have a third file, test-a-and-b.rkt, that requires both
a.rkt and b.rkt and includes the test that depend on both files.
On Mon, May 28, 2018 at 10:08 AM Claes Wallin (韋嘉誠)
wrote:
> (require) binds at compile time and creates a cycle, but by using
>
On Fri, Jan 5, 2018 at 5:42 PM, Hendrik Boom wrote:
> Long ago in the 60's, on an old PDP-11 running an early Unix, I
> implemented a Live using quad-trees for storage after I noticed by
> drawing on a lengthy printout that at each level of the quadtree, only
> about half
Maybe you can use snips% inside a single editor%?
Snips can be text or pictures or other things.
On Wed, Jan 10, 2018 at 9:58 PM, Christopher Lemmer Webber <
cweb...@dustycloud.org> wrote:
> Christopher Lemmer Webber writes:
>
> > Matthew Flatt writes:
> >
> >> At Wed, 10 Jan 2018 10:29:28
On Wed, Jan 10, 2018 at 6:20 AM, Christopher Lemmer Webber <
cweb...@dustycloud.org> wrote:
> So now I've got some text that renders okay, it line wraps, etc etc.
> The problem is, I want to add a panel with a bunch of these, and I want
> each of these "rich text" things to be exactly the height
This is awesome! Thanks so much for doing this, I'm sure it's going to be
very handy.
On Sat, Feb 3, 2018 at 7:08 AM, Alex Harsanyi
wrote:
>
> Hi Matthias,
>
> I updated the plot package to cover all the cases I had in mind for plot
> overlays and also updated my
Not sure there should be a -nan.0 to start with. NaN is an absorbing value
that shouldn't have a sign. I suspect it's because the + is a convenience
to trigger the number reader, and then an appeal to symmetry and analogy to
+inf.0 led to -nan.0?
On Mon, Feb 5, 2018 at 11:46 PM, Ben Greenman
It's because PLaneT is deprecated. The new package repository is located at:
http://pkgs.racket-lang.org/
HTH,
Laurent
On Sat, Sep 8, 2018 at 4:26 PM Sage Gerard wrote:
> Hey all,
>
> I cannot seem to create an account on PLaneT. No confirmation emails (even
> in Spam). Tried
Take at look at Racket's `for' loops. They are very flexible.
The reference:
http://docs.racket-lang.org/reference/for.html?q=for#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._for%29%29
The guide with examples:
http://docs.racket-lang.org/guide/for.html
On Sun, Apr 1, 2018 at 10:14 AM,
:33 AM, 若草春男 <whbug...@gmail.com> wrote:
> Thank you, Laurent.
>
> I mind the performance of in-range, but it seems to be no problem.
>
> #lang racket
>
> (time (for ([i (in-range 1)])
> (for ([j (in-range 1000)])
> (void
>
>
The quickscript-extra package (a DrRacket plugin) provides such a facility
(the 'bookmarks' script), among many other things:
https://pkgs.racket-lang.org/package/quickscript-extra
It's not perfect but should still be helpful. In case it doesn't suit you
needs, quickscript should allow you to
On Sun, Sep 23, 2018 at 6:41 PM Neil Van Dyke wrote:
> Laurent wrote on 9/19/18 8:29 AM:
> > I don't mind `#:`, but I'd prefer to write `[#:foo 5]` rather than
> > `#:foo [foo 5]`, that is, I don't like the repetition of the name (I
> > first came to Racket precisely to
Same here, I've grown happy with the #:keyword notation because it is a
reader thing, not a symbol.
The other nice option would be like Python and others to make procedure
implicitly take dictionaries to allow choosing at each call site between
position-based and name-based argument passing for
I don't mind `#:`, but I'd prefer to write `[#:foo 5]` rather than `#:foo
[foo 5]`, that is, I don't like the repetition of the name (I first came to
Racket precisely to avoid repeating code).
When I expressed that a few years ago, I was told it would be unlikely to
change in the future though,
I'm not entirely sure where I got that from, but to me a procedure is a
("impure") function with possible side effects (printing, mutating a global
variable, sending emails, etc.). By contrast, in any given context, a
function is (again, to me) synonymous with "pure function"(*) and can be
called
Personally, I use a 'drracket' submodule so that this submodule isn't
executed from the command line, but gets executed from within DrRacket.
This is particularly useful to avoid outputting graphical objects (such as
plots) that can't be displayed on the command line.
After pressing Run in
Maybe you could have something like (in-match ...) ?
On Fri, Nov 23, 2018 at 4:54 PM Alexis King wrote:
> The trouble, sadly, is that this grammar is ambiguous. In
>
> (for ([(x y) s])
> )
>
> should (x y) be parsed as a single match pattern or as two binders for a
> two-valued
Wait, that means that in an interactive session, if you ever happen to
redefine `else', you can't use `case' anymore?
On Tue, Feb 26, 2019 at 5:03 AM Ben Greenman
wrote:
> Here's a suggestion for the docs:
>
> https://github.com/racket/racket/pull/2505
>
> --
> You received this message because
A long time ago I had a need for this too, so I just made one for me:
https://github.com/Metaxal/bazaar/blob/master/slideshow/slideshow-tree.rkt
The behaviour is a bit different from pict/tree-layout.
There's an example usage in the drracket submodule at the end of the file
that produces:
[image:
Good point. I wasn't sure that would work---it does.
On Wed, Feb 27, 2019 at 1:28 PM Jens Axel Søgaard
wrote:
> I suppose you could (re)require it again.
>
> ons. 27. feb. 2019 kl. 14.19 skrev Laurent :
>
>> Wait, that means that in an interactive session, if you ever hap
Not sure how much this would help you, but there's a `text-table`package.
It's fairly simple though.
Docs: https://docs.racket-lang.org/text-table/index.html
On Wed, Mar 13, 2019 at 6:19 PM Matt Jadud wrote:
> Hi all,
>
> I have a tabular data type that I'd like (I think) to be able to render
This is a fantastic idea, Alex. (While I'm at it, thanks for all your other
projects related to the GUI, they are really cool.)
I'm *very* much in favour of all your points, (1) to (4).
I've had uses of different colors scheme for academic papers, and the
default palette doesn't work well for
1 - 100 of 196 matches
Mail list logo