diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-04 09:42:31 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-04 09:42:31 +0200 |
commit | 0b2e63791a073000b70b4463db5d8bce88ab4d23 (patch) | |
tree | 4d9a029f45b510913845cb55f0b856e069d91a61 /src/lib/reader.ml | |
parent | 66cb521749672586fd5b1182b14e3c5d44829616 (diff) |
Update
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) |