[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scheme problem!
From: |
Neil Jerram |
Subject: |
Re: scheme problem! |
Date: |
Thu, 12 May 2011 23:02:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Stefan Israelsson Tampe <address@hidden> 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