On Fri, Mar 25, 2016 at 11:28:25PM -0600, Richard Cleis wrote:
> "Lurking thresholds" are fun:
The Lurker at the Threshold is, of course, a classic horror story written by
August Derleth and H.P. Lovecraft.
-- hendrik
--
You received this message because you are subscribed to the Google Groups
"Lurking thresholds" are fun:
I used pre-Racket to read files of numerical data, created by different
agencies across the country.
The code looked for something that looked like a date (out of about 10
formats), and moved on from there to read a few hundred lines of gradually
changing groups of
On Thu, Mar 24, 2016 at 08:59:50PM +0100, Jos Koot wrote:
> Hi
>
> In all computer languages it is more difficult to read data than to write
> them, I think.
Perhaps because when you write data you know what you are writing and
are in control. But when you are reading, who knows what might be
Behalf Of rom cgb
Sent: jueves, 24 de marzo de 2016 13:38
To: Racket Users
Subject: [racket-users] Re: IO in racket is painful
A possible case study: there a scanf procedure in slib, a pseudo standard
library for Scheme[1][2]. It does mutate the passed arguments like with C's
scanf which i think i
Right, that's the library that I borrowed for the code I posted.
Fortunately the code didn't need to mutate pairs so it seems to work.
Sam
On Thu, Mar 24, 2016, 8:38 AM rom cgb wrote:
> A possible case study: there a scanf procedure in slib, a pseudo standard
> library for Scheme[1][2]. It does
A possible case study: there a scanf procedure in slib, a pseudo standard
library for Scheme[1][2]. It does mutate the passed arguments like with C's
scanf which i think is not the idiomatic way to do things in Racket[3]
doc:
http://people.csail.mit.edu/jaffer/slib/Standard-Formatted-Input.html
> I use racket for hackerrank and coding contests all the time, and I find it's
> read syntax really useful. For instance, I would parse this into a list of
> lists by doing
> (for/list ([i (in-range (read))])
> (map (lambda (x) (if (list? x) (cadr x) x)) (read))).
>
> Then, to print out resu
On Wednesday, March 23, 2016 at 12:35:26 PM UTC-4, rom cgb wrote:
> Thanks all for the interesting replies.
>
> About using an external package, there also the case like on
> www.hackerrank.com where you have to run the code in their own environment
> (eg: http://i.imgur.com/iSSPLGy.png).
I us
Thanks all for the interesting replies.
About using an external package, there also the case like on www.hackerrank.com
where you have to run the code in their own environment (eg:
http://i.imgur.com/iSSPLGy.png).
--
You received this message because you are subscribed to the Google Groups
"
On Tue, 22 Mar 2016 21:06:14 -0700, Alexis King
wrote:
>Would anyone object to a scanf-like function in Racket itself?
No.
But the question is how to specify input patterns to make it really
useful. Racket's native printf is pretty basic. Should scanf mirror
the native printf? Or should i
10 matches
Mail list logo