Re: Threading / Pipe Macro (Chris Vine, Mark H Weaver)

2019-07-09 Thread Chris Vine
On Tue, 09 Jul 2019 08:01:01 +0200 Linus Björnstam wrote: > On Tue, 9 Jul 2019, at 01:02, Chris Vine wrote: > > On Mon, 8 Jul 2019 23:10:28 +0200t > > Zelphir Kaltstahl wrote: > > > Hello Chris and hello Mark, > > > > > > Thank you both for posting your macros! This is really useful and I am > >

Re: Threading / Pipe Macro (Chris Vine, Mark H Weaver)

2019-07-09 Thread Linus Björnstam
Sorry, I didn't see that macro. I was referring to my macro that Erik linked to [1], which is a syntax rules macro that also allows for <> argument placeholders: (~> 1 1+ (/ 10 <>) iota (+ <...>)) => 10 It defaults to left insert, so (~> 10 (/ 2)) => 5 but also (like the syntax rules macro i

Re: Threading / Pipe Macro (Chris Vine, Mark H Weaver)

2019-07-09 Thread Chris Vine
On Tue, 09 Jul 2019 11:40:02 +0200 Linus Björnstam wrote: > Sorry, I didn't see that macro. I was referring to my macro that Erik > linked to [1], which is a syntax rules macro that also allows for <> > argument placeholders: > > (~> 1 1+ (/ 10 <>) iota (+ <...>)) => 10 > > It defaults to left i

Re: Threading / Pipe Macro (Chris Vine, Mark H Weaver)

2019-07-09 Thread Linus Björnstam
My macro is was based on the |> pipeline from f# and on the cut macro. I then changed the syntax after seing the pipeline macro in rackjure, which is based on clojure's macros. In the beginning I wanted to do destructuring as well to allow to destructure lists and passed it as numbered argument

python-on-guile

2019-07-09 Thread Stefan Israelsson Tampe
Latest developments on python on guile is to make python's generator deep copyable. This means copying delimited continuations and I'm happy to acknowledge to a certain degree this works. Both pcomming 3.0 works as well as current stable 2.4. There is a problem and that is it assumes no data is put

python-on-guile 1.0 and guile-persist 1.0

2019-07-09 Thread Stefan Israelsson Tampe
With documentation in place and finishing the latest persistant tasks I now release python-on-guile 1.0.0 and guile-persist 1.0.0 Source: https://gitlab.com/python-on-guile/python-on-guile/ Doc: http://www.c-lambda.se/python-on-guile/

Re: Re: Threading / Pipe Macro (Chris Vine, Mark H Weaver)

2019-07-09 Thread Zelphir Kaltstahl
Ah, I must have mixed it up when copying it out of the e-mail. It was good to understand that macro nevertheless. I'll use the hygienic one then or the one from Linus repository, because it does something, that I thought would be very useful to have: A configurable place where to put the value from

Re: guile-2.9.2 and threading

2019-07-09 Thread Linas Vepstas
Hi Mark, Sorry for the late reply; my email client mananged to hide your email where I won't see it. I need to fix this. On Thu, Jun 6, 2019 at 11:28 PM Mark H Weaver wrote: > > You'll need to look at the stack frames on the Scheme stack. It can be > done from GDB if necessary, but it might be

Re: python-on-guile 1.0 and guile-persist 1.0

2019-07-09 Thread Nala Ginrut
Great work! Thanks Stefan! Stefan Israelsson Tampe 于 2019年7月10日周三 03:19写道: > With documentation in place and finishing the latest persistant tasks I now > release python-on-guile 1.0.0 and guile-persist 1.0.0 > > Source: > https://gitlab.com/python-on-guile/python-on-guile/ > > Doc: > http://www

Re: guimax and guile-gi

2019-07-09 Thread Jan Nieuwenhuizen
Jan Nieuwenhuizen writes: Hello Mike, I have isolated a Guile-GI crash in Guimax and put it into the editor example. When I run the editor and press split, I get --8<---cut here---start->8--- $ tools/uninstalled-env tools/guile-gi examples/editor.scm ... buff