Mercurial > urweb
comparison tests/crud.urs @ 370:4f75cc2e1373
Fix problem with sig/struct indenting
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 16 Oct 2008 14:52:50 -0400 |
parents | 24a31b35e08f |
children | 782ef3ad8c28 |
comparison
equal
deleted
inserted
replaced
369:226c977faa9c | 370:4f75cc2e1373 |
---|---|
6 -> xml form [] [nm = t_formT.2], | 6 -> xml form [] [nm = t_formT.2], |
7 Parse : t_formT.2 -> t_formT.1, | 7 Parse : t_formT.2 -> t_formT.1, |
8 Inject : sql_injectable t_formT.1} | 8 Inject : sql_injectable t_formT.1} |
9 con colsMeta = fn cols :: {(Type * Type)} => $(mapT2T colMeta cols) | 9 con colsMeta = fn cols :: {(Type * Type)} => $(mapT2T colMeta cols) |
10 | 10 |
11 val default : t ::: Type -> show t -> read t -> sql_injectable t -> string -> colMeta (t, string) | |
12 val int : string -> colMeta (int, string) | 11 val int : string -> colMeta (int, string) |
13 val float : string -> colMeta (float, string) | 12 val float : string -> colMeta (float, string) |
14 val string : string -> colMeta (string, string) | 13 val string : string -> colMeta (string, string) |
15 val bool : string -> colMeta (bool, bool) | 14 val bool : string -> colMeta (bool, bool) |
16 | 15 |