lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Oct 21, 2012 at 7:37 PM, Tim Hill <drtimhill@gmail.com> wrote:
> To my mind no language has yet tackled the probl of error returns/exceptions well ... C++ etc is ghastly in many ways, and Lua too suffers from problems because its cumbersome to call a function that returns either valid return or nil+error.

Monadic structures in Haskell can often do it well.