Harald Hanche-Olsen

Results 32 issues of Harald Hanche-Olsen

The [`order` command](https://elv.sh/ref/builtin.html#order) currently has the option `&less-than`, which should be a function to be called with two values from the list to be ordered in order to determine is...

Consider a simple pipeline: `$sender | $receiver`. Assume that `$sender` outputs a mix of bytes and values, and `$receiver` wants to handle both, but in different ways. This seems to...

Run the following code: `echo $pid; range 40 | slurp` Result: The shell hangs, and does not respond to SIGINT. If you send a SIGSEGV (this is why we recorded...

Consider this: ``` ⬥ fn foo {|f~| put hi-there; f 42 } ⬥ foo bar ⮕ hi-there Exception: bad value: command must be callable or string containing slash, but is...

This error message is rather misleading: ``` ⬥ var '' = foo ~ compilation error: 4-6 in [tty]: cannot create variable $; new variables can only be created in the...

Currently `read-line` returns an empty string when invoked at end-of-file. This is the same you get for an empty line, since the trailing LF or CRLF is stripped. And so...

I honestly don't know what should happen when you temporarily assign to a map or array member, but all these results seem wrong, or at least surprising: Exhibit 1: ```...

bug

I'll jump straight into the technicalities of this feature suggestion: I want to be able to specify optional arguments to a function. And by optional arguments, I don't mean named...

The [docs for parenthesised output capture](https://elv.sh/ref/language.html#output-capture) should mention that this construct does not introduce a new scope. It might also mention that one can always introduce a new scope, if...

Try this simple experiment: `set edit:rprompt = { put "\nA bunch of information\nMaybe even more" }` That works fine as far as I have tested it: It does not get...