[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11198: problems reading data with a "read-hash-extend" registered re
From: |
Klaus Stehle |
Subject: |
bug#11198: problems reading data with a "read-hash-extend" registered reader |
Date: |
Wed, 11 Apr 2012 21:07:43 +0200 (CEST) |
On Mon, 9 Apr 2012, Ludovic Courtès wrote:
> Date: Mon, 09 Apr 2012 23:10:14 +0200
> From: Ludovic Courtès <address@hidden>
> To: Klaus Stehle <address@hidden>
> Cc: address@hidden
> Subject: Re: bug#11198: problems reading data with a "read-hash-extend"
> registered reader
>
> Hi Klaus,
>
> Klaus Stehle <address@hidden> skribis:
>
> > (read-hash-extend #\R read-R)
>
> Unlike previous versions, Guile 2.0 has distinct compilation and
> run-time phases. Here you probably want the reader extension to become
> effective at compile-time (when compiling), and at evaluation-time (when
> interpreting the code):
>
> (eval-when (compile eval)
> (read-hash-extend #\R read-R))
>
> There’s an example of this in the manual, in the context of
> ‘current-reader’ (info "(guile) Loading").
>
> Does it work for you?
>
> Thanks,
> Ludo’.
>
Hallo Ludo’,
No it doesn't work. The same behavour: the script runs with a compiler
error message but nevertheless the record is created and displayed
correctly.
The only way to run the script without error message is to run it with
the --no-auto-compile option.
Thanks,
Klaus
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Klaus Stehle, 2012/04/08
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Ludovic Courtès, 2012/04/09
- bug#11198: problems reading data with a "read-hash-extend" registered reader,
Klaus Stehle <=
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Mark H Weaver, 2012/04/11
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Klaus Stehle, 2012/04/11
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Mark H Weaver, 2012/04/22
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Ludovic Courtès, 2012/04/22
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Andy Wingo, 2012/04/24
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Noah Lavine, 2012/04/24
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Noah Lavine, 2012/04/24
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Ludovic Courtès, 2012/04/24