Question about different ways of feeding input to Scribble, and whether
Scribble insists on reading input from files itself for some purposes
I want to write some code that takes a source document that's not in
Scribble language, and produces a document that can be used with the
Scribble t
30 minutes ago, Neil Van Dyke wrote:
> However, in the future, I would like to treat the "#:val" and
> "#:exn" specially, but to make all the effects testing be plugins,
> for extensibility. The "test" macro could then consult the test
> context to get the sequence of effects to be tested, and wou
Thanks for the comments, Noel.
Noel Welsh wrote at 08/27/2011 05:21 PM:
I think the keyword argument method is a mistake. It seems you'd have
to do a lot of checking in the test macro to make sure the user
doesn't specify non-sensical parameters. E.g. if I specify #:exn and
#:val what happens?
On Sat, Aug 27, 2011 at 10:10, Robby Findler
wrote:
> It made me want to make a similar puzzle for learning Racket. But I
> don't know how effective such things are.
A few months ago I was looking at a job posting that had a several
puzzles that involved Javascript and CSS tricks, and in the end
I think such things can be hugely motivating!
Although not as puzzley as pythonchallenge, recently I've been hearing
some buzz about Clojure's puzzle intro site called 4clojure.com. All
the "puzzles" are just fill in the blank programming problems.
Nothing that seems like it would be hugely excit
I have a number of odds and ends that I've been un-mothballing and moving to
typed/racket which are currently in various states of entropy: crypto sha1,
md5, sha256, hmac-xxx, AWS, S3, Amazon Product API, HTTP client library and
a few odds and ends.It was all originally R6RS / Larceny so the b
On Sat, Aug 27, 2011 at 6:20 PM, Grant Rettke wrote:
> Writing books is hard from what I hear.
Indeed.
> Lot of Racketeers individually want to do it.
>
> Perhaps there is an opportunity for collaboration?
We'll see. I've set out my stall, more or less. There is a reasonably
detailed plan and t
Some quick notes:
Generally good. Certainly cuts down on some of the crap that Rackunit
/ Schemeunit requires while being more comprehensible than eli-tester.
---
I think the keyword argument method is a mistake. It seems you'd have
to do a lot of checking in the test macro to make sure the user
> > Are you saying that access to PostgreSQL and MySQL DBs runs without
> > having any native client libraries installed? If this is correct, did
> > you re-implement in Racket the network protocol used to access these
> > DBs?
>
> Yes to both.
Wow. I didn't even know those protocols where docume
- Forwarded Message -
> From: Matthew Flatt
> I'm puzzled by the warnings, where the same collection is named in two
> ways. Can you show the command line that produced this output?
raco setup carali
Actually, you can visit the root of the project at this link:
https://github.com/bl
I believe I've visited it a few times in the past. Very nice, and has many
things i'd like to achieve, some characteristics that I'm trying avoid, but
most of all a bit different in profile. I'm hoping to bring something new
and complementory, not just another copy.
Being accessible to all and ha
I'm puzzled by the warnings, where the same collection is named in two
ways. Can you show the command line that produced this output?
At Sat, 27 Aug 2011 19:47:27 +0100 (BST), Mark Carter wrote:
> I'm trying to build some documentation for my modules, although it's far from
> clear what the proce
For the most part, getting rid of units in net is straightforward.
However, I'm not sure what people have in mind for the tcp^ sig.
1) net/tcp-redirect provides a single function, tcp-redirect, which
returns a unit implementing tcp^. Is there a consensus on what to do
with this function? Remove it
I'm trying to build some documentation for my modules, although it's far from
clear what the procedure should be.
I can use my module, but I can't access its help from F1 within DrRacket. I
have issued the command
raco setup carali
and I have obtained the output:
raco setup: version: 5.1.2.3 [
The language of unit signatures
(http://download.plt-scheme.org/doc/4.2.1/html/reference/define-sig-form.html)
has an #:omit-constructor keyword option for the 'struct' subform, but
provide's 'struct-out' subform has no corresponding option. Does this
exist in some library somewhere? Specifically,
On Sat, Aug 27, 2011 at 10:39 AM, Matthias Felleisen
wrote:
>
> We need books. Someone go for it.
Writing books is hard from what I hear.
Lot of Racketeers individually want to do it.
Perhaps there is an opportunity for collaboration?
The Real World Haskell book was pretty interesting:
1. Deve
My daily Racketeering is puzzling enough! (and it pays the bills)
RAC
On Aug 27, 2011, at 11:10 AM, Robby Findler wrote:
> It made me want to make a similar puzzle for learning Racket. But I
> don't know how effective such things are.
>
> Robby
>
> On Sat, Aug 27, 2011 at 11:33 AM, Stephen Ch
It made me want to make a similar puzzle for learning Racket. But I
don't know how effective such things are.
Robby
On Sat, Aug 27, 2011 at 11:33 AM, Stephen Chang wrote:
> It looks like many of the puzzles require python-specific libraries,
> of which there's no Racket equivalent. Something to
It looks like many of the puzzles require python-specific libraries,
of which there's no Racket equivalent. Something to add to the Racket
task list?
On Sat, Aug 27, 2011 at 11:57 AM, David Van Horn wrote:
> On 8/27/11 8:46 AM, Robby Findler wrote:
>>
>> It also looks like there are solutions f
On 8/27/11 8:46 AM, Robby Findler wrote:
It also looks like there are solutions for lots of languages on a wiki
... but not Racket.
I worked through the first three.
https://gist.github.com/f8898fe28bd54852a745
https://gist.github.com/3c84d799be53c9632027
https://gist.github.com/3ad26a049df5cf
We need books. Someone go for it.
On Aug 27, 2011, at 3:13 AM, Noel Welsh wrote:
> Hi all,
>
> From time to time I've taken a crack at writing a book on Racket. I
> had big plans for it, but I've realised I don't have the time to
> fulfil them. I've put the text on here:
>
> https://github.
It also looks like there are solutions for lots of languages on a wiki
... but not Racket.
Robby
On Fri, Aug 26, 2011 at 8:18 PM, Grant Rettke wrote:
> Yes it is intended for Python but it looks fun in any language:
>
> http://www.pythonchallenge.com/
> __
On 8/27/11 10:04 AM, Neil Van Dyke wrote:
#lang racket/base
(define str "17.4 25.4 15.7 13.7 19.4 20.9 ")
(regexp-split #rx"[ \t]+" str)
or with posix character class:
(regexp-split #px"[[:space:]]+" str)
_
For list-related administrative tasks:
I don't know about ":space:", but you can do regexp character classes
the old-fashioned way:
#lang racket/base
(define str "17.4 25.4 15.7 13.7 19.4 20.9 ")
(regexp-split #rx"[ \t]+" str)
;;==> '("17.4" "25.4" "15.7" "13.7" "19.4" "20.9" "")
I also used "regexp" instead
I'm trying to do a regexp split, but I can't get it to work. Here's my code:
(require mzlib/pregexp)
(define str "17.4 25.4 15.7 13.7 19.4 20.9 ")
(pregexp-split #rx"[:space:]+" str)
The output is
'("17.4 \t25.4 \t15.7 \t13.7 \t19.4 \t20.9 \t")
which is of course not
I'm trying to do a regexp split, but I can't get it to work. Here's my code:
(require mzlib/pregexp)
(define str "17.4 25.4 15.7 13.7 19.4 20.9 ")
(pregexp-split #rx"[:space:]+" str)
The output is
'("17.4 \t25.4 \t15.7 \t13.7 \t19.4 \t20.9 \t")
which is of course not
Hi all,
>From time to time I've taken a crack at writing a book on Racket. I
had big plans for it, but I've realised I don't have the time to
fulfil them. I've put the text on here:
https://github.com/noelwelsh/making-a-racket
There isn't a lot of content but it might be of interest to some.
27 matches
Mail list logo