Linked Questions
11 questions linked to/from Unnamed Functions in Code Golf
7
votes
0
answers
255
views
Does code need to be 100% syntactically correct? [duplicate]
I've come across the following answer in a code-golf challenge in Haskell, where one has to provide a function:
<bindings>
<expression>
Now, the last ...
1
vote
0
answers
59
views
Function not that directly used allowed? [duplicate]
In this answer, the function is defined as
With(Math)f=(a,b,c,d)=>... (1)
However, f is not used in the function, so it ...
0
votes
0
answers
47
views
Rules for importing when the result is an anonymous function [duplicate]
For the Friday the 13th challenge, I have some code that requires an import, but results in an unnamed function when golfed:
...
418
votes
52
answers
211k
views
Loopholes that are forbidden by default
There are a number of standard loopholes which experienced question-setters seek to explicitly close. However, inexperienced question-setters may unintentionally leave them open, or respondents may ...
37
votes
15
answers
3k
views
New users' guides to golfing rules in specific languages
What are the most important rules a first-time golfer in a given language should know? For instance, how do golfed programs usually take input and output?
Each language should have a single CW answer ...
15
votes
4
answers
2k
views
Should function literals be allowed when a function is asked for?
I'm arguing with the poster of this answer. The function literal as is doesn't cause the function to be defined, it has to be assigned to a variable, giving it a name or wrapping it like ...
24
votes
3
answers
1k
views
On scoring builtin functions
Suppose there's a challenge which can be solved completely by a builtin function, and functions are allowed. Note that as of writing the standard loophole for builtins is heavily disputed, but let's ...
13
votes
2
answers
665
views
Byte count for imports (or other things) not needed for definition, but for execution
When we define a function that needs an import, we have to add it to the byte count. So far, so good. What about cases where the definition itself doesn't need the ...
15
votes
1
answer
785
views
What are our rules about additional code accompanying function submissions?
This is an extension of this meta question.
I've always assumed that function submissions were allowed under the premise that the code would be evaluated once and would in the process either:
Define ...
10
votes
1
answer
574
views
On scoring imported functions
There are lots of questions about whether to count the bytes in an import statement, etc. This question is not about that. Instead, this question is more inline with this question but I think it would ...
1
vote
0
answers
125
views
Is the interpreter part of the language or a separate language?
As I understand it, for our purposes a language is more or less defined by its implementation. That's one of the reasons why a program like Vim can also be "language". You just count keystrokes ...