hi everyone, 

I notice that if I build a SET (or MAP) through a custom mkSet function in
the REPL I get this:
 > mkSet "foo"
 val it : Set.set = _val
now, I can inspect the content of the Set by using 
 inspect (Set.toList it)
but if I just did 
 inspect it
I would get a little useful "_val". 

Now, I'd like to ask: can this be changed?
which In turn means: how does the inspector works? 

Again, my OO background would tell me to define a #inspect method in every
class I'm defining, and then just let the Inspector call that. 
But how is this done in ML?
Possibly the TYPE signature is useful in this regard? 



-- 
goto 10: http://www.goto10.it
blog it: http://riffraff.blogsome.com
blog en: http://www.riffraff.info

_______________________________________________
alice-users mailing list
[email protected]
http://www.ps.uni-sb.de/mailman/listinfo/alice-users

Reply via email to