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
be1f9ee3
Commit
be1f9ee3
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2005-04-04 13:23:04 by afrisch] Empty log message
Original author: afrisch Date: 2005-04-04 13:23:04+00:00
parent
06b9ab0e
Changes
2
Show whitespace changes
Inline
Side-by-side
types/sequence.ml
View file @
be1f9ee3
...
@@ -175,3 +175,18 @@ let seq_of_list l =
...
@@ -175,3 +175,18 @@ let seq_of_list l =
let
char_latin1
=
Types
.
char
(
Chars
.
mk_classes
[
(
0
,
255
)
])
let
char_latin1
=
Types
.
char
(
Chars
.
mk_classes
[
(
0
,
255
)
])
let
string_latin1
=
star
char_latin1
let
string_latin1
=
star
char_latin1
let
any_xtransformable
=
Types
.
descr
(
recurs
(
fun
n
->
let
elt
=
Types
.
xml
Types
.
any_node
(
Types
.
cons
(
Types
.
times
Types
.
any_node
n
))
in
let
non_elt
=
Types
.
neg
(
Types
.
xml
Types
.
any_node
Types
.
any_node
)
in
let
t
=
Types
.
cons
(
Types
.
cup
elt
non_elt
)
in
Types
.
cup
nil_type
(
Types
.
times
t
n
)))
types/sequence.mli
View file @
be1f9ee3
...
@@ -6,6 +6,7 @@ val any: Types.t
...
@@ -6,6 +6,7 @@ val any: Types.t
val
seqseq
:
Types
.
t
val
seqseq
:
Types
.
t
val
string
:
Types
.
t
val
string
:
Types
.
t
val
string_latin1
:
Types
.
t
val
string_latin1
:
Types
.
t
val
any_xtransformable
:
Types
.
t
val
concat
:
Types
.
t
->
Types
.
t
->
Types
.
t
val
concat
:
Types
.
t
->
Types
.
t
->
Types
.
t
val
flatten
:
Types
.
t
->
Types
.
t
val
flatten
:
Types
.
t
->
Types
.
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