Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
advent-of-code-dev-2021
Interactive development environment and runner for Advent of Code challenges
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
My solution for Day 12.
As a newbie in haskell, i made this https://github.com/surypavel/aoc2022/blob/main/12a.hs , criticism welcome.
Code. Recursive BFS using the State monad to update grid positions
[complete code](https://github.com/mcwitt/advent-of-code/blob/main/solutions/2022/12/Main.hs)