fcard
fcard
Looks like a julia bug. Minimal example: ```julia macro m() :(global $(esc(:x)) = 1) end ``` ```julia julia> @m ERROR: syntax: malformed expression ``` Not sure if related, but this...
I [made an issue](https://github.com/JuliaLang/julia/issues/24289) already, and there is a [fix on the way](https://github.com/JuliaLang/julia/pull/24290). ~I didn't mention this there but I was already planning to report back as soon as the...
This bug in particular is now fixed on master, but precompilation still doesn't work.
Unfortunately we can't do`${$s}` (gives a "bad substitution" error), which is exactly why we need eval when dealing with names and arrays, otherwise I'd agree with you that we should...
Your version would print "true" in the below code: ```sh unset s if set? s echo "true" ``` We should probably add tests to the std lib soon, so we...
But that will print false below. ```sh s="" if set? $s echo true else echo false ``` There is no meaning in `set?` without references. There are many uses in...
Actually, that will print true, I forgot about auto quoting. However, that means that ```sh unset s if set? $s echo "true" ``` *Will* print true with your version.
```bash Foo() { shift set -- "${@:1:$#-1}" # Pop echo "$@" } Foo removeme abc removeme # abc ``` Here's a posix way, though it's very hacky ```sh Foo() {...
Hello! It's been a while. And yes, `set -- x y z` sets `$1` to `x`, `$2` to `y`, and `$3` to `z`, with the `--` preventing any of the...
I've been trying to get the Posix version to be faster, and this is what I've come up: ```sh PopSet() { local N=$(($1 - ${2:-0})) local index=0 i1 i2 i3...