Harald Hanche-Olsen

Results 113 comments of Harald Hanche-Olsen

It happens because square brackets are used for indexing: ``` ~> echo splat64[3] a ``` There is no config option to change this. And patching elvish to prevent it? That...

You have to include `use str` in your script. You probably have that line in `rc.elv`, but elvish doesn't read the init files when executing a script. (To see what...

The very short answer to the question about `all` lies in the end of its longish description. The bit about being the the identity function for the value channel is...

Anyway, on reading from a pipe: It's tricky if the pipe contains a mixture of bytes and values. In general, I think it's best to avoid that. To read all...

Hmm, I guess I was a bit hasty there. Not enough caffeine yet. However, if the not-quite-duplicate is fixed, then the current issue is moot. A related issue that I...

As an aside, doesn't it make more sense to have `$file[fd]=$nil` when the file is closed?

One possible argument for the `get` proposal: I assume that the intent is for get to return just one element from the sequence in the absence of a colon, so...

Note: For concistency, the colon should be replaced by `..`, if and when #669 is implemented.

I think sorting needs to be kept as simple as possible. Once you start worrying about case, next you have to worry about accents, NFC versus NFD forms, and whether...