8 Aug
2005
8 Aug
'05
1:57 p.m.
Hi,
Just some follow-up explaining why I need tribool with 'unknown' indetermined state sematics:
I'm working in a domain (HL7 v3) that explicetely contain a type of boolean value that can be null (of several null flawors: just unknown, patient not asked, patient asked but does not know... etc.)
Pentabool, then? Or maybe you should just define an enumerated type for this specialised need. I don't think it's possible to define generally useful semantics for nulls, given the variety of uses they are put to.
Sure you're right! I use just an enum. But tribool with 'being_null' initial state was very convinient though;) -- Serge