chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] softscheme, srfi-76


From: felix winkelmann
Subject: Re: [Chicken-users] softscheme, srfi-76
Date: Sun, 25 Sep 2005 16:41:07 +0200

On 9/21/05, Benedikt Rosenau <address@hidden> wrote:
>
> I ran into a problem using softscheme, since it defines a symbol 'st:
> which is taken for a keyword. The script following can be used for
> typing files.
>
> $ cat typeit.scm
> (use srfi-1 softscheme)
>
> (match (command-line-arguments)
>   ((in out)            (begin (do-soft (list in) out) (st:type)))
>   ((and arg (in))      (begin (do-soft arg "soft.types") (st:type)))
>   (l                   (print "Wrong usage:" l)))
>

You should run csi with "-k none" to disable keyword syntax.

>
> Softscheme dates back to R4RS. It would be nice if its type definitions
> would be adapted to R5RS in general and Chicken in particular.
>

Ugh. A large amount of work. Softscheme also doesn't handle multiple
values, I'm afraid.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]