diff json.urs @ 4:8f7396495045

JSON nulls
author Adam Chlipala <adam@chlipala.net>
date Thu, 02 Dec 2010 12:27:30 -0500
parents 4d103b4450ee
children 943410267fad
line wrap: on
line diff
--- a/json.urs	Thu Dec 02 12:17:51 2010 -0500
+++ b/json.urs	Thu Dec 02 12:27:30 2010 -0500
@@ -10,6 +10,7 @@
 val json_int : json int
 val json_float : json float
 val json_bool : json bool
+val json_option : a ::: Type -> json a -> json (option a)
 val json_list : a ::: Type -> json a -> json (list a)
 
 val json_record : ts ::: {Type} -> folder ts -> $(map json ts) -> $(map (fn _ => string) ts) -> json $ts