bug#11262: help text fro sorted? predicate is wrong/misleading.

2012-04-18 Thread Noah Lavine
It looks like you're right, and strangely enough there's a comment in sort.c right above the definition of sorted? that has the correct documentation. I hope other people will correct me if I'm wrong, but I believe the ideal thing for you to do now is submit a patch created with git format-patch.

bug#11198: problems reading data with a "read-hash-extend" registered reader

2012-04-24 Thread Noah Lavine
Hello, >> I think the reader should only return valid Scheme objects that have a >> read syntax (info "(r5rs) Lexical Structure"), and records are not among >> them. > > I agree, FWIW. This seems like circular logic to me - extending the reader should mean that new types can have read syntax. The

bug#11198: problems reading data with a "read-hash-extend" registered reader

2012-04-24 Thread Noah Lavine
send data between your different Guile instances in a way that is easy to manually inspect. You need a reader and a serializer for your C things. Noah On Tue, Apr 24, 2012 at 7:24 AM, Noah Lavine wrote: > Hello, > >>> I think the reader should only return valid Scheme objects that

bug#11262: help text fro sorted? predicate is wrong/misleading.

2012-04-26 Thread Noah Lavine
Well, I wanted to reply to you by seeing how sorted? was used. But looking at the Guile source code, it appears that there are no uses of sorted? at all! However, I think it needs to stay like it is, because other code may depend on it. Noah On Thu, Apr 26, 2012 at 3:31 AM, Marijn wrote: > -

bug#10623: [PATCH] Fixed unbound variables and unbound values

2012-05-19 Thread Noah Lavine
Hello, This looks correct to me. It would be ideal if you could make the patch with "git format-patch". That will let you write the log entry for the change. If you plan to make bigger changes to Guile, you'll need to assign copyright for your changes to the FSF. Please see http://www.gnu.org/lic

bug#12033: closed (Re: bug#12033: format should be faster)

