[elixir-core:12056] [Proposal] Linking behaviour doc in implementing function

2025-04-05 Thread Sylvain Gournay
Hello there, TLDR: Having an easy way to find behaviour do for implementing function. I was playing around with behaviours and found something that bugs me. Here is the kind of code I wrote : defmodule MyBehaviour do @moduledoc "general purpose doc" @doc "fun/0 contract description" @callback f

[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