[elixir-core:12040] Proposal: @mark module attribute

2025-04-05 Thread 'Mark Madsen' via elixir-lang-core
Has there been any discussion around adding a module attribute @mark to Elixir that would function as a code organization tool similar to Swift's // MARK: or Objective-C's #pragma mark? -- WHY -- As an example I've found that when developing Phoenix LiveView applications, modules often accumu

Re: [elixir-core:12040] Proposal: @mark module attribute

2025-03-17 Thread Jean Klingler
The ExDoc part of the story is already covered by @doc group I think: https://hexdocs.pm/ex_doc/Mix.Tasks.Docs.html#module-grouping-functions-types-and-callbacks Given @doc group matches the idea of indicating the logical grouping of functions, introducing something else for a similar purpose at t