[Chicken-users] Re: Creating new types and their representation in the REPL

2010-07-09 Thread Jack Trades
Sorry! I just realized that (record-instance?) was in 'lolevel'. I've been doing (use SRFI-9) instead. ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Re: Creating new types and their representation in the REPL

2010-07-09 Thread Felix
From: Jack Trades jacktradespub...@gmail.com Subject: [Chicken-users] Re: Creating new types and their representation in the REPL Date: Fri, 9 Jul 2010 01:05:33 -0500 Sorry! I just realized that (record-instance?) was in 'lolevel'. That's the one. cheers, felix

Re: [Chicken-users] Re: Creating new types and their representation in the REPL

2010-07-09 Thread Mario Domenech Goulart
Hi Jack On Fri, 9 Jul 2010 01:05:33 -0500 Jack Trades jacktradespub...@gmail.com wrote: Sorry!  I just realized that (record-instance?) was in 'lolevel'.  I've been doing (use SRFI-9) instead. Maybe you already know and are using it but, just in case, chickadee (http://3e8.org/chickadee/)

Re: [Chicken-users] Creating new types and their representation in the REPL

2010-07-09 Thread Alejandro Forero Cuervo
Thanks, I didn't know where the documentation for define-record was. To get the documentation of some macro or procedure, call it symbol, you may try to go to http://chicken.wiki.br/symbol, which will often redirect you to the right page and location. In this case, you'd try:

[Chicken-users] Showing source:line in output of failed assertions?

2010-07-09 Thread Alejandro Forero Cuervo
When an assertion (based on the “assert” macro) fails, Chicken currently prints something like: Error: assertion failed: (some-expr) Call history: ##sys#error -- Could the definition of the assert macro be modified to include in the output the

[Chicken-users] unbound variable: make-hash-table

2010-07-09 Thread Martin DeMello
What's going wrong here? $ cat t.scm (define *hash* (make-hash-table)) $ csi t.scm ; loading t.scm ... #;1 *hash* #hash-table (0) $ csc t.scm $ ./t Error: unbound variable: make-hash-table Call history: t.scm:1: make-hash-table-- $ csc -version

Re: [Chicken-users] unbound variable: make-hash-table

2010-07-09 Thread Mario Domenech Goulart
Hi Martin On Fri, 9 Jul 2010 22:14:09 +0530 Martin DeMello martindeme...@gmail.com wrote: What's going wrong here? $ cat t.scm (define *hash* (make-hash-table)) $ csi t.scm ; loading t.scm ... #;1 *hash* #hash-table (0) $ csc t.scm $ ./t Error: unbound variable: make-hash-table

Re: [Chicken-users] bind

2010-07-09 Thread Mario Domenech Goulart
Hi Felix On Thu, 08 Jul 2010 12:29:27 +0200 (CEST) Felix fe...@call-with-current-continuation.org wrote: There is a new extension called `bind', which supersedes `easyffi': http://chicken.wiki.br/eggref/4/bind It has better integration with coops and provides a simpler interface (and

Re: [Chicken-users] unbound variable: make-hash-table

2010-07-09 Thread Jim Ursetto
(use srfi-69) On Jul 9, 2010, at 11:44, Martin DeMello martindeme...@gmail.com wrote: What's going wrong here? $ cat t.scm (define *hash* (make-hash-table)) $ csi t.scm ; loading t.scm ... #;1 *hash* #hash-table (0) $ csc t.scm $ ./t Error: unbound variable: make-hash-table

Re: [Chicken-users] unbound variable: make-hash-table

2010-07-09 Thread Jim Ursetto
Martin, feel free to join us on freenode on #chicken as well, we can answer all kinds of questions there. On Jul 9, 2010, at 12:04, Mario Domenech Goulart mario.goul...@gmail.com wrote: Hi Martin On Fri, 9 Jul 2010 22:14:09 +0530 Martin DeMello martindeme...@gmail.com wrote: What's

Re: [Chicken-users] unbound variable: make-hash-table

2010-07-09 Thread Martin DeMello
Thanks, Jim and Mario! And thanks for the pointer to the IRC channel, will drop by if I have any more questions. martin On Fri, Jul 9, 2010 at 11:13 PM, Jim Ursetto zbignie...@gmail.com wrote: Martin, feel free to join us on freenode on #chicken as well, we can answer all kinds of questions

Re: [Chicken-users] bind

2010-07-09 Thread Felix
From: Mario Domenech Goulart mario.goul...@gmail.com Subject: Re: [Chicken-users] bind Date: Fri, 09 Jul 2010 13:16:31 -0400 Hi Felix On Thu, 08 Jul 2010 12:29:27 +0200 (CEST) Felix fe...@call-with-current-continuation.org wrote: There is a new extension called `bind', which supersedes

[Chicken-users] Re: Showing source:line in output of failed assertions?

2010-07-09 Thread Felix
From: Alejandro Forero Cuervo a...@freaks-unidos.net Subject: Showing source:line in output of failed assertions? Date: Fri, 9 Jul 2010 14:57:40 +0200 When an assertion (based on the “assert” macro) fails, Chicken currently prints something like: Error: assertion failed: (some-expr)