Here are many examples for learning Racket for new folks

90 views
Skip to first unread message

Brian Adkins

unread,
Aug 4, 2019, 6:59:06 PM8/4/19
to Racket Users
Here is a github repository of many examples of Racket code including:

* "Exercises for Programmers" by Brian P. Hogan
* Project Euler
* Puzzles e.g. n-queens, parallel n-queens, Cracker Barrel pegboard, etc.
* etc.


If you're new to Racket, and you like to learn from examples (like me), this may be of value to you. I'm working through SICP (sorry die-hard htdp fans :), so I may add a directory for those solutions also. 

I coded up most of these a few years or more ago, so I expect there are much better ways to implement them, and with a more idiomatic Racket style, but they should provide some nice exposure into various Rackety things. 

I'm happy to update them with better code, and now that I've been using rackunit daily, I may go back and add a bunch of tests which could be instructive.

Brian Adkins

P.S. I don't think I've posted this before, but if I have, excuse me

Stephen De Gabrielle

unread,
Aug 4, 2019, 7:35:00 PM8/4/19
to Brian Adkins, Racket Users
Awesome!

You should post this on https://www.reddit.com/r/Racket/ the facebook page, twitter, etc.

s.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/2024a62b-3b90-44bc-afd2-dcd78bcc220e%40googlegroups.com.

Brian Adkins

unread,
Aug 5, 2019, 11:18:57 AM8/5/19
to Racket Users
On Sunday, August 4, 2019 at 7:35:00 PM UTC-4, Stephen De Gabrielle wrote:
Awesome!

You should post this on https://www.reddit.com/r/Racket/ the facebook page, twitter, etc.

s.

I don't have a reddit account; if someone else wants to post it, that's fine w/ me. Does anyone have a good idea of how participation is distributed across this mailing list, reddit, slack, etc.? I'd prefer to focus my efforts on one channel of communication.

Brian Adkins

Tim Meehan

unread,
Aug 6, 2019, 1:31:54 AM8/6/19
to Racket Users
SchemeWiki has SICP solutions as well, and so do many others (Eli Bendersky was another guy I had in my collection of links).

I'll also give another thumbs up for Exercism.io (especially "timotheosh," a mentor there who really pushed me to write better Racket code). The Racket track could use some more mentors, but the reviews there are usually pretty fast relative to other tracks (such as Scheme ... which is really GNU Guile).

--
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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages