how to detect if an object is simple (not a pointer, unmutable ) ?

2009-02-17 Thread Stef Mientki
hello, I'm making a virtual machine, in which (small) pieces of software (called bricks) are connected, by connecting an output of a brick to the input of another brick. A connection between 2 bricks may be of any type, so it might be simple integer, or a multi-nested dictionary / list or

Re: how to detect if an object is simple (not a pointer, unmutable ) ?

2009-02-17 Thread Diez B. Roggisch
Stef Mientki schrieb: hello, I'm making a virtual machine, in which (small) pieces of software (called bricks) are connected, by connecting an output of a brick to the input of another brick. A connection between 2 bricks may be of any type, so it might be simple integer, or a multi-nested

Re: how to detect if an object is simple (not a pointer, unmutable ) ?

2009-02-17 Thread Stef Mientki
thanks Diez, Diez B. Roggisch wrote: Stef Mientki schrieb: hello, I'm making a virtual machine, in which (small) pieces of software (called bricks) are connected, by connecting an output of a brick to the input of another brick. A connection between 2 bricks may be of any type, so it might