On Tue, Apr 22, 2014 at 08:40:22AM +0200, John Darrington wrote:
> Perhaps we could change tab_double and tab_value to take a "reported value 
> class", say
> 
> enum reported_value_class {
>  WEIGHT,
>  INTEGER,
>  P_VALUE,
>  OTHER
> };
> 
> and then have a map which associates each class with a function to determine 
> how it should
> be displayed.  We would then need to provide a means for the user to change 
> the mapping 
> as he desires.
> 
> Such a solution should be regarded as intermediate, until we get a better 
> abstraction of
> our data output, but might be solve the immediate problem without too much 
> effort.

I think that's a fine way to start.  If you have time and inclination
to work on it, then it makes sense to me.

_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to