Carl Mäsak

Results 649 comments of Carl Mäsak

In other words, this now works on the master branch: ``` % bel Language::Bel 0.59 -- darwin. > (catch (map [throw 'aha] '(a b c))) aha ``` Feels good. But...

> It's an open question what they should return — the command's output (like [Perl's `qx`](https://perldoc.perl.org/perlop#qx/STRING/)) or the exit status (like [Perl's `system`](https://perldoc.perl.org/functions/system))? I'm torn; it feels like either could...

Seems we're down to three TODOs. ``` t/fn-rdex.t:!TODO: currently the printer doesn't handle "special" symbols t/fn-read.t:!TODO: currently the printer doesn't handle "special" symbols t/mac-record.t:!TODO: The `pr` function does not yet...

Manual is online [here](https://www.gnu.org/software/emacs/manual/html_node/elisp/Macros.html).

Here's a general request to myself to do the same kind of analysis for `best`. Would be interesting. Also, the code from #136 [here](https://github.com/masak/bel-board-movements/blob/092b4d59b48fb76f0a680f665640c58fb50d8c78/board-movements.bel) — specifically, can the `ccc` be...

I found another fun one yesterday: `even` does not work on chars, because you get a `cdr-on-atom` error thrown from `c*`. But the fact that you will is _statically knowable_,...

Two more focused questions: * Which global definition is the first one that would benefit from interleaved inlining/specialization? * Could `randlen` be specialized to the extent that it contains only...

> * Which global definition is the first one that would benefit from interleaved inlining/specialization? I think the answer might be `snoc` and `list`, both of which would benefit from...

Here comes the successive simplification of the `board-movements` code. We start with the following code (nicely annotated with comments): ```scheme ;; This template defines a robot with coordinates (x, y)...

One more request: do `dedup`, see if those `rev` and `part` calls can be eliminated altogether.