For snips that are interactive, there is a separate mechanism, which
isn't so great. You have to actually have a tool that calls
drracket:language:add-snip-value. This is a way to circumvent trust
issues, since the callbacks for the snip are happening in the DrRacket
eventspace, not the user's one.
I would also like to have the sound appear in the REPL, as you describe.
Indeed, it might not even be that hard. The key here is to get ...
... okay, lemme just ask:
Robby, if I want a value to be displayed as a snip (with interesting
clickable behavior) in DrRacket, would I be using a gen:custom
> The empty list is also a list of cheeses.
Further down that road, I was a tiny bit surprised recently to discover
that `andmap` returns true for any predicate when the input list is empty
[1], but then I saw how it's a natural consequence of this principle. Empty
is a member of every list, thus
2015-01-02 23:58 GMT+01:00 Frank Weytjens :
> Happy new year Racketeers,
> An empty list is a list, but is it a lat ?
> If you give an empty list as argument to the lat?-function, the answer is
> yes. But an atom must be a string of characters or numbers, or even one
> character, or a combination
The addition "at least" does it.
Thanks, Jos
_
From: Carl Eastlund [mailto:carl.eastl...@gmail.com]
Sent: 03 January 2015 20:17
To: Jos Koot
Cc: Matthias Felleisen; Frank Weytjens; users Users
Subject: Re: [racket] Little Schemer, lat?
Because all-true and all-false are both all-someth
Because all-true and all-false are both all-something, they are both
written (and), not (or). If you want something corresponding to (or), you
need at-least-one-true or at-least-one-false. In general, all-true is the
negation of at-least-one-false, and all-false is the negation of
at-least-one-tr
Matthias, you write:
all-true is the same as cannot-find-a-false-on-the-list.
Then I take an inverse:
all-false is the same as cannot-find-a-true-on-the-list.
But we have (in Racket):
(and) -> #t
(or) -> #f
Something is wrong with the inversion. But what?
Happy new year to all, Jos
On 01/02/2015 11:30 PM, Matthew Flatt wrote:
> At Fri, 02 Jan 2015 14:17:02 -0500, Tony Garnock-Jones wrote:
> Meanwhile, I keep thinking that `make update` should be just `make`.
> That is, a `make` that isn't the first `make` should produce the same
> result as if it had been the first `make` ---
On Jan 2, 2015, at 10:08 PM, Darren Cruse wrote:
> a. Testing
>
> Regarding my poor attitude towards TDD... :) I have been trying to take
> everyone's comments to heart and have been attempting to get that black
> background stuff off of drracket for my pong program!!
HtDP is NOT TDD. (I le
Never mind ... it was my late night mistake.
Sorry to bother everyone.
Thanks,
George
Racket Users list:
http://lists.racket-lang.org/users
Hi all,
Using 6.0.1, webserver and postgresql.
Got a weird problem:
I have a servlet that uses Postgresql's tsquery function to do a text
search. tsquery requires a particular syntax in its search string, but
I can't guarantee that the provided string will be valid (too many
variations),
11 matches
Mail list logo