Feature request: (not (eq a b [n])) -> (neq a b [n])

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

I know it may seem not so very useful, in fact, it is to support the lazy programmer, but still I would very much like to see a build the function

Code: Select all

(neq ...)  -> True/Nil
where the outcome of the function call is exactly the same as

Code: Select all

(not (eq ...))  -> True/Nil
I continually find it lacking that I would need two function calls to make this basic operation work and I can only imagine it being a simple thing to implement.

~Pixelfck

P.S.
I don't know of any method to make lambdas accept a variable number of arguments, but even then, the overhead of calling a lambda is quite large.
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Added in next beta.
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

thanks!
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
Post Reply