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
8a796de7
Commit
8a796de7
authored
Mar 06, 2015
by
Kim Nguyễn
Browse files
Merge branch 'master' of
https://git.cduce.org/cduce
into typing/polymorphic-recursive-types
parents
3c1254ea
9ef600d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/poly/red-black.cd
View file @
8a796de7
...
...
@@ -81,10 +81,11 @@ let balance ( Unbalanced('a) -> Rtree('a) ; 'b\UTree -> 'b\UTree )
(* Here we start the definition of *)
(* standard operations for red-black trees *)
let insert (x : 'a) (t : Btree('a)) : Btree('a)
=
let insert (x : 'a) (t : Btree('a)) : Btree('a)
\[]
=
let ins_aux ( [] -> Rtree('a);
Btree('a)\[] -> RBtree('a)\[];
Rtree('a) -> Rtree('a)|Wrongtree('a) )
...
...
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