guile-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Display on guile
From
:
for . pdv
Subject
:
Display on guile
Date
:
Thu, 05 Mar 2009 08:05:15 +0000
hi Group,
I executed these commands..
$ guile
guile> (define mc (cons 'a 'b))
guile> mc
(a . b)
guile> (define ml (list 1 2 mc))
guile> ml
(1 2 (a . b))
guile> (list mc 1 2 3)
((a . b) 1 2 3)
guile> (define mh (make-hash-table 2))
guile> (hashq-create-handle! mh 'one mc)
(one a . b)
guile> (hashq-create-handle! mh 'two ml)
(two 1 2 (a . b))
guile> mh
#(((two 1 2 (a . b)) (one a . b)) ())
guile> (use-modules (ice-9 pretty-print))
guile> (pretty-print mh)
#(((two 1 2 (a . b)) (one a . b)) ())
guile>
I was expecting handle:'one of hash:mh to be printed in parens as
#(((two 1 2 (a . b)) (one (a . b))) ())
Why is behaviour of print for a hash different from others?
Am I missing anything?
--regards, Praveen
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Display on guile
,
for . pdv
<=
Re: Display on guile
,
Linas Vepstas
,
2009/03/05
Re: Display on guile
,
Praveen D V
,
2009/03/05
Re: Display on guile
,
Praveen D V
,
2009/03/05
Re: Display on guile
,
Linas Vepstas
,
2009/03/05
Re: Re: Display on guile
,
for . pdv
,
2009/03/09
Prev by Date:
EBCDIC
Next by Date:
Re: Display on guile
Previous by thread:
EBCDIC
Next by thread:
Re: Display on guile
Index(es):
Date
Thread