Skip to main content

Timeline for Calculate A190810

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Jul 15, 2016 at 14:03 comment added nimi @TùxCräftîñg: there's also this meta post, which also allows unnamed functions that depend on definitions made outside the function body.
Jul 15, 2016 at 11:01 comment added TuxCrafting @Zgarb If this is acceptable, so you don't need to change it.
Jul 15, 2016 at 10:57 comment added Zgarb @TùxCräftîñg On this Meta post, it was determined that additional helper functions are acceptable by default in this situation. This is also the format that I usually see for Haskell answers here. Of course, you as the challenge author have the final authority.
Jul 15, 2016 at 10:52 comment added TuxCrafting @Zgarb I think for the last line, assign it to a binding (like f=filter t[1..]!!), because I don't think this is correct.
Jul 15, 2016 at 10:20 comment added Zeta (I'm aware of meta.codegolf.stackexchange.com/questions/1501/…, but that considers a single expression, where the code above isn't a single expression).
Jul 15, 2016 at 10:15 comment added Zeta @Zgarb Which is an error in a Haskell file, and no interpreter I'm aware off supports this kind of feature. So, please, enlighten me, how is a user supposed to use this without modifying the code above in any way? Or could you point me to a meta post that allows this kind of code?
Jul 15, 2016 at 8:51 comment added Zgarb @Zeta The last line evaluates to an unnamed function.
Jul 15, 2016 at 7:30 comment added Zeta That doesn't really define a function or a valid code snippet, does it?
Jul 14, 2016 at 18:51 history edited nimi CC BY-SA 3.0
added 11 characters in body
Jul 14, 2016 at 18:40 history edited nimi CC BY-SA 3.0
added 4 characters in body
Jul 14, 2016 at 17:46 history answered nimi CC BY-SA 3.0