[racket-users] Advent of code Racket leaderboard

2021-11-13 Thread Stephen De Gabrielle
Details here https://racket.discourse.group/t/advent-of-code-2021-racket-leaderboard/118?u=spdegabrielle Bw Stephen -- -- 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, sen

[racket-users] Advent of Code 2016

2016-12-12 Thread Daniel Prager
Is anyone else Racketing their way through www.adventofcode.com this year? It's worth checking out. We could even do a "private" leaderboard for Racketeers. Last year's problems (2015) are still available, and the awesome Matthew Butterick wrote up his Racket solutions: https://docs.racket-lang.

Re: [racket-users] Advent of Code solutions & explanations

2016-01-07 Thread Daniel Prager
Nice! Advent of code is a fun way to learn some new aspects of Racket by solving puzzles. Matthew: To further enhance the educational value of your write-up please consider providing an index of the Racket features you explicate in your solution discussions. This could be as simple as augmenting

Re: [racket-users] Advent of Code

2015-12-20 Thread Jay McCarthy
I like yours better. I wrote mine that way because I thought there were going to be feedback loops and I had to run to a fixed point, like real hardware. But it never seems to generate circuits like that. On Sun, Dec 20, 2015 at 9:14 PM, Matthew Butterick wrote: > An adaptation of Jay's solution

Re: [racket-users] Advent of Code

2015-12-20 Thread Matthew Butterick
An adaptation of Jay's solution that turns every wire into a function that you can evaluate in the REPL. Plus: shorter. And dumber. Or cleverer? Thin line. https://gist.github.com/mbutterick/bc24a6291081b1ce0f31 On Saturday, December 19, 2015 at 11:53:52 AM UTC-8, Daniel Prager wrote: > Thank

Re: [racket-users] Advent of Code

2015-12-19 Thread Daniel Prager
Thanks! I will study and return with questions. Dan -- 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 more options

Re: [racket-users] Advent of Code

2015-12-19 Thread Jay McCarthy
Boom: https://github.com/jeapostrophe/adventofcode/tree/master/2015/day7 On Sat, Dec 19, 2015 at 6:01 AM, Daniel Prager wrote: > I'm having a bit of fun working through the puzzles on adventofcode.com > using Racket, and of course trying to use it to improve my Racket skills > along the way. > >

Re: [racket-users] Advent of Code

2015-12-19 Thread Benjamin Greenman
Here's how I'd outline lang/reader.rkt, assuming the API from advent7/main.rkt in comments below. (If I write a full solution, I'll come back & post that) #lang racket/base (provide (rename-out [advent7-read read] [advent7-read-syntax read-syntax])) (require racket/port syntax/strip-cont

[racket-users] Advent of Code

2015-12-19 Thread Daniel Prager
I'm having a bit of fun working through the puzzles on adventofcode.com using Racket, and of course trying to use it to improve my Racket skills along the way. I've just solved Day 7 (adventofcode.com/day/7) for which the input "data" starts with: lf AND lq -> ls > iu RSHIFT 1 -> jn > bo OR bu ->