lua-users home
lua-l archive

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



Attached is a cute small simple "? cond { me, orme }" implementation.

To test, run with (using token-enabled Lua 5.1):

$ ./lua -lftricond test-tricond.lua
true
true
true
true
true
Seems ok. :)

NO guarantees... Haven't tested this against unwanted side-effects, yet. Will you? :)

-asko

Attachment: ftricond.lua
Description: Binary data

Attachment: test-tricond.lua
Description: Binary data