[Haskell-cafe] Is there a notion for identity?

Marc Weber marco-oweber at gmx.de
Sun Jan 8 07:11:11 EST 2006

On Sun, Jan 08, 2006 at 12:43:31PM +0100, Tim Walkenhorst wrote:
> {- Disclaimer: I'm rather new to Haskell and completely new to this board.
>      I may not use the correct terminology in all cases, but I hope my 
>      intention becomes clear when you have a look at the code-snippets. -}
> Hey ho,
> Is there any way two find out whether two variables refer to the
> same cell? That is I'm looking for a notion of identity (compareable
> to == in Java) as opposed to equality (== in Haskell).

If you haven't seen this thread already:
"Detecting Cycles in Datastructures" covering exactly your topic, I
You can use google groups to find it. It's from okt.


More information about the Haskell-Cafe mailing list