Type detection: Difference between revisions

Content added Content deleted
Line 95: Line 95:


===Using a linear '''dataviewtype'''===
===Using a linear '''dataviewtype'''===

In this implementation, '''print_text''' consumes its argument; the argument’s value cannot be used again. The object wrapped in the '''source_vt''' object might be reusable, however.

<lang ats>#include "share/atspre_staload.hats"
<lang ats>#include "share/atspre_staload.hats"