with-slot syntax how to

2007-10-11 Thread Marco Maggi
Ciao, in my quest for learning how to write syntaxes I tried to write a WITH-SLOTS, getter only version. I was not able to write it with SYNTAX-RULES only, My better result so far is the dirty: (define-module (hurt-me) #:use-module (ice-9 syncase) #:use-module (oop goops) #:duplicates merg

Guile-SDL 0.3.8 available

2007-10-11 Thread Thien-Thi Nguyen
release notes: i suppose everyone knows now that composability requires phase separation. well, some of us are slower than others... thi README excerpt: This directory contains Guile-SDL, a set of modules that provide bindings for SDL (Simple DirectMedia Layer) to enable Guile prog

Guile 1.4.1.112 available

2007-10-11 Thread Thien-Thi Nguyen
release notes: small fix, but important for Guile-SDL. thi NEWS excerpt: - 1.4.1.112 | 2007-10-11 - bugfix: scan-md-module regression Starting with Guile 1.4.1.111 (released 2007-09-27), when scan-md-module detected names of upstream modules in backward c

Re: Beginner question: where is defstruct?

2007-10-11 Thread Ludovic Courtès
Hi, Josef Wolf <[EMAIL PROTECTED]> writes: > BTW: Why do people teach newbies non-portable things in their tutorials? Because there aren't always portable ways to do things, or because the portable API appeared after the implementation's own API. Thanks, Ludovic. _

Re: Beginner question: where is defstruct?

2007-10-11 Thread dsmich
Josef Wolf <[EMAIL PROTECTED]> wrote: > Thanks for the explanation, Ludovic! I'll go and try to read/understand > srfi-9. > > BTW: Why do people teach newbies non-portable things in their tutorials? In this case, I think that tutorial predates the srfi. -Dale __

Re: Beginner question: where is defstruct?

2007-10-11 Thread Josef Wolf
On Wed, Oct 10, 2007 at 06:21:25PM +0200, Ludovic Courtès wrote: > Josef Wolf <[EMAIL PROTECTED]> writes: > > In guile's info page, all I can find is chapter 22.5, but this seems > > to describe something much more general than what defstruct would do. > `defstruct' as described in this document is