2 Jul 08:44
Using the result of a Phoenix function in the parse
Braden McDaniel <braden <at> endoframe.com>
2007-07-02 06:44:37 GMT
2007-07-02 06:44:37 GMT
I have a Phoenix function that returns bool and I'd like to use this result in the parse; i.e., fail if the function returns false. The techniques I'm familiar with all involve assigning the result to a variable and then introducing another function object to test the value. Is there a less verbose way of doing this? (That is, a way that doesn't involve writing another function object just to test the value.) -- -- Braden McDaniel e-mail: <braden <at> endoframe.com> <http://endoframe.com> Jabber: <braden <at> jabber.org> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
RSS Feed