(In the context of PPCG) if I want to use one inside the other (recursively), can I define a lambda expression inside a lambda expression, or do I have to name it outside?
Recursively calling lambdas? That's some spooky stuff m8.
How do you expect that to work?
Yeah you have to name it if you wan't that. But at that point you also have to include the type of the Lambda in your byte count, at which point you might as well use a normal function.
@Arjun It looks like a complete rewrite to me. I don't know exactly what the policy is, but my instinct is to say that's too big of an edit from someone who's not the OP.
@Arjun One alternative would be to copy what you've written into a Gist or Pastebin, and add a comment to the OP asking them to review it and see if they want to integrate it into the question.
@ГригорийПерельман How does one call a function (previously defined with f@m_:=) with a list of strings as argument? I tried f[{"...",".#.","..."}] and got some errors. (Running code here.)
@DLosc What appears to be happening is that the function is attempting to get a char from a string in the same way you do it for an array, which is not a thing you can do.
Okay. So all I have to do is simply ask him to view the proposed edit, edit the question accordingly if he thinks that doing so will be right. He will edit it. The edit will go through the same procedure, but this time there won't be any issues regarding the drastic amount of change made (Since OP can edit his question as much as he likes). Do I get it right?
> We don’t mean to be a dick about it, but [...] our trademark lawyers are going to be banging on your door and taking down your accounts and stuff like that
Why don't you add a section in at the start? First, explain what Polish Notation is, then what commands look like, then how to use the REPL, then how to build a complete "Hello, World!" project.
@Qwerp-Derp you shouldn't recommend using Sublime Text, a lot of people might be put off by the fact that it isn't free. The closest alternative is Lime Text, but that has to be built from source.
You might want to try to make your tutorial not depend on the text editor being used. Just say something like "- A proper text editor for editing code. Sublime Text is recommended, but you can also use alternatives like Atom or Notepad++".
It's a little tool that hosts all of the JetBrains tools you have access to, and also shows all of your projects made in JetBrains IDEs (and Visual Studio), as well as keeping everything updated.
DecimaF*ck is a BrainF*ck derivative.
It consists of an integer (yes, only one) with no theoretical limits in size.
Then, the integer is converted into binary.
Then, the binary form of the integer is converted to BrainF*ck.
Chart:
| BF | DF |
|> |000 |
|< |001 |
|+ |010 |
|- |011 |
...
So, I found this image. I feel like it wants something
You might wanna go ahead and download the image, because it will be useful to be able to scribble around on the image for counting and stuff. It won't mind
What does this image want?
P.S. The puzzle is all in the image. It knows to tell ...
I absolutely despise american conventions. Spent an hour wondering how my code could invent events happening at midnight, when all it was was my date formatter reading "12" as "00" because I used "hh" instead of "HH"…
In the Thai calendar the year 2017 corresponds to 2560. The Thai calendar is always 543 years ahead of the Gregorian calendar.
Observant coders will note that 2560 is equal to 2^9 * 5, in other words it has 10 prime factors. This will not happen again for another 896 years! We call a year tenac...
Meta Code Golf kolmogorov-complexity code-challenge
Late new year resolution: I'm finally cleaning up all my input and output files I used for code golf previously. Only problem is, I don't know which input and output files go to which code golf question on this site.
All problems used in this ...