Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Polymorphic variants in the debugger
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-29 (19:44)
From: Christian Stork <cstork@i...>
Subject: Polymorphic variants in the debugger

What does it mean if the debugger prints a polymorphic variable as 

(ocd) print v
v : [> `SomeVariantType.... ] 
  = <variant>

instead of its concrete content?  Is the debugger lacking some
information?  I know that for simple programs the debugger prints the
concrete value.


Chris Stork   <>  Support!  <>
OpenPGP fingerprint:  B08B 602C C806 C492 D069  021E 41F3 8C8D 50F9 CA2F