forked from avsm/ocaml-annot
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiled using OCaml 3.10beta and added a few test cases; run them wi…
…th "make test" git-svn-id: http://ocaml-annot.googlecode.com/svn/trunk@28 790f693a-e429-0410-ac51-454e36e68905
- Loading branch information
lindig
committed
Mar 27, 2007
1 parent
0ca18a7
commit 8010597
Showing
5 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
4 6 | ||
4 8 | ||
5 9 | ||
5 13 | ||
7 16 | ||
7 23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
(* this module simply contains some test cases *) | ||
|
||
let id x = x | ||
let rec map f = function | ||
| [] -> [] | ||
| x::xs -> f x :: map f xs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
'a -> 'a | ||
'a | ||
('a -> 'b) -> 'a list -> 'b list | ||
'a -> 'b | ||
'a -> 'b | ||
('a -> 'b) -> 'a list -> 'b list |