V.next idea: option/parameter typing and error handling

Also, as I'm binding certain typed values to options (e.g. pulling a
start time off the query parameters), I'd really like an easy way to
say:

  "This option is typed as xs:dateTime.  If the value does not cast
properly, run this other part of the pipeline."

One simple way we could accomplish this is to allow type errors within
a certain portion of the pipeline to be caught and processed somehow.

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Tuesday, 31 January 2012 17:01:54 UTC