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
salotz` has joined #picolisp
salotz has quit [Ping timeout: 240 seconds]
casaca has joined #picolisp
_whitelogger has joined #picolisp
_whitelogger has joined #picolisp
_whitelogger has joined #picolisp
<tankf33der> Regenaxer: add lib/math.l later, i need sin for md5
<Regenaxer> It needs 'native', right?
<Regenaxer> So too early
<tankf33der> like math32.l via ext
<tankf33der> ok, np.
<Regenaxer> yeah
<Regenaxer> that would be a waste of time
<Regenaxer> and not easy, needs C anyway
<Regenaxer> In pil32 ext *is* in C
<Regenaxer> but not in pil21
<Regenaxer> I'm now fixing the map functions
<Regenaxer> mapc, mapcar, mapcan, filter, extract, find, pick, fully and sum
<Regenaxer> all wrong in the same way
<Regenaxer> tedious
<Regenaxer> That's why it is not goot to implement many functions too early
<Regenaxer> needs to do the same fix over and over again
<Regenaxer> Map functions finished
<Regenaxer> As noted in doc/diff, the map functions are improved over old pil
<Regenaxer> they accept atomic args
<Regenaxer> When in old pil you write
Regenaxer has left #picolisp [#picolisp]
Regenaxer has joined #picolisp
<Regenaxer> upsi
<Regenaxer> When in old pil you write
<Regenaxer> : (mapcar + (1 2 3) (1 .))
<Regenaxer> -> (2 3 4)
<Regenaxer> you can write in pil21
<Regenaxer> : (mapcar + (1 2 3) 1)
<Regenaxer> -> (2 3 4)
<Regenaxer> or
<Regenaxer> : (mapcar + (1 2 3 4 5) (1 1 . 10))
<Regenaxer> -> (2 3 13 14 15)
<Regenaxer> I missed such a feature a long time
<Regenaxer> Now also fixed 'member' and 'memq' to handle simple circular lists
<Regenaxer> Nuff for today, we have a sunny sunday :)
<Regenaxer> One more thing: tankf33der, did you already use @lib/frac.l in pil21?
<tankf33der> Regenaxer: i already use it, works
<tankf33der> and grid
<Regenaxer> ok, what do you think?
Regenaxer has left #picolisp [#picolisp]
Regenaxer has joined #picolisp
<Regenaxer> upsi again :)
<Regenaxer> As you know, it runs in its own namespace
<Regenaxer> What do you think, should we rename f+ to + etc?
<Regenaxer> so instead of (f+ .. use (frac~+ .. ?
<Regenaxer> hmm
<Regenaxer> maybe not a good idea
<Regenaxer> Normal + is needed in the same context
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<tankf33der> i would say leave it as is.
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<Regenaxer> ok
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
libertas has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
libertas has joined #picolisp
Seteeri has joined #picolisp
libertas has quit [Quit: ZNC - https://znc.in]
libertas has joined #picolisp
libertas has quit [Quit: ZNC - https://znc.in]
libertas has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
libertas has quit [Quit: ZNC - https://znc.in]
libertas has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #picolisp
orivej has joined #picolisp
orivej_ has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #picolisp
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
libertas has quit [Ping timeout: 240 seconds]
libertas has joined #picolisp
libertas has quit [Client Quit]
libertas has joined #picolisp
<beneroth> Regenaxer, I learned last night that methods as FEXPRs don't mix easily
<beneroth> that might be a case where offset would help (rebinding of This)
<beneroth> but maybe even offset wouldn't help here
<Regenaxer> yes
<Regenaxer> FEXPRs in general are not useful to abstract things
<Regenaxer> Not an issue of env offsets
<Regenaxer> But methods as FEXPRs are legal, just like functions
<beneroth> T
<Regenaxer> BTW, I released a pil64 today with 'export'
<Regenaxer> I will perhaps modify 'export' though in the next days
<beneroth> problem is, in the Prg argument to the FEXPR method I used This and called other methods. This of course went sideways, as the message handling of the fexpr method and the message handling of the method called in the Prg shifted everything around :)
<Regenaxer> I have a more intelligent version in test here
<beneroth> okay
<beneroth> I actually haven't had the need for export as of yet
<Regenaxer> I made a new mechanism 'private'
<Regenaxer> and 'export' must cooperate with this
<beneroth> also because I explicitly want to keep stuff within namespaces
<beneroth> okay
* beneroth is interested :)
<Regenaxer> No big issue anyway
<beneroth> T
<Regenaxer> Concerning env offsets, you can always use 'up' I think
<beneroth> I guess so
<Regenaxer> it is also in pil21
<beneroth> good
<beneroth> will let you know if I come over a specific use cases
<beneroth> it's all pretty edgy territory :)
<Regenaxer> ok
Regenaxer has left #picolisp [#picolisp]
<beneroth> which makes it both more important but harder to see the use case without a specific case at hand
<beneroth> bye bye :)
Regenaxer has joined #picolisp
<Regenaxer> grrr
<Regenaxer> I think all normal env offset reasons can be avoided with transients or namespaces
<Regenaxer> I think the 'private' issue is cool
<beneroth> I will look into it :)
<Regenaxer> I creates a local namespace called "priv", which is *behind* the current one
<beneroth> I see
<Regenaxer> then 'export' must skip it
<beneroth> and you export into the current one
<beneroth> and the priv one is like a transient one
<Regenaxer> (I dont use export in this case, just to be complete)
<beneroth> like your use in @lib/pilog.l ?
<Regenaxer> yes
<beneroth> I see
<Regenaxer> I use it for local variables
<beneroth> yeah I have the same use in mind :)
<Regenaxer> which are accessible when the lib is built
<Regenaxer> but not after
<beneroth> T
<Regenaxer> I'm playing with the new gui
<Regenaxer> and there I need it I think
<Regenaxer> But not released yet
<Regenaxer> I pause today
<Regenaxer> Perhaps next week :)
libertas has quit [Quit: ZNC - https://znc.in]
<beneroth> alright :)
<Regenaxer> My use case is:
<Regenaxer> (symbols 'htm 'pico)
<Regenaxer> (local) (*ID *JS *Top *Menu *Tab)
<Regenaxer> (private) (Prg Prg2 Attr Var Nm Ofs Msg Env X Y)
<Regenaxer> I think you see what I mean
<Regenaxer> private has exactly the same power as transients, but are more beautiful to read
<Regenaxer> and are accessible later with eg. htm~priv~Prg
<Regenaxer> anyway, nuff for today :
<Regenaxer> )
libertas has joined #picolisp
<beneroth> ah nice
<beneroth> good
<beneroth> enjoy your weekend :-)
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<Regenaxer> thx :)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
libertas has quit [Quit: ZNC - https://znc.in]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
ym has joined #picolisp
Guest92206 has quit [Read error: Connection reset by peer]
Guest92206 has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
razzy has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
Guest92206 has quit [Remote host closed the connection]
Guest92206 has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej has joined #picolisp
razzy has quit [Ping timeout: 260 seconds]
casaca has quit [Remote host closed the connection]
casaca has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
Seteeri has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej_ has quit [Ping timeout: 260 seconds]
Seteeri has joined #picolisp
Blukunfando has quit []
Seteeri has quit [Remote host closed the connection]
orivej has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp