lua-users home
lua-l archive

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


> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Roberto Ierusalimschy
> Sent: zondag 6 april 2014 17:10
> To: Lua mailing list
> Subject: Re: mathlib
> 
> > If you are suggesting something along the lines of "keep math as-is,
> > maybe deprecate pow()", and add a loadable mathx library, then +1
> 
> Repeating ourselves: our suggestion involves moving sinh, cosh, and tanh
> from mathlib to the loadable mathx library (which already exists [1]), as
> we do not see (and nobody really addressed that specific point until
> now) them being more used/important/basic/whatever than several other
> functions there.

I think it was addressed, by Dirk iirc, but his argument was to add some similar functions (similar to the to-be-removed functions) to the math library, instead of removing some (except for math.pow() on which there seems to be consensus)

> 
> [1] http://lua-users.org/lists/lua-l/2008-04/msg00435.html
> 
> -- Roberto

My 2cts; Lua is an easy to learn language, but not an easy to use language (on its own). That is mostly due to the requirements of using compilers and/or package managers. Removing the functions, no matter how little, raises the bar on that. I'm with Dirk on adding some functions and make the math lib more complete by default.

Thijs