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
POTTIER Francois
menhir
Commits
a6d97d4f
Commit
a6d97d4f
authored
Jul 03, 2015
by
POTTIER Francois
Browse files
Added [Seq.concat].
parent
0d6751fd
Changes
2
Show whitespace changes
Inline
Side-by-side
src/Seq.ml
View file @
a6d97d4f
...
...
@@ -26,3 +26,10 @@ let rec elements xs accu =
let
elements
xs
=
elements
xs
[]
let
rec
concat
xss
=
match
xss
with
|
[]
->
empty
|
xs
::
xss
->
append
xs
(
concat
xss
)
src/Seq.mli
View file @
a6d97d4f
...
...
@@ -7,3 +7,4 @@ val empty: 'a seq
val
singleton
:
'
a
->
'
a
seq
val
append
:
'
a
seq
->
'
a
seq
->
'
a
seq
val
elements
:
'
a
seq
->
'
a
list
val
concat
:
'
a
seq
list
->
'
a
seq
Write
Preview
Supports
Markdown
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