@@ -36,7 +36,7 @@ For instance if we declare the type <code>Person</code> defined in Section "<loc
...
@@ -36,7 +36,7 @@ For instance if we declare the type <code>Person</code> defined in Section "<loc
fun name (Person -> String)
fun name (Person -> String)
| <persongender ={{"F"}}>[ n ;_] -> n
| <persongender ={{"F"}}>[ n ;_] -> n
]]></sample>
]]></sample>
<p> then we obtain the following message error:</p>
<p> then we obtain the following message error (frames of the same form as the following denote text taken verbatim from the on line demo, no color or formatting added):</p>
<sessionsample><![CDATA[
<sessionsample><![CDATA[
Error at chars 228-298:
Error at chars 228-298:
{{%%fun name (Person -> String)
{{%%fun name (Person -> String)
...
@@ -113,7 +113,7 @@ sequence of persons, etc generating an infinite tree.
...
@@ -113,7 +113,7 @@ sequence of persons, etc generating an infinite tree.
</p>
</p>
<p>
<p>
Let us write the same type in CDuce and look at the result returned by the type-checker (taken verbatim from the on line demo, no color or formatting added)
Let us write the same type in CDuce and look at the result returned by the type-checker