diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-11-19 10:43:57 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-11-19 10:43:57 -0500 |
commit | 9f419ec6939626011308a380a39d3a7f8a403554 (patch) | |
tree | b8e125a96ec1466c542b24651ef1ce4027f21193 /lib | |
parent | d50d1d215bf5777e29cc1ba3ae20eefad15e2d4a (diff) |
COALESCE
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ur/basis.urs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index 73ee8e2b..f21faf38 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -474,6 +474,12 @@ val sql_is_null : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type} -> sql_exp tables agg exps (option t) -> sql_exp tables agg exps bool +val sql_coalesce : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type} + -> t ::: Type + -> sql_exp tables agg exps (option t) + -> sql_exp tables agg exps t + -> sql_exp tables agg exps t + val sql_if_then_else : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type} -> t ::: Type -> sql_exp tables agg exps bool |