Arc Forum
new
|
comments
|
leaders
|
submit
login
1 point
by
vrk
6093 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.