Re: the future of guile

2007-12-04 Thread Daniel Llorens del Río
On 4 Dec, 2007, at 18:01, [EMAIL PROTECTED] wrote: 1a. Why functions like SIN have a Scheme implementation for complex numbers when standard C has "csin"? In Scheme, any real is also complex. That's not the case in C. I hope you're not proposing to separate the numeric types in Scheme.

Re: the future of guile

2007-12-04 Thread Daniel Llorens del Río
On 4 Dec, 2007, at 15:50, [EMAIL PROTECTED] wrote: 1a. Why functions like SIN have a Scheme implementation for complex numbers when standard C has "csin"? In Scheme, any real is also complex. That's not the case in C. I hope you're not proposing to separate the numeric types in Scheme.

Re: Guile-user Digest, Vol 53, Issue 14

2007-04-26 Thread Daniel Llorens del Río
On 26 Apr, 2007, at 18:01, [EMAIL PROTECTED] wrote: Doesn't `OPEN_BOTH' do what you want? However, the manual reads: Care should be taken with `OPEN_BOTH', a deadlock will occur if both parent and child are writing, and waiting until the write completes before doing any reading. Eac

Re: modules and C++

2007-03-22 Thread Daniel Llorens del Río
On 22 Mar, 2007, at 18:01, [EMAIL PROTECTED] wrote: David Fang <[EMAIL PROTECTED]> wrote: Hi, I'm having a bit of trouble using a symbol I defined in C from a module: What do I need to do to export my scm_c_define_gsubr'd functions to the module? Must I wrap them into ano

Re: let-syntax Problem

2006-10-18 Thread Daniel Llorens del Río
On 18 Oct, 2006, at 18:09, [EMAIL PROTECTED] wrote: ERROR: invalid syntax () ABORT: (misc-error) error. (Isn't it possible to increase the verbosity of above error message? You see, it's quite unuseful.) It seems that you are forgetting to put (use-syntax (ice-9 syncase)) before that c

Re: find s-expr in the REPL?

2006-09-25 Thread Daniel Llorens del Río
On 25 Sep, 2006, at 18:07, [EMAIL PROTECTED] wrote: Just to check what you mean here: in many cases a line is a single sexp, so there is no difference - so I presume you're talking about the case where a sexp is split across lines, e.g. guile> (define (foo) guile> (bar)) and saying that whe

find s-expr in the REPL?

2006-09-24 Thread Daniel Llorens del Río
Hi, I'd like to have the following key bindings in the REPL: - like up-arrow, but shows previous s-expr instead of last line - like ^R, but searches s-exprs instead of lines Has somebody written readline macros to do these things? Any other way? Thanks for any info, Daniel. __

Re: acosh, getting consistent results from GSL and Guile

2006-08-18 Thread Daniel Llorens del Río
On 18 Aug, 2006, at 18:07, [EMAIL PROTECTED] wrote: Browsing Wikipedia for acosh formulas it seems to me that GSL is using an equivalent of: (log (- x (sqrt (- (* x x) 1 while the others are using an equivalent of: (log (+ x (sqrt (- (* x x) 1 I'm interested in having equal r