Re: [Chicken-users] Problems with the "dollar" egg.

2014-03-02 Thread John Cowan
Daniel Carrera scripsit: > I just tried Chibi, but even with (chibi repl) I think its REPL is > not as good as CSI with GNU Readline. I guess that in my ideal world I > would like to play with a mature Scheme with many modules, that can be > compiled, has FFI, a nice interpreter, and plans to supp

Re: [Chicken-users] Problems with the "dollar" egg.

2014-03-02 Thread Daniel Carrera
On 2 March 2014 18:27, John Cowan wrote: > > Chicken is primarily a compiled Scheme: the interpreter is slow > and inefficient, and provided mostly for testing, debugging, and > simple scripting. If you are interested in interpreter-based Schemes > exclusively, I recommend Chibi Scheme. > > Chib

Re: [Chicken-users] Question about (use numbers)

2014-03-02 Thread Thomas Chust
On 2014-03-02 17:20, Daniel Carrera wrote: > On 2 March 2014 17:00, Matt Gushee wrote: >>> [...] >>> Does this mean that I am loading the module wrong? >>> [...] >> No. The numbers egg redefines all the standard arithmetic 'operators' >> [...] > Ok. Does this also mean that there is no way to sup

Re: [Chicken-users] Problems with the "dollar" egg.

2014-03-02 Thread John Cowan
Daniel Carrera scripsit: > Does that apply to other languages like Python? Python does not work in the Chicken interpreter either. :-) (Though in principle one could write a Python egg using the Python/C API.) But Python's FFI is accessible from the CPython interpreter, since there is no other

Re: [Chicken-users] Problems with the "dollar" egg.

2014-03-02 Thread Daniel Carrera
On 2 March 2014 17:34, John Cowan wrote: > Daniel Carrera scripsit: > > > Error: unbound variable: foreign-lambda* > > The Chicken FFI does not work in the interpreter. > Ok. :-( Does that apply to other languages like Python? > > I have installed the numbers egg. When I run (use numbers) I

Re: [Chicken-users] Problems with the "dollar" egg.

2014-03-02 Thread John Cowan
Daniel Carrera scripsit: > Error: unbound variable: foreign-lambda* The Chicken FFI does not work in the interpreter. > I have installed the numbers egg. When I run (use numbers) I get a lot of > warnings to the effect of: I can't replicate this. The procedures are being overridden as explaine

Re: [Chicken-users] Question about (use numbers)

2014-03-02 Thread Daniel Carrera
On 2 March 2014 17:00, Matt Gushee wrote: > > Does this mean that I am loading the module wrong? > > No. The numbers egg redefines all the standard arithmetic 'operators' > (quotes because, as you are probably aware, they are really functions > that just happen to be represented with the symbols

Re: [Chicken-users] Question about (use numbers)

2014-03-02 Thread Matt Gushee
Hi, Daniel-- On Sun, Mar 2, 2014 at 7:55 AM, Daniel Carrera wrote: > I have installed the numbers egg. When I run (use numbers) I get a lot of > warnings to the effect of: > Note: re-importing already imported identifier: + > > Does this mean that I am loading the module wrong? No. The n

[Chicken-users] Question about (use numbers)

2014-03-02 Thread Daniel Carrera
Hello, I have installed the numbers egg. When I run (use numbers) I get a lot of warnings to the effect of: Note: re-importing already imported identifier: + Note: re-importing already imported identifier: - Note: re-importing already imported identifier: * Note: re-importing already imported ide

[Chicken-users] Problems with the "dollar" egg.

2014-03-02 Thread Daniel Carrera
Hello, I installed Chicken for the first time last night and today I'm starting to play with it. I installed the "dollar" egg and I'm having some trouble: http://wiki.call-cc.org/eggref/4/dollar I tried the example on that page, and this is what I got: --//-- #;1> ($ pri

Re: [Chicken-users] irregex-replace return value

2014-03-02 Thread Michele La Monaca
Hi Alex, > I've used irregex-replace{,/all} and equivalents in other > languages for a long time, and find the current semantics > most convenient. I can see in some cases wanting to test > for a replacement, or in irregex-replace-all the number of > replacements, but it seems to be by far the ra

Re: [Chicken-users] irregex-replace return value

2014-03-02 Thread Alex Shinn
Hi Michele, On Sat, Mar 1, 2014 at 7:32 AM, Michele La Monaca < mikele.chic...@lamonaca.net> wrote: > Hi, > > I've noticed that irregex-replace returns the original string > if no replacement takes place. I think its a very poor choice. > > Whether or not a replacement was actually made can be an