On Sunday, July 30, 2017 at 12:35:09 AM UTC+2, Ryan Culpepper wrote:
> On 07/29/2017 02:48 PM, rom cgb wrote:
> > Hi,
> >
> > Probably due to all operations not being in-place, chaining operations on
> > bignums is very costful.
> >
> > for example, u
Hi,
Probably due to all operations not being in-place, chaining operations on
bignums is very costful.
for example, using bitwise-bit-field[1] on bignums is atrocious.
I also tried
(define (reverse-bits n)
(for/fold ([reversed 0])
([i (in-range (integer-length n))])
On Monday, April 4, 2016 at 10:44:46 PM UTC+2, Alex Knauth wrote:
> I'm convinced that implicit quotes are the root of almost all evil in lisp
> programming languages. That's a big reason why I like the teaching languages
> better in terms of things making sense.
>
> It's also why I normally use
I see, that's why it also does work with string constants. Thanks.
--
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...@googlegroups.com.
For
Hi,
Trying to use eof in a case expression but it doesn't work.
For example
(define (test x)
(case x
[(eof) eof]
[else "else"]))
(test eof) will then evaluate to "else" despite (equal? eof eof) evaluating to
#t.
Why ?
--
You received this message because you a
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
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
"
Hi,
I recently started using Racket and i couldn't find a good alternative to C's
scanf/printf in the racket standard library. When doing programming challenges,
you often need to comply to a specific input/ouput thus having something like
scanf for string to values and printf for values to str
8 matches
Mail list logo