We allow both programs and functions. Some challenges, mostly kolmogorov-complexity challenges, do not require input. This means that for some challenges you can write a function that takes no input. In many languages this is rather straight forward. For example if a challenge asked you to output 26 python function to do these it would look like this:
In Haskell this is a bit stranger. There are two arguments to be had:
Haskell does not have functions that take no inputs so you must write a complete program. You should write:
Everything in Haskell is a function, input-less functions are just objects. You can just write:
and that's a function that takes no args and returns 26.
I don't very much like either of these arguments. The first seems to me to be treating Haskell as if it were Python while the second seems to be arguing that snippets are ok, which I certainly don't believe.
What should be allowed in Haskell for challenges that don't allow input?
Before anyone says, "Why does this even matter? A challenge this simple would be closed anyway." Often these types of challenges have further stipulations for example this answer-chaining question requires each entry only to output a number, but has source restrictions on each answer.