diff options
Diffstat (limited to 'src/lib/reader.ml')
-rw-r--r-- | src/lib/reader.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/reader.ml b/src/lib/reader.ml index 9a8e840..dfb05ce 100644 --- a/src/lib/reader.ml +++ b/src/lib/reader.ml @@ -1,14 +1,15 @@ -open StdLabels - module I = Parser.MenhirInterpreter let sound_to_string : Sounds.t list -> string = fun t -> + (* let buff = Buffer.create 16 in List.iter t ~f:(fun f -> Buffer.add_string buff (Sounds.repr (module Repr.Default) f)); Buffer.contents buff + *) + Sounds.repr (module Repr.Default) t let succeed (res : Sounds.t list) = Ok (sound_to_string res) |