Open Anderssorby opened 1 year ago
Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources.
Some discussion here: https://discourse.elm-lang.org/t/dot-notation-for-methods/8727
I did not read the discussion on discourse so apologizes if I'm repeating something from there.
With this proposal I wonder what you would expect for this code to produce:
adding_one t =
t.map (\a -> a + 1)
I think adding a function "method" dot notation would simplify expressions and ease adaptation for JS-developers. Lean4 is purely functional, but also has support for .dot notation for associated functions. https://leanprover.github.io/lean4/doc/namespaces.html I think this should be added to Elm too.
Example