Mercurial > urweb
comparison lib/basis.urs @ 289:0cc956a3216f
Parsing strings for floats and bools
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 07 Sep 2008 11:41:04 -0400 |
parents | 4260ad920c36 |
children | df00701f2323 |
comparison
equal
deleted
inserted
replaced
288:4260ad920c36 | 289:0cc956a3216f |
---|---|
29 val show_float : show float | 29 val show_float : show float |
30 val show_string : show string | 30 val show_string : show string |
31 val show_bool : show bool | 31 val show_bool : show bool |
32 | 32 |
33 val stringToInt : string -> option int | 33 val stringToInt : string -> option int |
34 val stringToFloat : string -> option float | |
35 val stringToBool : string -> option bool | |
34 | 36 |
35 | 37 |
36 (** SQL *) | 38 (** SQL *) |
37 | 39 |
38 con sql_table :: {Type} -> Type | 40 con sql_table :: {Type} -> Type |