Re: debugging scheme module

2006-12-12 Thread Neil Jerram
[EMAIL PROTECTED] (Ludovic Courtès) writes: > You could try the following: > > (read-enable 'debug) > (debug-enable 'debug) I believe that should be: (read-enable 'positions) (debug-enable 'debug) (debug-enable 'backtrace) Regards, Neil _

Re: debugging scheme module

2006-12-07 Thread Ludovic Courtès
Hi, Al Nikolov <[EMAIL PROTECTED]> writes: > Fatal error: [library-name] wrong-type-arg: ("caddar" "Wrong type argument > in position ~A: ~S" (1 ()) #f) This means that at some point, `caddar' is invoked and is passed `#f' instead of a list. :-) > Since my scheme code is bigger than two parent

debugging scheme module

2006-12-07 Thread Al Nikolov
Hello, all! I'm totally newbie in Guile and R5RS, faced to write a scheme module for an application written with Guile. When i do just another wierd mistake and run the app, i usually get uncomprehensive error messages like: Fatal error: [library-name] wrong-type-arg: ("caddar" "Wrong type argum