Edwin demonstrates using linear types to write entire function bodies with a single keystroke! He demonstrates the dance of giving the computer more information, so it can find the desired definition. Really impressive.
Wilfred Hughes
1 Comment
We also learn some interesting things about Idris 2:
* It's self hosted
* It compiles to scheme
* It's being written with real applications in mind: rather than Turing completeness, ensure there's enough IO to implement a Pac-man clone!
It's such a tiny thing, but I really like the Python or Lisp convention of putting the doc string inside the definition.
I find I write the signature first anyway, and figure out what I want to call my function, before I know how I want to describe it.
@aidalgol@icosahedron.website deadgrep focuses on:
* focused UI. By not using compilation-mode, there's no superfluous symbols or duplicated filenames shown.
* easy filtering. It's easy to change case sensitivity, search type, file type, etc from an existing search.
* minimum keystrokes. If you have an active region, it's a single keystroke (no directory or file type required).
Wilfred Hughes
Shared words: keystroke, using, types, single
Score: 91.9