by 3836293648 · 2w ago · 0 comments
Admittedly I'm not much better, Agda has some crazy scoping rules at times and its operators are a mess, so much worse than Haskell, but at least I don't have to re-learn from scratch after every compaction.
Anyway, that's not the part I the human struggle with, it's remembering what level of infix each new custom operator has. Why λ() isn't equivalent with λ{}, if `a b , c` is `(a b) , c` or `a (b , c)` with this version of comma (Though now I've given up on the others and just use Σ a (λ _ -> b) for all kinds of tuples just to make it consistent). Why implicits won't unify as I expect them to. Why with just doesn't work in a reasonable fashion at all ever beyond the most basic two cases (no nesting and only nest in the final case). Literally copy pasting from the docs doesn't parse.
Cool trick, but in practice it was a mistake and Haskell's take on custom operators was far enough.
An Agda course taught in Padova since 2024: https://agdapad.quasicoherent.io/~Padova2026/
"Programming Language Foundations in Agda", a course taught at multiple universities since 2018: https://plfa.github.io
Conor Titania McBride's lectures on Agda, including videos: https://github.com/pigworker/CS410-18
Thorsten Altenkirch's lectures on computer-aided formal reasoning using Agda: https://www.cs.nott.ac.uk/~psztxa/g53cfr
I am returning to the language, not new.