Is there a way to check whether there is a message available to be
picked up on a place-channel without blocking?
(If there isn't, the only way forwards for me in Racket is via a server.
possibly a tcp server, though I don't really want the handshake.
Possibly a Unix Socket Server. Possibly
I'm contemplating implementing a program in Racket, but it involves
different processes sending messages to each other, so I need to be able
to check for the presence of a message without brining everything to a
halt. In Python I'd do this using a Queue. Is there something similar
in Racket? The
racket-lang.org/reference/regexp.html#(part._regexp-syntax)
At Sat, 04 Aug 2012 14:45:30 -0700, Charles Hixson wrote:
Are there any unicode regular expression character classes?
I'm hoping for something similar to [:alpha:], etc. that are based
around, say, the first letter of the unicode charac
neral-category, but a regular expression would (should?)
be much neater.
(I know that these aren't mentioned in the documentation, but it just
says that it's talking about the "Frequently Used Character Classes",
not that there aren't any others.)
--
Charles Hixson
given in the discussion of numeric types would help.
The concept is mentioned, but I didn't encounter any examples of the
notation. A simple:
> (sqrt 2)
#i1.4142135623730951
would have clarified things.
--
Charles Hixson
Racket Users list:
http://lists.racket-
#x27;t
work in that scheme. (Or perhaps if I just set #lang R5RS it would work.)
On 04/05/2011 02:14 PM, Eduardo Bellani wrote:
There is also http://www.cs.aau.dk/~normark/schemedoc/
On 04/05/2011 05:44 PM, Charles Hixson wrote:
I've hit the noweb documentations several times, and bo
wrote:
Take a look at the `scribble/srcdoc' library:
http://docs.racket-lang.org/scribble/srcdoc.html
On Tue, Apr 5, 2011 at 4:44 PM, Charles Hixson
wrote:
I was really looking for something simple like Doxygen or Javadoc.
Something that steps through the code, looks at comments, and
ools in Racket?
On Apr 5, 2011 2:52 PM, "Charles Hixson" <mailto:charleshi...@earthlink.net>> wrote:
> Is there there a program roughly similar to doxygen or javadoc for
> Scheme or Racket?
>
> I know myself to well to believe that I will document something, and
> k
Is there there a program roughly similar to doxygen or javadoc for
Scheme or Racket?
I know myself to well to believe that I will document something, and
keep the documentation current, unless it is right next to the code
being documented. (It didn't work in Fortran or C when that's one of
t
This error:
define-values: cannot re-define a constant: string-trim
has just started to appear whenever I try to modify in the lower pane a
function that I've defined in the upper pane. I can work around it by
using a different name, but it makes it quite difficult to do
incremental developmen
This seems to be what I want the string-trim to do, but it seems that
all the string copying would be expensive. Is there a way to improve it
by avoiding the string copying?
My original inclination was to use a while loop with a test for
non-whitespace, but that appears to not be something sc
Thanks. Regular expressions *isn't* what I wanted. (When I've tried
them before [in Python] they made Python seem fast.)
On 03/31/2011 05:06 PM, Thomas Chust wrote:
2011/4/1 Charles Hixson:
[...]
I'm trying to determine whether the last non-whitespace character of a
st
Hi,
I'm trying to determine whether the last non-whitespace character of a
string is a colon, and I haven't been able to figure out the best way of
doing this. In python I'd just trim the string and look at the
character before the end, but while Racket seems to have a string-length
function,
Where can Racket be expected fall in comparison with other languages in
executable speed?
I'm looking at C-Ada-SBCL Lisp-Clojure-Java-Python-Ruby as a kind of a
rough map. I checked speeds reported by
http://shootout.alioth.debian.org/, but no Scheme language seems to be
listed.
My rough g
14 matches
Mail list logo