beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
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.
<abu[m]> :)
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]> ok
<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.
<abu[m]> I see
z4k4ri4 has quit [Ping timeout: 276 seconds]
clacke has quit [Read error: Connection reset by peer]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #picolisp
z4k4ri4 has joined #picolisp
lagash has quit [Quit: ZNC - https://znc.in]
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 quit [Quit: ZNC - https://znc.in]
lagash has joined #picolisp
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #picolisp
seninha has quit [Quit: Leaving]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #picolisp
rob_w has quit [Remote host closed the connection]
beneroth has joined #picolisp
seninha has joined #picolisp