<?xml version="1.0"?>
<concept name="LessThanComparable" category="Utility">
<param name="X" role="comparable-type"/>
<models-sentence>The type <arg num="1"/> must be a model of <self/>.</models-sentence>
<description><para>LessThanComparable types must have <code><</code>,
<code>></code>, <code><=</code>, and <code>>=</code>
operators.</para></description>
<notation variables="x y"><sample-value><type name="X"/></sample-value></notation>
<valid-expression name="Less than">
<less-than>
<sample-value><type name="X"/></sample-value>
<sample-value><type name="X"/></sample-value>
</less-than>
<return-type>
<convertible-to testable="yes">
<type name="bool"/>
</convertible-to>
</return-type>
<semantics>Determine if one value is less than another.</semantics>
</valid-expression>
<valid-expression name="Less than or equal">
<less-than-or-equal>
<sample-value><type name="X"/></sample-value>
<sample-value><type name="X"/></sample-value>
</less-than-or-equal>
<return-type>
<convertible-to testable="yes">
<type name="bool"/>
</convertible-to>
</return-type>
<semantics>Determine if one value is less than or equal to another.</semantics>
</valid-expression>
<valid-expression name="Greater than">
<greater-than>
<sample-value><type name="X"/></sample-value>
<sample-value><type name="X"/></sample-value>
</greater-than>
<return-type>
<convertible-to testable="yes">
<type name="bool"/>
</convertible-to>
</return-type>
<semantics>Determine if one value is greater than another.</semantics>
</valid-expression>
<valid-expression name="Greater than or equal to">
<greater-than-or-equal>
<sample-value><type name="X"/></sample-value>
<sample-value><type name="X"/></sample-value>
</greater-than-or-equal>
<return-type>
<convertible-to testable="yes">
<type name="bool"/>
</convertible-to>
</return-type>
<semantics>Determine if one value is greater than or equal to another.</semantics>
</valid-expression>
<example-model>
<type name="int"/>
</example-model>
</concept>