2012-08-20 Thread Noah Lavine
Hello, > code--- > scheme@(guile-user)> ,profile (let lp ((i 1)) (if (> i 0) (begin > (format #f "0x~2'0x, 0x~2'0x, 0x~2'0x" i i i) (lp (1- i) > % cumulative self > time seconds seconds name > 22.58 0.56 0.23 tilde-dispatch >

bug#12033: closed (Re: bug#12033: format should be faster)

2012-08-21 Thread Noah Lavine
Hi, On Tue, Aug 21, 2012 at 7:37 AM, Ludovic Courtès wrote: > Hi, > > Noah Lavine skribis: > >>> code--- >>> scheme@(guile-user)> ,profile (let lp ((i 1)) (if (> i 0) (begin >>> (format #f

bug#10647: Guile 2.0.3: fails make check on s390 in threads.test

2012-09-04 Thread Noah Lavine
Hello, I'm not an expert on GC, but I've seen similar issues pop up several times. Apparently there is at least one (and I suspect several) Guile tests whose outputs are nondeterministic. If so, could we make those tests always succeed? I say this because I imagine it is very confusing for users

bug#13031: large numbers

2012-11-29 Thread Noah Lavine
No, they are meant to be supported without any special treatment. I don't know what is happening in your example. On Thu, Nov 29, 2012 at 3:42 AM, Jozef Chraplewski wrote: > Hi, > > It looks that guile returns incorrect results when it works with really > big numbers. > > I've found it during re

bug#13074: VM Segfaults with Bad `Call' Instruction

2012-12-03 Thread Noah Lavine
Hello, This is an interesting bug, because the only way to hit it (as far as I can tell) is to mess up when writing a compiler. However, I did mess up, and I discover that I can generate a `call' instruction in the trunk VM where the procedure to call will be 0x0. Then the VM will try to check whe

bug#13074: VM Segfaults with Bad `Call' Instruction

2012-12-04 Thread Noah Lavine
apply it to stable-2.0? (Or master?) Noah On Mon, Dec 3, 2012 at 10:06 PM, Noah Lavine wrote: > Hello, > > This is an interesting bug, because the only way to hit it (as far as I > can tell) is to mess up when writing a compiler. However, I did mess up, > and I discover that I can

bug#13074: VM Segfaults with Bad `Call' Instruction

2012-12-05 Thread Noah Lavine
omething like that? Then if there's some way for me to run my code in debug mode, I can get the better output without slowing down most things. Noah On Wed, Dec 5, 2012 at 9:10 AM, Ludovic Courtès wrote: > Hi Noah, > > Noah Lavine skribis: > > > diff --git a/libgui

bug#13074: VM Segfaults with Bad `Call' Instruction

2012-12-10 Thread Noah Lavine
On Wed, Dec 5, 2012 at 5:14 PM, Ludovic Courtès wrote: > Noah Lavine skribis: > > > That makes sense. I hit this error in debugging a CPS->GLIL compiler > (which > > I hope will become Guile's compiler, but that's another story). However, > > once the de

bug#13074: VM Segfaults with Bad `Call' Instruction

2012-12-11 Thread Noah Lavine
On Tue, Dec 11, 2012 at 4:42 AM, Ludovic Courtès wrote: > > The VM does full error checking. But there’s a difference between > checking whether an object has the expected type, and checking whether > an object is a well-formed ‘SCM’ object (and NULL is not a valid ‘SCM’ > object.) > > Guile neve

bug#14141: Abort in RTL VM

2013-04-04 Thread Noah Lavine
Hello, I'm actually testing on the wip-rtl-cps branch, but this error involves code that I believe is the same on that branch and on the wip-rtl branch. Try opening a new Guile and doing the following: scheme@(guile-user)> (use-modules (system vm rtl)) scheme@(guile-user)> (assemble-program '((be

bug#14141: Abort in RTL VM

2013-04-04 Thread Noah Lavine
toplevel-ref 2 foo car) (tail-call 1 2) (end-program))) Best, Noah On Thu, Apr 4, 2013 at 3:22 PM, Noah Lavine wrote: > Hello, > > I'm actually testing on the wip-rtl-cps branch, but this error involves > code that I believe is the same on that branch and on the wip-rtl branch.

bug#14141: Abort in RTL VM

2013-04-05 Thread Noah Lavine
e nargs (like reserve-locals) do odd things. Noah On Thu, Apr 4, 2013 at 3:44 PM, Noah Lavine wrote: > Oh, I forgot to mention one important fact. I *do* get the expected result > if I eliminate the stuff with boxes. This works fine: > > > scheme@(guile-user)> (assemble-progr

bug#14141: Abort in RTL VM

2013-04-12 Thread Noah Lavine
robust. > > /Stefan > > > On Fri, Apr 5, 2013 at 7:29 PM, Noah Lavine > wrote: > > Hello, > > > > Just a quick update - it seems to be related to the order of the > > reserve-locals and bind-rest calls. If I reverse those, the problem goes > > awa

bug#14672: QT port for ARM within guile

2013-06-20 Thread Noah Lavine
Hello, Excuse my ignorance, but what is a "QT"? I can tell you're not referring to the widget toolkit. Also, I believe Guile uses pthreads on most platforms, so if you're running Linux on ARM (which is the common case on ARM nowadays, I think), you should have threads. Unless you want userspace t

bug#14672: QT port for ARM within guile

2013-06-21 Thread Noah Lavine
rm having > less registers to save compared to the x86. > So QT should always be considered if available, but somehow it seems to > pass into oblivion. > Cheers > eactor > > > -Original Message- > From: Noah Lavine > To: eactors > Cc: 14672 <14...@d

bug#15221: provide a mechanism to activate readline systemwide

2013-08-30 Thread Noah Lavine
I am not a lawyer, but it seems to me that libguile could be under LGPL, but guile the executable could be under GPL, and therefore use readline by default. As you say, there would have to be an option to turn it off. Maybe --no-readline? Noah On Fri, Aug 30, 2013 at 10:01 AM, wrote: > >

Lack of Documentation for (ice-9 regex) in Guile 1.9.10

2010-05-19 Thread Noah Lavine
` produces `#f`. (`,describe make-regexp` and `,describe regexp-exec` returned information, but it's not useful unless you can find out what a match object is, which is what lead me to this problem) Thank you Noah Lavine

Re: Lack of Documentation for (ice-9 regex) in Guile 1.9.10

2010-05-19 Thread Noah Lavine
I found the documentation in info - sorry for the confusion. It didn't occur to me that a regexp would be considered a "Simple Data Type". On Wed, May 19, 2010 at 4:58 PM, Noah Lavine wrote: > I can't find documentation for the (ice-9 regex) module in Guile 1.9.10. > &

Build Error in Latest Git Sources

2010-06-13 Thread Noah Lavine
Here are the last lines from the build output: cat alist.doc arbiters.doc array-handle.doc array-map.doc arrays.doc async.doc backtrace.doc boolean.doc bitvectors.doc bytevectors.doc chars.doc control.doc continuations.doc debug.doc deprecated.doc deprecation.doc discouraged.doc dynl.doc dynwind.d

Re: Build Error in Latest Git Sources

2010-06-13 Thread Noah Lavine
Yes, that fixed the issue. Thanks. On Sun, Jun 13, 2010 at 8:07 AM, Neil Jerram wrote: > Noah Lavine writes: > >> /bin/sh: line 1: 82299 Broken pipe             cat alist.doc >> >> I'm unsure what would cause this, but I'm happy to help track it down if I &

Re: Lack of Documentation for (ice-9 regex) in Guile 1.9.10

2010-10-30 Thread Noah Lavine
Jerram wrote: > Andy Wingo writes: > >> On Thu 20 May 2010 03:36, Noah Lavine writes: >> >>> I found the documentation in info - sorry for the confusion. It didn't >>> occur to me that a regexp would be considered a "Simple Data Type". >>

Interpreter Dies Given Malformed Module Declaration

2010-11-14 Thread Noah Lavine
Hello all, Running the following script with 'guile -l ' #!/usr/bin/guile !# (define-module (test-module) #:export should-be-a-list) Gives this result: ;;; WARNING: compilation of load-test.scm failed: ;;; key wrong-type-arg, throw_args ("append" "Wrong type argument in position ~A (expectin

Build Error in Latest Git

2010-12-14 Thread Noah Lavine
Hello all, I got the following build error after I pulled the latest git version of Guile: CCLD libguile-2.0.la Undefined symbols: "_iconv", referenced from: _rpl_iconv in libgnu.a(iconv.o) (maybe you meant: _mem_iconveh, _iconveh_close , _rpl_iconv_open , _mem_cd_iconveh , _str_i

Re: Build Error in Latest Git

2010-12-15 Thread Noah Lavine
onv-prefix to switch, and I get the same error. (I started with 'make distclean' each time.) Noah On Wed, Dec 15, 2010 at 4:02 PM, Andy Wingo wrote: > On Wed 15 Dec 2010 07:49, Noah Lavine writes: > >> Undefined symbols: >>   "_iconv", referenced from: > > Odd. On what platform is this? > > Andy > -- > http://wingolog.org/ >

Build Problem Involving Inline.h

2010-12-16 Thread Noah Lavine
Hello, I tried building the latest git Guile, and got the following error: CC libguile_2.0_la-alist.lo In file included from ../libguile.h:124, from ../libguile/programs.h:22, from ../libguile/_scm.h:84, from alist.c:25: ../libguile/inline.

Re: Build Error in Latest Git

2010-12-17 Thread Noah Lavine
hat is configuring Gnulib, since it has no configure script. Thanks, Noah On Wed, Dec 15, 2010 at 4:19 PM, Noah Lavine wrote: > Mac OS X 10.6. There's some weirdness because I have two versions of > libiconv installed - the one that comes with OS X, and one from > Macports. They als

Re: Build Error in Latest Git

2010-12-17 Thread Noah Lavine
Report sent. On Fri, Dec 17, 2010 at 5:06 PM, Andy Wingo wrote: > On Fri 17 Dec 2010 18:10, Noah Lavine writes: > >> After looking at this a bit more, I think it's an issue with Gnulib, >> or possibly the configuration system. I'd like to report it to one of >>

[Patch] Documentation Fix

2011-01-03 Thread Noah Lavine
Hello all, I was looking in the documentation at the string-index and string-rindex functions, and I realized that it didn't say what they did if they didn't find a match. This patch fixes that. Noah 0001-Document-string-index.patch Description: Binary data