Re: [racket-users] Re: Help with generators from python land!

2019-02-23 Thread Dave McDaniel
I was wondering the same, thought maybe `for` or `for-each` on an input stream since those dont accumulate into a data structure? On Sat, Feb 23, 2019, 8:25 AM Zelphir Kaltstahl wrote: > > The main difference, as has been pointed out before, is that Python > generators are more common as an

Re: [racket-users] Help with generators from python land!

2019-02-21 Thread Dave McDaniel
t; >> 0)) > >> > >> ;; Print a certain amount of natural numbers. > >> (define (print-natural-numbers natural-numbers limit) > >> (let ([current-number (get-value natural-numbers)]) > >> (cond > >> [(and (symbol?

Re: [racket-users] Help with generators from python land!

2019-02-21 Thread Dave McDaniel
on Zeppieri wrote: > > > On Wed, Feb 20, 2019 at 9:14 PM Dave McDaniel > wrote: > >> Thanks Jon and Jen, This is a great! I figured there must be a >> straightforward way to do this with a `for/hash` implementation. I have >> not seen these 2 methods `in-hash`

Re: [racket-users] Help with generators from python land!

2019-02-20 Thread Dave McDaniel
Thanks Jon and Jen, This is a great! I figured there must be a straightforward way to do this with a `for/hash` implementation. I have not seen these 2 methods `in-hash` and `in-list` vs just using the hash or list without that sequence modifier. Can you comment on what is going on with

[racket-users] Help with generators from python land!

2019-02-20 Thread Dave McDaniel
Hello, I have interest in picking up racket and have done some koans and also have been doing the racket track on exercism. There is a fairly simple exercise called `etl` on exercism related to taking a hash for scoring scrabble letters and unpacking it into a flatter, more efficient

[racket-users] Re: Racket Language Track for Exercism

2018-10-04 Thread Dave McDaniel
Little necrobump here, I did find exercism recently in my efforts of getting up to speed on racket, in addition to the racket-koans collection on github, which is great! The idea of having real people give you feedback on the code is awesome.

Re: [racket-users] From Clojure to Racket

2018-08-28 Thread Dave McDaniel
> > I'm asking for something much smaller than a User's Guide, though: a little > collection of the down-and-dirty stuff that you need to know to be > productive, > beyond knowing the syntax and semantics of the language. > While I expected a little more content for something with weekend in