Created
June 14, 2016 07:29
-
-
Save pnathan/a0b31e97492e7eb18e75c16a40dbdbeb to your computer and use it in GitHub Desktop.
ocaml syntax error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let table_to_json table = | |
let open Ezjsonm in | |
let row_to_triple row = | |
json_of_triple { row.(0) ; row.(1) ; row.(2) } in | |
list (Array.to_list (Array.map row_to_triple table)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment