[Chicken-users] paredit

2010-11-28 Thread David Dreisigmeyer
Hi, I've been unable to get paredit to work in inferior-scheme-mode. It works with gambit, which uses a gambit.el file versus quack or cluck. Thank you, -Dave ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] paredit

2010-11-28 Thread Peter Bex
On Sun, Nov 28, 2010 at 08:18:11AM -0500, David Dreisigmeyer wrote: Hi, I've been unable to get paredit to work in inferior-scheme-mode. It works with gambit, which uses a gambit.el file versus quack or cluck. Works fine here. Are you sure you're running the latest version? IIRC an older

[Chicken-users] Memoizing a procedure

2010-11-28 Thread Hugo Arregui
Hi guys, I wrote a small code to add procedure memoization, most for learning purposes (attached). I'm glad to ear your suggestions. Also, I cheked advice egg, but I cannot find the way to reuse in this particular case. Thanks, Hugo. mem.scm Description: Binary data

Re: [Chicken-users] Memoizing a procedure

2010-11-28 Thread Peter Bex
On Sun, Nov 28, 2010 at 12:53:53PM -0300, Hugo Arregui wrote: Hi guys, Hi Hugo! I wrote a small code to add procedure memoization, most for learning purposes (attached). I'm glad to ear your suggestions. It looks good to me. It only works for simple procedures though, not for procedures

Re: [Chicken-users] Memoizing a procedure

2010-11-28 Thread Peter Bex
On Sun, Nov 28, 2010 at 05:27:29PM +0100, Peter Bex wrote: It looks good to me. It only works for simple procedures though, not for procedures with optional arguments or keyword arguments. And not for procedures returning zero or multiple values. Cheers, Peter -- http://sjamaan.ath.cx -- The

Re: [Chicken-users] paredit

2010-11-28 Thread David Dreisigmeyer
I'm pretty sure I'm using the latest versions of everything. If I comment out quack or cluck paredit works. When I use them paredit shows up as being active in my inferior-scheme but it doesn't work. On Sun, Nov 28, 2010 at 8:51 AM, Peter Bex peter@xs4all.nl wrote: On Sun, Nov 28, 2010 at

Re: [Chicken-users] Memoizing a procedure

2010-11-28 Thread Alan Post
On Sun, Nov 28, 2010 at 11:42:20PM -0300, Hugo Arregui wrote: Thanks for your comments Peter!, they are very interesting. It looks good to me.  It only works for simple procedures though, not for procedures with optional arguments or keyword arguments. Keyword args can be in any order,