It seems inconsistent that the anonymous function sugar is not allowed for zero arity functions. Is there a good reason for this, or did this need to be proposed as a feature request instead of a bug?
Reference: https://github.com/elixir-lang/elixir/issues/5042 Thanks -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/1934494d-6a3e-43db-bf4f-fd3bf57b14af%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.