lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: [FUN] A bit of code golfing
From
: Egor Skriptunoff <egor.skriptunoff@
...
>
Date
: Thu, 29 Sep 2016 01:44:16 +0300
On Thu, Sep 29, 2016 at 1:17 AM, Tony Papadimitriou
<
tonyp@acm.org
>
wrote:
function NVL(x,y)return({y})[#x+1]or x end
Yes!
This is exactly my 42-byte solution.
References
:
[FUN] A bit of code golfing
,
Egor Skriptunoff
Re: [FUN] A bit of code golfing
,
Tony Papadimitriou
Prev by Date:
Re: [FUN] A bit of code golfing
Next by Date:
Re: [FUN] A bit of code golfing
Previous by thread:
Re: [FUN] A bit of code golfing
Next by thread:
Re: [FUN] A bit of code golfing
Index(es):
Date
Thread