Commit 33a29ee6 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2003-01-17 20:09:19 by cvscast] Empty log message

Original author: cvscast
Date: 2003-01-17 20:10:20+00:00
parent 7b235fa6
......@@ -50,15 +50,16 @@ which includes a few built-in examples.
<br/> <duce>+,*,-,div</duce> : Integer,Integer -> Integer
</li>
<li>Prefix:
<br/><duce>flatten</duce> : polymorphic
<br/><duce>load_xml,load_html</duce> : String -> Any
<br/><duce>print_xml</duce> : Any -> String
<br/><duce>print_xml</duce> : String -> []
<br/><duce>int_of</duce> : [('0'--'9')*] -> Integer
<br/><duce>int_of</duce> : [('0'--'9')+] -> Integer
<br/><duce>string_of</duce> : Integer -> String
</li>
</ul>
<li>Postfix:
<br/><duce>?,*,+,??,*?,+?</duce> : for regexp
</li>
</ul>
</section>
<section>
......@@ -81,7 +82,7 @@ which includes a few built-in examples.
<li>Expressions: <duce>[ 1 2 3 ]</duce>,
which is syntactic sugar for <duce>(1,(2,(3,`nil)))</duce> </li>
<li>A sub-sequence can be escaped by !: <duce>[ 1 2 ![ 3 4 ] 5
]</duce>. </li>
]</duce> is then equal to <duce>[ 1 2 3 4 5 ]</duce> . </li>
<li>Types and patterns : <duce>[ R ]</duce> where <duce>R</duce> is
a regular expression built on types and patterns:
<ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment