Mercurial > urweb
comparison src/jscomp.sml @ 641:b98f547a6a45
RPC returning an option
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 08 Mar 2009 13:41:55 -0400 |
parents | 3ee6bb48f6e8 |
children | fb2a0e76dcef |
comparison
equal
deleted
inserted
replaced
640:63b0bcacd535 | 641:b98f547a6a45 |
---|---|
336 :: e' | 336 :: e' |
337 :: es | 337 :: es |
338 @ ["}"]), st) | 338 @ ["}"]), st) |
339 end | 339 end |
340 | 340 |
341 | TFfi ("Basis", "string") => ("decode(t[i++])", st) | 341 | TFfi ("Basis", "string") => ("unescape(t[i++])", st) |
342 | TFfi ("Basis", "int") => ("parseInt(t[i++])", st) | 342 | TFfi ("Basis", "int") => ("parseInt(t[i++])", st) |
343 | TFfi ("Basis", "float") => ("parseFloat(t[i++])", st) | 343 | TFfi ("Basis", "float") => ("parseFloat(t[i++])", st) |
344 | 344 |
345 | TFfi ("Basis", "bool") => ("t[i++] == \"True\"", st) | 345 | TFfi ("Basis", "bool") => ("t[i++] == \"True\"", st) |
346 | 346 |