read numbers

Richard O'Keefe raoknz@REDACTED
Sat Dec 11 04:04:54 CET 2021

I'm doing the Advent of Code and failed to spot the connection too.
When I got to the day in question, I began to wonder why I was bothering.
It was actually dead simple once I stopped trying to be clever.
The key insight was that the input does NOT consist of numbers.
(Part 1 was 18 lines of Smalltalk and part 2 was 25.  I felt a bit sad
at using so much code, but now that I *have* an APL system I find that
my APL skills are rusty in the extreme.)  Or was the key insight that
the input is a matrix that you need to process by COLUMNS, not rows?

On Fri, 10 Dec 2021 at 23:04, Roger Lipscombe <roger@REDACTED>

> On Fri, 10 Dec 2021 at 08:36, Hugo Mills <hugo@REDACTED> wrote:
> >    Unless I'm very much mistaken, this code is for this year's Advent
> > of Code problems. (, so the set-up
> > is somewhat contrived.
> I'm *doing* this year's advent of code, and I didn't spot the
> connection... :)
> I did day 3 in Elixir:
> ,
> and I dealt with it character-by-character.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list