seninha has quit [Quit: Leaving]
<
fbytez>
My brain doesn't seem to be working...
<
fbytez>
(de xx (S) '(1 2 3 ~(chop S) 4 5 6))
<
fbytez>
What's a working equivalent of that?
<
fbytez>
Everything I'm thinking of is rather clunky.
<
aw->
what is ~(chop) ?
<
aw->
what are you trying to do?
<
abu[m]>
The tilde is a read macro, so it does not do what you intend. It runs at read time
<
abu[m]>
: (de xx (S) (1 2 3 ~(chop "abc") 4 5 6))
<
abu[m]>
: (pp 'xx)
<
abu[m]>
(de xx (S)
<
abu[m]>
(1 2 3 "a" "b" "c" 4 5 6) )
<
abu[m]>
You want something at *run*time I think
<
abu[m]>
So you could use 'fill'
<
abu[m]>
(de xx (S) (fill (1 2 3 ^(chop S) 4 5 6)))
<
abu[m]>
: (xx "abc")
<
abu[m]>
-> (1 2 3 "a" "b" "c" 4 5 6)
<
abu[m]>
Or, you do it by "hand": (de xx (S) (append (1 2 3) (chop S) (4 5 6)))
<
fbytez>
Yes, both `(fill)` and `(append)` is what I was after. Thanks. Total brain malfunction.
rob_w has joined #picolisp
<
tankf33der>
i have got llvm17, works out of box.
<
abu[m]>
Great, good to know! Thanks!
<
abu[m]>
I have here on Termux also 17, works all well
<
tankf33der>
# strings picolisp | grep clang
<
tankf33der>
Debian clang version 17.0.0 (++20230319072108+2538e550420f-1~exp1~20230319072226.598)
<
abu[m]>
Oops, no! I'm stupid. It is 15 here
<
tankf33der>
i will keep build on llvm17 monthly to be sure everything is working
<
abu[m]>
So perhaps my worries about "LLVM 17: Only opaque pointers are supported" was unnecessary?
<
tankf33der>
they could break it in any time in 17th branch while branch still in development. Thats why i will keep build monthly.
z4k4ri4 has quit [Ping timeout: 276 seconds]
clacke has quit [Read error: Connection reset by peer]
lagash has joined #picolisp
z4k4ri4 has joined #picolisp
lagash has joined #picolisp
clacke has joined #picolisp
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
lagash has joined #picolisp
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
lagash has joined #picolisp
seninha has quit [Quit: Leaving]
lagash has joined #picolisp
rob_w has quit [Remote host closed the connection]
beneroth has joined #picolisp
seninha has joined #picolisp