diff options
author | Adam Chlipala <adam@chlipala.net> | 2018-10-19 15:38:55 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2018-10-19 15:38:55 -0400 |
commit | e798117b42c5df30d1b3778d6414467e8e7b1e04 (patch) | |
tree | 6a3b526bb055fc3dfef216117153ffc9fcbd36c1 /lib | |
parent | 5eaaa94db962bbc3e42578bce3463ff2f942d602 (diff) |
unsafeSerialized[To|From]String
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ur/basis.urs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index 3b67946f..878f2793 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -274,6 +274,8 @@ con serialized :: Type -> Type val serialize : t ::: Type -> t -> serialized t val deserialize : t ::: Type -> serialized t -> t val sql_serialized : t ::: Type -> sql_injectable_prim (serialized t) +val unsafeSerializedToString : t ::: Type -> serialized t -> string +val unsafeSerializedFromString : t ::: Type -> string -> serialized t con primary_key :: {Type} -> {{Unit}} -> Type val no_primary_key : fs ::: {Type} -> primary_key fs [] |