1CamlinternalMenhirLib.General(3) OCaml libraryCamlinternalMenhirLib.General(3)
2
3
4
6 CamlinternalMenhirLib.General - no description
7
9 Module CamlinternalMenhirLib.General
10
12 Module General
13 : sig end
14
15
16
17
18
19
20
21
22 val take : int -> 'a list -> 'a list
23
24
25
26
27 val drop : int -> 'a list -> 'a list
28
29
30
31
32 val uniq : ('a -> 'a -> int) -> 'a list -> 'a list
33
34
35
36
37 val weed : ('a -> 'a -> int) -> 'a list -> 'a list
38
39
40
41 type 'a stream = 'a head Lazy.t
42
43
44
45
46 type 'a head =
47 | Nil
48 | Cons of 'a * 'a stream
49
50
51
52
53
54 val length : 'a stream -> int
55
56
57
58
59 val foldr : ('a -> 'b -> 'b) -> 'a stream -> 'b -> 'b
60
61
62
63
64
65
66OCamldoc 2021-07-22 CamlinternalMenhirLib.General(3)