Re: help with lua style and syntax
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: help with lua style and syntax
 
- From: Peter Cawley <lua@...>
 
- Date: 2012年10月21日 22:29:50 +0100
 
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.