diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-03 15:15:00 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-03 15:15:00 +0200 |
commit | 48dc04c3b9afe19207d15b873452129d9c2b3b4c (patch) | |
tree | 2c46df86808aa738a28ce95d5b62a58ffaf12459 /src/lib/modifiers/nasal.ml | |
parent | ad45e1b397ba995dc0222057a8dc1d0c38970c4f (diff) |
Continued refactoring
Diffstat (limited to 'src/lib/modifiers/nasal.ml')
-rw-r--r-- | src/lib/modifiers/nasal.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/modifiers/nasal.ml b/src/lib/modifiers/nasal.ml index 8fdc60c..ec8ddb4 100644 --- a/src/lib/modifiers/nasal.ml +++ b/src/lib/modifiers/nasal.ml @@ -1,9 +1,9 @@ (* Remove the ending consonant, and transform the voyel into the nasal form *) let transform - : (module Sounds.T with type t = 'a) -> 'a Sig.consonants option -> 'a Sig.t -> 'a Sig.t + : (module Sounds.Sig.T with type t = 'a) -> 'a Sig.consonants option -> 'a Sig.t -> 'a Sig.t = fun (type el) m c init -> - let module T = (val m:Sounds.T with type t = el) in + let module T = (val m:Sounds.Sig.T with type t = el) in let (((v1, v2), _) , _) = init in begin match T.nasal v1, T.nasal v2 with @@ -22,7 +22,7 @@ let transform let process : 'a Sig.modifier = fun (type el) m init -> - let module T = (val m:Sounds.T with type t = el) in + let module T = (val m:Sounds.Sig.T with type t = el) in let (((v1, v2), c) , ending) = init in let ending = Option.bind ending (fun x -> x) in let opening = Option.map (fun v -> v.Sig.opening) c in |