On Jun 30, 2015, at 6:43 PM, George Neuner wrote:
> On 6/30/2015 5:34 PM, 'John Clements' via Racket Users wrote:
>> > On Jun 30, 2015, at 8:10 AM, Alexey Cherkaev
>> > wrote:
>> >
>> > ... wouldn't it be beneficial to have such a generalised 'set!'
>> > system-wide? I understand that Racket f
Racket does have 'make-set!-transformer' that allows you to define
syntax that cooperates with 'set!'. I think that might work if you are
defining your own datatype. Have you seen that?
Thanks,
Dave
On 06/30/2015 11:10 AM, Alexey Cherkaev wrote:
Hi Alexander,
Thanks for your reply: I had s
I have implemented generalized `set!` in Racket before, as a cute
exploratory exercise, but I haven't found a sufficiently compelling
benefit of generalized `set!`.
The closest I've imagined to benefit of generalized `set!`: let's say
you had really terse but nice referencing syntax for comple
On Jun 30, 2015, at 5:34 PM, 'John Clements' via Racket Users
wrote:
> Specifically, one of the basic ideas of algebraic languages is that programs
> are compositional. Specifically, if I write (a (b x) c), then the meaning of
> this term depends on the meanings of a, (b x), and c. That is, I
On 06/30/2015 07:27 PM, 'John Clements' via Racket Users wrote:
On Jun 30, 2015, at 3:43 PM, George Neuner wrote:
that's just semantics.
XD
Let me expound a bit on John's pure-functional snooty-poo reply.
Semantics - what programs mean - is everything. Exactly how they're
compiled, inte
> On Jun 30, 2015, at 3:43 PM, George Neuner wrote:
>
> that's just semantics.
XD
--
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...
On 6/30/2015 5:34 PM, 'John Clements' via Racket Users wrote:
> On Jun 30, 2015, at 8:10 AM, Alexey Cherkaev
wrote:
>
> ... wouldn't it be beneficial to have such a generalised 'set!' system-wide?
I understand that Racket focusses more on immutable structures, but there are
still vectors and
> On Jun 30, 2015, at 8:10 AM, Alexey Cherkaev
> wrote:
>
> Hi Alexander,
>
> Thanks for your reply: I had something similar in mind (maybe I should check
> out math/array). I was just wondering if there was something more Racket-like
> (it still feels that SRFI is somewhat 'foreign' hack).
As the mentioned SRFI states it:
"This is a proposal to allow procedure calls that evaluate to the "value
of a location" to be used to /set/ the value of the location, when used
as the first operand of |set!|."
The term "location" is only used in the introductory part but for those
who know t
Hi Alexander,
Thanks for your reply: I had something similar in mind (maybe I should
check out math/array). I was just wondering if there was something more
Racket-like (it still feels that SRFI is somewhat 'foreign' hack). And my
last question remains: wouldn't it be beneficial to have such a gen
Hi Yuhao: The Scribble indentation mode is currently implemented by
adding a keymap that overrides the tab key. You can find the
implementation here of the callback itself here:
https://github.com/racket/gui/blob/master/gui-lib/scribble/private/indentation.rkt
and the code that communicates with
On Jun 30, 2015, at 8:23 AM, Daniel Bastos wrote:
> At some point I should move to full-fledged Racket. I suppose after
> HtDP I should read another book. Perhaps Realm of Racket?
When you have mastered a good part of HtDP, you should move on to Realm.
-- Matthias
--
You received this messa
I don't believe there is a way to do what you are looking to do within
ISL+. To import *just* those two things in full-fledged Racket, one
would do (you may or may not already know this):
(require (only-in math/number-theory factorize))
(require (only-in racket/list remove-duplicates))
The prob
Hi Daniel,
The problems is that math/number-threory and racket/list
both export an function named permutations.
You are right that rename-in or prefix-in could be used to
fix the problem in "full" Racket. In order to handle the
situation in ISL+ I suggest to make an extra file:
File: "no-conflic
I'm getting "module: identifier already imported from a different
source" when I require these two modules.
(require math/number-theory)
(require racket/list)
I want factorize from math/number-theory and remove-duplicates from racket/list.
I've seen old messages about this error, but they seemed
Would using select() instead of poll() avoid the problem? You could try
a Racket build that uses select() by changing "mzconfig.h" as generated
by `configure` to not define `HAVE_POLL_SYSCALL`.
The `configure` script's check for poll() could be disabled easily on
Solaris if using poll() is a bad i
Finally I found the root cause is that pollsys is called too frequently.
and this problem seems quite normal in Solaris family.
I don't think I can solve it on my own,
Solaris-specific JVM provides an option `PerfDataSamplingInterval` as a
workaround.
Meanwhile I have to restart the daemon as long
17 matches
Mail list logo