ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
libertas has quit [Read error: Connection reset by peer]
libertas has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
kopynew[m] has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
libertas- has joined #picolisp
libertas has quit [Ping timeout: 272 seconds]
kopynew[m] is now known as Blue_flame
<Blue_flame> I saw tankfeeder's cons pdf explanation. I did not know +, -, | signified cons, car, and cdr respectively. TIL
_whitelogger has joined #picolisp
patrixl has quit [Quit: Leaving.]
patrixl has joined #picolisp
orivej has joined #picolisp
_whitelogger has joined #picolisp
patrixl has quit [Quit: Leaving.]
patrixl has joined #picolisp
<tankf33der> Regenaxer: could i request clip function? it opens access to several parsers i could use for testing.
stultulo has joined #picolisp
f8l has quit [Ping timeout: 246 seconds]
stultulo is now known as f8l
<Regenaxer> Hi tankf33der! What kind or request do you mean?
<tankf33der> request to you - implement clip :)
<Regenaxer> There is 'clip' (?)
<tankf33der> hm
<Regenaxer> What should that function do?
<tankf33der> clip for pil21
<Regenaxer> Ah!
<Regenaxer> Yes
<Regenaxer> But probably not this weekend. I have some project work to do, and we are invited
<tankf33der> its ok.
<Regenaxer> Also, I'm half through with 'waitFd', need to finish first
elioat has quit [Remote host closed the connection]
patrixl has quit [Quit: Leaving.]
karswell has quit [Remote host closed the connection]
karswell has joined #picolisp
patrixl has joined #picolisp
karswell_ has joined #picolisp
karswell has quit [Remote host closed the connection]
patrixl has quit [Remote host closed the connection]
patrixl has joined #picolisp
patrixl has quit [Remote host closed the connection]
patrixl has joined #picolisp
patrixl has quit [Read error: Connection reset by peer]
patrixl has joined #picolisp
elioat has joined #picolisp
<aw-> hi all
<Regenaxer> Hi aw-
<aw-> hi
<aw-> i'm having an issue not sure how to solve
<aw-> with (pop *Variable) VS (pop *Variable)
<aw-> ex: [de myfun (Var) (pop Var)] .... it's .. not working as expected
<aw-> it should be (pop 'Var) but if I do that, Var is not evaluated
<Regenaxer> yeah, depends what exactly is to be popped
<Regenaxer> [de myfun (Var) (pop Var)] is problematic if the value of Var is Var again
<Regenaxer> (see faq)
<Regenaxer> Better use "Var" then (transient)
<aw-> ok let me try
karswell_ has quit [Remote host closed the connection]
<aw-> hmm that doesn't work either
<aw-> (pop "Var") ?
karswell_ has joined #picolisp
<aw-> sorry i think my question wasn't clear
<aw-> i want Var to be dynamic, a variable name for the list accessed by (pop) and (push)
<aw-> i would do something like (myfun "List_name") and it should be equivalent to (pop 'List_name)
<aw-> [de myfun (Var) (pop 'Var)] # doesn't work
<beneroth> make myfun into a fexpr?
<beneroth> aw-, (de myfun Var (pop (car Var)))
<beneroth> : (setq *List (1 2 3 4 5 6))
<beneroth> -> (1 2 3 4 5 6)
<beneroth> (de myfun Var (pop (car Var)))
libertas- has quit [Ping timeout: 260 seconds]
<beneroth> : *List
<beneroth> : (myfun *List)
<beneroth> -> (1 2 3 4 5 6)
<beneroth> -> 1
<beneroth> : *List
<beneroth> -> (2 3 4 5 6)
<aw-> beneroth: haha you wrote exactly the same thing i found
<aw-> thanks
<beneroth> :)
<beneroth> alternatively:
<aw-> with a string im doing (pop (car (str Var)))
<aw-> same
<aw-> where Var might be "mystring"
<beneroth> (de myfun (Var) (pop Var))
<beneroth> : (myfun '*List)
<beneroth> -> 1
<beneroth> -> (2 3 4 5 6)
<beneroth> : *List
libertas has joined #picolisp
<aw-> +1
<Regenaxer> So isn't this what you had in the beginning?
razzy has joined #picolisp
<Regenaxer> I just meant that (setq Var (1 2 3 4)) (myfun Var) will not work
<Regenaxer> Symbol value binding
<Regenaxer> i.e. Var is bound to itself
<Regenaxer> faq "Are there no problems caused by dynamic binding?":
<Regenaxer> 2.for a parameter or local, when that symbol
<Regenaxer> might possibly be (directly or indirectly)
<Regenaxer> bound to itself, and the bound symbol's
<Regenaxer> value is accessed in the dynamic context.
<aw-> yeah i saw that
<Regenaxer> I use (local) usually now instead of transients
<tankf33der> i should create tutorial for this too :/
<Regenaxer> That would be coool
razzy has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 246 seconds]
f8l has quit [Remote host closed the connection]
f8l has joined #picolisp
razzy has joined #picolisp
<razzy> video conference meetings are regular, yes?
<beneroth> yes, every second Friday, alternating on 8 AM and 4 PM UTC+0
<Regenaxer> To be exact, 1st Friday at 8 and 3rd Fri at 16 UTC
<Regenaxer> So there may be 3 weeks between two meetings
<beneroth> thanks Regenaxer
<Regenaxer> :)
<Regenaxer> I thought this is easier to syncronize
<razzy> i think so too. i like when i can put faces and nicks together
<Regenaxer> Yes, but I meant to synchronize the Fridays within a month. If it is simply every two weeks, you cannot easily tell which Fridays, say, December
<Regenaxer> *in* December
orivej has joined #picolisp
razzy has quit [Quit: Connection closed]
patrixl has quit [Read error: Connection reset by peer]
patrixl has joined #picolisp
patrixl has quit [Read error: Connection reset by peer]
patrixl has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
libertas has quit [Ping timeout: 265 seconds]
libertas has joined #picolisp