diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-03 17:37:03 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-03 17:37:03 +0200 |
commit | 123c8bc693063cfc880709c7dfa700a177a66adb (patch) | |
tree | 5dd508c4ac5876fe80a661a4281b6fdaf3d064a9 /src/lib/sounds/sig.ml | |
parent | 48dc04c3b9afe19207d15b873452129d9c2b3b4c (diff) |
Ended refactoring
Diffstat (limited to 'src/lib/sounds/sig.ml')
-rw-r--r-- | src/lib/sounds/sig.ml | 55 |
1 files changed, 54 insertions, 1 deletions
diff --git a/src/lib/sounds/sig.ml b/src/lib/sounds/sig.ml index 372b888..6b496d2 100644 --- a/src/lib/sounds/sig.ml +++ b/src/lib/sounds/sig.ml @@ -1,4 +1,55 @@ +module type REPR = sig + type t + + val none: t + + val a : t + val a_nasal : t + + val e_opened : t + val e_closed : t + val schwa : t + + val eu : t + + val o : t + val o_nasal : t + + val i : t + val i_nasal : t + + val y : t + val y_nasal : t + + val u : t + val p : t + val b : t + val t : t + val d : t + val k : t + val g : t + val f : t + val v : t + val ch : t + val j : t + val s : t + val z : t + val m : t + val n : t + val l : t + val r : t + + val semi_voyel_w : t + + val semi_voyel_y : t + + val muted : t -> t + + val diphtongue : t -> t -> t +end + module type T = sig + type t val muted : t -> t @@ -66,6 +117,8 @@ module type T = sig val is_voyel : t -> bool val is_nasal : t -> bool - val repr : t -> string + val repr + : (module REPR with type t = 'a) -> t -> 'a end + |