Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
f28d2b76
Commit
f28d2b76
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2004-03-14 14:22:30 by jdemouth] Correction coquilles.
Original author: jdemouth Date: 2004-03-14 14:22:30+00:00
parent
86bed4be
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/manual/interface.xml
View file @
f28d2b76
...
...
@@ -82,7 +82,7 @@ Note that there are two rules to respect when creating your interface file:
</li>
</ul>
<p>
What
<i>
compatible
</i>
mean
s
? We have defined a canonical translation
What
does
<i>
compatible
</i>
mean? We have defined a canonical translation
<code>
T()
</code>
from OCaml types to CDuce types (see next frame). The
OCaml type declared for a CDuce expression in a
<code>
.mli
</code>
is
compatible with the CDuce type of the expression if the latter is a
...
...
@@ -115,9 +115,9 @@ T($$char$$) = Char
T($$int$$) = -1073741824 -- 1073741823
T($$string$$) = Latin1
T($$unit$$) = []
T(
$$%%t%%$$ $$*$$ $$%%u%%$$
) = ( T($$%%t%%$$) , T($$%%u%%$$) )
T($$%%t%%$$ $$->
$$ $$%%u%%$$) = T($$%%t%%$$)
|
T($$%%u%%$$)
T($$%%t%%$$ $$|$$ $$%%u%%$$) = T($$%%t%%$$)
->
T($$%%u%%$$)
T($$%%t%%$$ $$*$$ $$%%u%%$$)
= ( T($$%%t%%$$) , T($$%%u%%$$) )
T($$%%t%%$$ $$->
$$ $$%%u%%$$) = T($$%%t%%$$)
->
T($$%%u%%$$)
T($$%%t%%$$ $$|$$ $$%%u%%$$) = T($$%%t%%$$)
|
T($$%%u%%$$)
T($$%%t%%$$ $$list$$) = [ T($$%%t%%$$)* ]
T($$A$$) = `A
T($$A of$$ $$%%t%%$$) = ( `A, T($$%%t%%$$) )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment