More on Racket Generators
I've been playing around, as I said, with Euler 9, which presented me with the question of how to generate Pythagorean triples—this is the interesting part of the problem (it's trivial, once you
I've been playing around, as I said, with Euler 9, which presented me with the question of how to generate Pythagorean triples—this is the interesting part of the problem (it's trivial, once you
A bit of Racket potpourri lately as I am reading through some material as well as working on Euler problems; more on the latter after this. One of the reasons I became interested in Racket was its app
Back in the day, when learning a new programming language, I would take a little time and make a random password generator: this is how I learned my first bit of C as a pimply junior high school stud
When I was in college, I took a one-credit LISP course taught by Matt Curtin, and I also implemented two Scheme interpreters for my undergraduate (C++) and graduate (Java) programming languages cou
I'm working on Euler 9 right now, which is a search for the one Pythagorean triple that sums to 1000. This was a very natural segue into looking at Racket's support for generators—we want to gen
Playing around with Racket still in the few hours I have during the weeks. Thinking functionally has been a good exercise, but I'm still working through the question of when it's appropriate to use se