bug#10974: guile-u...@gnu.org

2012-03-09 Thread Alexei Matveev
Hi, All, For use from a Fortran program I am collecting API fixes for libguile.so as wrapper functions for what is provided to C-programs as macros. I noted that some of the macros are function-macros some are symbol macros. An example of the latter is #define scm_to_int scm_to_int23 This is i

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

2012-04-17 Thread Alexei Matveev
Hi, Guilers, I seem to have almost convinced at least one another person that the docstring of sorted? predicate is at least misleading: guile> (sorted? '(0 0) <) #t guile> (help sorted?) `sorted?' is a primitive procedure in the (guile) module. -- Scheme Procedure: sorted? items less Ret

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

2012-04-20 Thread Alexei Matveev
Hi, Noah, Hi Guilers, On Thu, Apr 19, 2012 at 3:14 AM, Noah Lavine wrote: > 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. Yes, that added me some confidence. > I hope other people will c

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

2012-04-22 Thread Alexei Matveev
>> How about this: >> >> Return @code{#t} iff @var{items} is a list or vector such that, for >> each element @var{x} and the next element @var{y} of @var{items}, >> @code{(@var{less} @var{x} @var{y})} returns @code{#f}. >> >> This avoids use of ‘m’, which would need to be defined, and makes >> it c

bug#10974: guile-u...@gnu.org

2012-07-02 Thread Alexei Matveev
On Mon, Jul 2, 2012 at 11:38 AM, Ludovic Courtès wrote: > >> For use from a Fortran program I am collecting API fixes for libguile.so >> as wrapper functions for what is provided to C-programs as macros. >> I noted that some of the macros are function-macros some are symbol >> macros. An example o

bug#17869: wrong return type for void scm_c_export(const char *name, ...) in docs

2014-06-29 Thread Alexei Matveev
Dear Guile Developers, The reference guide documents the wrong return type for the vararg function void scm_c_export(const char *name, ...) saying it is SCM. Consider applying the diff below. Also, again vararg functions are troublesome (impossible) to call from Fortran and, maybe other langu