Re: Thread+GC issues on ARM

2012-01-08 Thread Neil Jerram
Rob Browning writes: > Neil Jerram writes: > >> So, just to be clear, the sequence of events for libgc is >> >> - start from 9448012a >> - apply 0001-Debian-7.1-8.patch >> - apply 0001-Tweaks-for-successful-dpkg-buildpackage-using-libgc-.patch > > So do I understand correctly that in order for t

Re: SCM_ASSERT_TYPE

2012-01-08 Thread Andy Wingo
On Sun 08 Jan 2012 01:52, l...@gnu.org (Ludovic Courtès) writes: >> On Sat 08 Oct 2011 18:04, l...@gnu.org (Ludovic Courtès) writes: >> And what about the seldom-used SCM_ASRTGO? >>> > I think ideally everything should be either documented or deprecated > (with a documented replacement). I h

Re: Syntax Parameters documentation for guile

2012-01-08 Thread Andy Wingo
On Sun 08 Jan 2012 03:39, Ian Price writes: > From b7d764179d5546698617993e5a648d6c1393b5c0 Mon Sep 17 00:00:00 2001 > From: Ian Price > Date: Sat, 7 Jan 2012 01:59:33 + > Subject: [PATCH] document syntax parameters > > * doc/ref/api-macros.texi (Macros): Add subsection for "Syntax Parameter

Re: Compiler Branch

2012-01-08 Thread Andy Wingo
Hi Noah :) On Sun 08 Jan 2012 01:42, Noah Lavine writes: > The function called 'go' runs everything. You give it a Scheme > expression. It compiles that expression to tree-il, then converts it > to annotated-tree-il. Then it scans the annotated-tree-il looking for > instances of the special func

add-relative-load-path ?

2012-01-08 Thread Andy Wingo
Hi all, In the following thread: http://thread.gmane.org/gmane.lisp.guile.user/8298/focus=8403 there was a concern that it's difficult to set up the load path for simple one-off scripts. I had a proposal that we add something like this: (define-syntax add-relative-load-path (lambda (

Re: [PATCH] Add "scandir" procedure

2012-01-08 Thread Ludovic Courtès
Hello, friends of scandir! :-) Commit be96155b508d220efe6f419d7743cf39744ee47c adds an ‘error’ parameter to ‘file-system-fold’ so that ‘opendir’ and ‘stat’ errors can be handled gracefully by the caller (instead of having to guess in the ‘skip’ procedure whether an error occurred.) Comments welc

Re: SCM_ASSERT_TYPE

2012-01-08 Thread Ludovic Courtès
Andy Wingo skribis: > On Sun 08 Jan 2012 01:52, l...@gnu.org (Ludovic Courtès) writes: > >>> On Sat 08 Oct 2011 18:04, l...@gnu.org (Ludovic Courtès) writes: >>> > And what about the seldom-used SCM_ASRTGO? >> I think ideally everything should be either documented or deprecated >> (with

Re: (define-module (foo) #:import (...)), a la r6rs

2012-01-08 Thread Ludovic Courtès
Hello! Andy Wingo skribis: > No argument there! But I rarely use it. Even #:select is a bit of a > PITA to use: > > #:use-module ((a) #:select (b c d)) > #:use-module ((e) #:renamer (symbol-prefix-proc 'p:)) > > vs > > (import (only (a) b c d) > (prefix (e) p:)) Sounds a bit l

Re: (define-module (foo) #:import (...)), a la r6rs

2012-01-08 Thread Andy Wingo
On Sun 08 Jan 2012 17:28, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> #:use-module ((a) #:select (b c d)) >> #:use-module ((e) #:renamer (symbol-prefix-proc 'p:)) >> >> vs >> >> (import (only (a) b c d) >> (prefix (e) p:)) > > Sounds a bit like kill/yank vs.

Re: syntax-local-value patch for discussion

2012-01-08 Thread Stefan Israelsson Tampe
On Sat, Jan 7, 2012 at 1:05 AM, Andy Wingo wrote: > On Mon 05 Dec 2011 19:12, Stefan Israelsson Tampe > writes: > > > (define-syntax info > > (lambda (x) > > (syntax-case x () > > ((_ x) > > (pk (syntax-binding-info (syntax->datum #'x))) > > #'#f > > I agree with

Re: syntax-local-value patch for discussion

2012-01-08 Thread Mark H Weaver
Hi Stefan, Stefan Israelsson Tampe writes: > diff --git a/module/ice-9/psyntax.scm b/module/ice-9/psyntax.scm > index e522f54..70463a5 100644 > --- a/module/ice-9/psyntax.scm > +++ b/module/ice-9/psyntax.scm > @@ -155,6 +155,10 @@ > (eval-when (compile) >(set-current-module (resolve-module '

Re: Continuation sets and order-independency

2012-01-08 Thread David Kastrup
Noah Lavine writes: > Okay, let me see if this is right now. > > In the expression > > (list (call-with-current-continuation func) (+ 4 14)), > > you want the addition to be done before the > call-with-current-continuation, as opposed to being part of the > continuation. > > Right? This is par

Re: [PATCH] Implement local-eval, local-compile, and the-environment

2012-01-08 Thread Mark H Weaver
Hi Andy, Andy Wingo writes: >> We could change that, but I'm reluctant to make the evaluator any >> slower than it already is. > > Using variable objects has the possibility to make the evaluator faster, > actually, if at the same time we make closures capture only the set of > free variables tha

Re: Compiler Branch

2012-01-08 Thread Noah Lavine
Hello, > Interesting.  `verify' seems to be a form of contracts: > >  http://ftp.ccs.northeastern.edu/scheme/pubs/icfp2002-ff.pdf > > Does `verify' have runtime semantics?  Under what situations, if any, > would the compiler insert runtime checks? It has no runtime semantics right now. I consider

Re: syntax-local-value patch for discussion

2012-01-08 Thread Stefan Israelsson Tampe
Thanks for taking time to help with this! On Sun, Jan 8, 2012 at 8:15 PM, Mark H Weaver wrote: > Hi Stefan, > > Stefan Israelsson Tampe writes: > > diff --git a/module/ice-9/psyntax.scm b/module/ice-9/psyntax.scm > > index e522f54..70463a5 100644 > > --- a/module/ice-9/psyntax.scm > > +++ b/mod