Arc Forumnew | comments | leaders | submitlogin
1 point by vrk 6148 days ago | link | parent

This reminds me of Perl 6, where you can return "undef but true" (to indicate a nil value that still evaluates to true in boolean context, roughly speaking), or Haskell Maybe monad. Don't ask me more about those; I don't really understand monads.