27 Followers
88 Following
210 Posts
Pro software dev for 30+ years, These days .NET, ASP.NET, C#, JavaScript, TypeScript, and (insufficient quantities of) F#.
At work, as Technical Architect, I try to keep the developers in the teams on some kind of maintainable track while staying ahead on technical design.
Stackoverflowhttps://stackoverflow.com/users/67392/richard
GitHubhttps://github.com/richardcox13
Bloghttps://blog.rjcox.co.uk

Just completed Day 14 of Advent of Code...

Part 2 was, as put elsewhere "not very computer science". And not helped by mixing up my upper and lower half characters for a rather distorted result!

#AdventOfCode #FSharp

But fairly simple. In pt 2 use of named groups made life easier (alternates can use same group), plus Seq.scan to loop the enabled state around made this quite easy.

Then refined regex, so that named groups not needed (but left them in for clarity).

#AdventOfCode #fsharp