* scheme problem!
@ 2011-05-12 10:59 Stefan Israelsson Tampe
2011-05-12 11:34 ` Pierpaolo Bernardi
2011-05-12 22:02 ` Neil Jerram
0 siblings, 2 replies; 4+ messages in thread
From: Stefan Israelsson Tampe @ 2011-05-12 10:59 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 191 bytes --]
Somewhere in the program I have,
(pk x)
(pk (caar l))
(pk (equal? x (caar l)))
It outputs
;;; (number)
;;; (number)
;;; (#f)
#f ???? is there more to this then meets the eye?
/Stefan
[-- Attachment #2: Type: text/html, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: scheme problem!
2011-05-12 10:59 scheme problem! Stefan Israelsson Tampe
@ 2011-05-12 11:34 ` Pierpaolo Bernardi
2011-05-12 22:02 ` Neil Jerram
1 sibling, 0 replies; 4+ messages in thread
From: Pierpaolo Bernardi @ 2011-05-12 11:34 UTC (permalink / raw)
To: Stefan Israelsson Tampe; +Cc: guile-devel
On Thu, May 12, 2011 at 12:59, Stefan Israelsson Tampe
<stefan.itampe@gmail.com> wrote:
> Somewhere in the program I have,
>
> (pk x)
> (pk (caar l))
> (pk (equal? x (caar l)))
>
> It outputs
>
> ;;; (number)
>
> ;;; (number)
>
> ;;; (#f)
>
>
>
> #f ???? is there more to this then meets the eye?
You will get more significative replies if you post a snippet of code
which allows people to reproduce what you observe without having to
guess what could possibly be causing this.
P.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: scheme problem!
2011-05-12 10:59 scheme problem! Stefan Israelsson Tampe
2011-05-12 11:34 ` Pierpaolo Bernardi
@ 2011-05-12 22:02 ` Neil Jerram
2011-05-12 22:23 ` Stefan Israelsson Tampe
1 sibling, 1 reply; 4+ messages in thread
From: Neil Jerram @ 2011-05-12 22:02 UTC (permalink / raw)
To: Stefan Israelsson Tampe; +Cc: guile-devel
Stefan Israelsson Tampe <stefan.itampe@gmail.com> writes:
> Somewhere in the program I have,
>
> (pk x)
> (pk (caar l))
> (pk (equal? x (caar l)))
>
> It outputs
>
> ;;; (number)
>
> ;;; (number)
>
> ;;; (#f)
>
>
>
> #f ???? is there more to this then meets the eye?
> /Stefan
Well...
scheme@(guile-user)> (equal? 'number (make-symbol "number"))
$7 = #f
Is it possible that either or both of x and (caar l) is uninterned?
(As far as I recall, it's intended that uninterned symbols are
distinct.)
Neil
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-12 22:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 10:59 scheme problem! Stefan Israelsson Tampe
2011-05-12 11:34 ` Pierpaolo Bernardi
2011-05-12 22:02 ` Neil Jerram
2011-05-12 22:23 ` Stefan Israelsson Tampe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).