seninha has quit [Remote host closed the connection]
<aw->
pablo_escoberg: hi, i wanted to mention yesterday that I also came from Ruby to PicoLisp
<aw->
very smooth transition since I was already writing mostly functional style in Ruby
<pablo_escoberg>
oh, cool. Yes, it's a hell of a transition, and you'll appreciate the humor of the fact that I frequently find myself omitting the space between the colon and the symbol name when doing a (: 'sym). The syntax is so similar.
<pablo_escoberg>
less smooth for me. I was doing things in a radically object oriented way. Everything is an object or a message. I can do that in picolisp too, but it's far from idiomatic, which I'd like to be.
<pablo_escoberg>
But picolisps OOP model is SUPER easy and straighforward.
<aw->
(with proc and call and .() etc)
<pablo_escoberg>
right, I made extensive use of "send" so my OO code won't look that different here.
<aw->
well perhaps you can try to accustom yourself with Ruby's functional approach and then jump back to picolisp
<aw->
lambdas, procs, blocks
<pablo_escoberg>
Well, I'm sure my Ruby will improve as I go here because I'll have more tools in my belt. But for right now I'm focusing on just getting the whole picolisp ecosystem down. It's a hell of a tool.
<pablo_escoberg>
And yeah, I made extensive use of those as well.
<pablo_escoberg>
But things are very explicit in Ruby, and tend to be very implicit in picolisp.
<aw->
what is blocking you right now with picolisp?
<pablo_escoberg>
Nothing, really. Just a bunch of stuff I need to get used to.
<pablo_escoberg>
One of the things that bugs me is I can't always tell when calling a function when the args will be evaluated. I have to look at the function def.
<pablo_escoberg>
picolisp makes it easy enough to do that
<pablo_escoberg>
but I need to do it pretty often
<pablo_escoberg>
but I'll get used to that too, probably just kind of add it to my mental stack that there is one more thing about function defs I need to remember
<aw->
right.. we got stuck on different things it seems haha
<pablo_escoberg>
sure, it's different for everyone. Before Ruby, I was doing Perl, and before that MS Basic and before that Commodore Basic. They have all left their mark.
<pablo_escoberg>
the hardest part was unlearning BASIC...
<pablo_escoberg>
but there is still a deep, dark part of me that wants to go 10 PRINT "XXXXX" 20 GOTO 10 :D
pablo_escoberg has quit [Quit: Client closed]
<abu[7]>
Concerning curl, there is a typical example in the Pil distro in @doc/viprc.sample
<abu[7]>
If you need more examples, here an unfinished (just experimental but working) library to interface with a Matrix server I did last year: http://pb1n.de/?54068b
<abu[7]>
if named "misc/matrix.l", it can be used like this: