Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
visitors
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
POTTIER Francois
visitors
Commits
7527f247
Commit
7527f247
authored
Mar 17, 2017
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New test.
parent
1e65a970
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
test/build.ml
test/build.ml
+3
-4
test/misc.mllib
test/misc.mllib
+1
-0
test/point.ml
test/point.ml
+4
-0
test/point.mli
test/point.mli
+2
-0
No files found.
test/build.ml
View file @
7527f247
...
...
@@ -5,7 +5,6 @@ type foo =
|
B
of
int
|
C
of
foo
*
foo
[
@
build
fun
x
y
->
C
(
x
,
y
)]
and
point
=
{
x
:
int
;
y
:
int
}
[
@@
build
fun
x
y
->
{
x
;
y
}]
[
@@
deriving
visitors
{
variety
=
"map"
}]
and
point
=
Point
.
point
=
private
{
x
:
int
;
y
:
int
}
[
@@
build
Point
.
make
]
[
@@
deriving
visitors
{
variety
=
"map"
}]
test/misc.mllib
View file @
7527f247
...
...
@@ -7,6 +7,7 @@ mapReduce
map_from_fold
monopoly
opaque
point
polyclass
test00
test01
...
...
test/point.ml
0 → 100644
View file @
7527f247
type
point
=
{
x
:
int
;
y
:
int
}
let
make
x
y
=
{
x
;
y
}
test/point.mli
0 → 100644
View file @
7527f247
type
point
=
private
{
x
:
int
;
y
:
int
}
val
make
:
int
->
int
->
point
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