Carl Mäsak

Results 649 comments of Carl Mäsak

I don't know what message it _should_ give, but the message it gives is wrong, because the value of the digit ೨ is 2. Probably Niecza should just say that...

Going to copy the colors here, just to have them somewhere safe: * "Not started" as well as "Paused": `#e3e2e0`, `#91918e` * "Figuring it out": `#fdecc8`, `#cb9433` * "Top of...

Added them to [the labels](https://github.com/masak/bel/labels), but it would be nice to maybe have a short roadmap also in the README.md before closing this.

> (To do: confirm that was the reason.) I read the 1993 email now. I'd say yes, it was: > `If you do expansion at read time, from the inside...

Linking to [this blog post](https://blog.practical-scheme.net/gauche/20110710-quasiquoting), which explains how Common Lisp handles quasiquotes and commas at _reader_ time (as Alan Bawden said it should). Some more discussion at https://github.com/masak/alma/issues/567#issuecomment-1869214871 . For...

## List builder Inspired by PicoLisp's `make` function. Main idea can be described as a DSL to dynamically build a list (covering some more exotic list-building situations than just `map`...

## Left-leaning red-black tree The selling point of a balanced N-ary tree is that lookup time is logarithmic. That's a big deal. Making it a persistent data structure, returning a...

## Union-find Another very impressive data structure. There are two operations: create a new element with a fresh index, and unify two equivalence classes (as represented by two indices). The...

## Maze builder With the above union-find algorithm, it's pretty straightforward to build a maze: just start with all the walls solid and each enclosed room its own equivalence class,...

## Floats A numeric data type that implements [IEEE 754 double precision floating-point numbers](https://en.wikipedia.org/wiki/IEEE_754). The built-in numbers in Bel (complex rationals of infinite precision) are nice until they aren't —...