~ubuntu-branches/ubuntu/trusty/sexplib310/trusty

« back to all changes in this revision

Viewing changes to lib_test/nonrec_test.ml

  • Committer: Package Import Robot
  • Author(s): Lifeng Sun
  • Date: 2013-07-23 21:12:11 UTC
  • mfrom: (1.1.7)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20130723211211-i0bt78d80ah9rads
Tags: 109.20.00-1
* New upstream release.
* Add myself to Uploaders.
* Update debian/watch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
open Sexplib
 
2
open Conv
 
3
 
 
4
type t = float with sexp
 
5
 
 
6
module M : sig
 
7
  type t = float list with sexp
 
8
end = struct
 
9
  type nonrec t = t list with sexp
 
10
end
 
11
 
 
12
type 'a u = 'a with sexp
 
13
module M2 : sig
 
14
  type 'a u = 'a list with sexp
 
15
end = struct
 
16
  type nonrec 'a u = 'a u list with sexp
 
17
end
 
18
 
 
19
type 'a v = 'a w
 
20
and 'a w = A of 'a v with sexp
 
21
type 'a v_ = 'a v with sexp
 
22
type 'a w_ = 'a w with sexp
 
23
module M3 : sig
 
24
  type 'a v = 'a w_ with sexp
 
25
  type 'a w = 'a v_ with sexp
 
26
end = struct
 
27
  type nonrec 'a v = 'a w
 
28
  and 'a w = 'a v with sexp
 
29
end