[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: An interesting new ways to do errors
- From: Daurnimator <quae@...>
- Date: Tue, 22 Nov 2011 16:17:29 +1100
On 22 November 2011 16:05, Dimiter "malkia" Stanev <malkia@gmail.com> wrote:
> Look interresting...
>
> Do you plan on releasing this with some license?
>
> Is it okay if I put in my project (same license as lua and luajit)?
>
Consider the above snippet under MIT license :)
If people like it; I suggest that it is only used once between
projects and dependacies:
I had to use a special unique value (err_signifier) to differentiate
between normal yields and error-yields:
If a project has 2 different version of the library in the project;
errors thrown with one will not be caught with the other.
D