leostera / caramel

:candy: a functional language for building type-safe, scalable, and maintainable applications

Home Page:https://caramel.run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2020

leostera opened this issue · comments

This is a list of bugs found and changes made during the Advent of Code 2020.

Day 1

  • Lists.foldl/3 and Lists.foldr/3 had the wrong FFI signature
  • Lists.foreach run_one days generated a function reference that crashed at runtime when using escript — turns out this is an issue with the way escript runs the code rather than with the generated code!

Day 2

  • Nothing new yet! This one ran just fine.

Day 3

...

Alright! We made it to day 2.

Not too bad, considering the main blocker was LAM.