Commit 23da1b61f25bcb31dcf63d6281c0618c588995a1

Authored by David RENÉ
1 parent 50386923

add function get_mb_String for getting the a Maybe(String) instead of previous o…

…ne named "get_String".
Showing 1 changed file with 11 additions and 1 deletions   Show diff stats
web/web_arg_utils.anubis
... ... @@ -287,7 +287,7 @@ public define DB_datetime
287 287 }.
288 288  
289 289 public define Maybe(String)
290   - get_String
  290 + get_mb_String
291 291 (
292 292 List(Web_arg) lwa,
293 293 String arg_name
... ... @@ -298,6 +298,16 @@ public define Maybe(String)
298 298 found(value) then success(value)
299 299 }.
300 300  
  301 + //will be deprecated in the future. Please use get_mb_String instead
  302 +public define Maybe(String)
  303 + get_String
  304 + (
  305 + List(Web_arg) lwa,
  306 + String arg_name
  307 + ) =
  308 + get_mb_String(lwa, arg_name)
  309 +.
  310 +
301 311 public define String
302 312 get_String
303 313 (
... ...