« first day (2169 days earlier)      last day (2972 days later) » 

22:00
You'd need to do something like public Lambda f =, and you'd need to create the boilerplate Lambda.
Did you try with javac directly
I'll have a go
Try wrapping the whole submission in a static { ... }
> No, you is you. Me is you.
failing that
22:01
@EᴀsᴛᴇʀʟʏIʀᴋ Chat can be hidden.
OMG. That bot chat is hilarious.
@quartata initial one directly with javac:
@quartata when you wrap it in static, it still complains that it wants you to assign it to something
imo writing a function and accessing it with a lambda is not ok as a submission (in java, other langs fine): however, a lambda literal is fine.
Anyway, I'm out, I've sent waaay too many messages in chat today. cya
Yeah I can't really see a use case either.
@mbomb007 there aren't even any good bots in it right now it's just nonsense
@mbomb007 true
@TimmyD no, just leave it afk for a long ass-time
22:20
CMC: In -> Out: A -> 1, B-> 2, C -> 3, 1 -> A, 2 -> B, 3 -> C, no other cases
That's a dupe
I remember writing an Erlang answer that did that
lemme see
@quartata -.- CMC: In -> Out: Quartata -> Tostada, Tostada -> Quartata
In: program. Out: anything
@HelkaHomba lambda x:['Quartata','Tostada'].remove(x)
lambda n:['Quartata','Tostada'][n[0]>'Q']
shet
same byte count
@EᴀsᴛᴇʀʟʏIʀᴋ Returns 1-elem list, not string. Not valid
wat noooo
ok why star ^^?
just add [0]
Do we have a star troll?
2
but that's precious bytes @HelkaHomba
@HelkaHomba that seems harsh. strings are lists in erlang
22:29
that works
um... that would return 'Q' or 'T'
oh you edited it
yeah thats the one i posted up there ^^^
I love using > with strings
naw you didn't have to delete it
but yeah I only found out about using equality operators on strings the other day and it's great for golfing
22:30
@quartata How does a list of strings work then?
haha
tfw you find accurate spanish translation on urban dictionary
and not for a swear/slang word
o_O
is somebody starring everything
not funny
Apparently so.
@Dennis what's the truthiness of a list in jelly?
22:40
@LuisMendo would you say "parado" for somebody standing? if not, what would you say?
Anonymous
@HelkaHomba Just like a list of lists, I'd imagine
@flawr you there?
i.e. "Ricardo está parado"
@EᴀsᴛᴇʀʟʏIʀᴋ seems right.
are you a native speaker?
22:43
No
did you feed it through a translator?
my question is because parado means stopped, but I'm not sure how to say "standing"
I'm in a class. I'm not certain, but I think that's right.
hm, okay
I pinged luis because he's a native speaker
@quartata Idk. I didn't watch long, but it was pretty funny. They asked for each other's names every couple minutes, and once one bot changed their mind on what its name was right after answering.
wordreference.com
22:46
Anyone here call sedans saloons?
English/Spanish dictionary
@DJMcMayhem Same as in Python. Truthy iff not empty.
22:50
@NathanMerrill yep
already posted my comment, but I want to make sure I understand:
I'm not sure I follow. f(4)(5) means that you have a function that takes 1 value, and returns another function that takes a value and returns the result. However, the proposal is to return a zero-arg function that returns the value, which is similar to accepting a zero-arg function that returns your input. — Nathan Merrill 4 mins ago
@NathanMerrill I guess I do now see what is going on.
So do you agree that currying refers to the concept that a function only accepts one argument, but might return anoter function that again takes one argument e.t.c.?
if that's allowed, does that mean something like f= lambda x: len which is f()("str")
23:06
@NathanMerrill I didn't understand it correctly.
The post is more interesting if people can get more answers in more langauges. So this is how it would have to be to be in C. — R Jesu 12 mins ago
@EᴀsᴛᴇʀʟʏIʀᴋ I know that meaning of "parado" is used in Latin America. But it's not used in Spain at all. Most people from Spain would not know that meaning. We would say "de pie". Like, "Ricardo está de pie"
If I was spanish, english, french, I could say that I'm standing still because I'm of pie (de pie)
23:23
'night
@LuisMendo ah, cool
@TuxCopter gn
-1
Q: need help for this project

RalphThere will be N numbers which will be entered by user. N will be input by user. And user will enter N numbers. Your program will store N values in an array. Then, your program will show the closest number to average of this array.Please dont use built in functions like min, avg etc

[nukilition-request]
These past two days have shown me how useful regexes are. Don't know how I lived without them before.
wrong chatroom?
23:34
-2
Q: need help for this project

RalphThere will be N numbers which will be entered by user. N will be input by user. And user will enter N numbers. Your program will store N values in an array. Then, your program will show the closest number to average of this array.Please dont use built in functions like min, avg etc

@flawr yeah, I agree.
That said, I'm not sure whether I'm in favor of the proposal or not

« first day (2169 days earlier)      last day (2972 days later) »