Latest #behaviours Threads 
Hello everyone.
I’m the author of GitHub - bugnano/wtransport-elixir: Elixir bindings for the WTransport WebTransport library · GitHub ,...
New
I have a behaviours with lots of functions. Each pass an arguments and an optional keyword list of options. And I found myself in this we...
New
While perusing the defoverridable documentation, one of my teammates pointed out the disclaimer:
Use defoverridable with care. If you n...
New
I have seen some good examples for best practices in sharing test suites:
Test a module for a given behaviour
Test a behaviour that use...
New
In my current project I have a rather complex data-tranfsformation. Additionally there are several flavors fo ths trqansormation that sha...
New
I would like a piece of elixir code to do something like the following:
defmodule InfoManager do
def initial_state(queried_info) do
...
New
I’m looking to improve this pattern.
It is a pattern I use in a lot of my projects.
defmodule Handler do
def handle_request(data) d...
New
I am trying to provide a way to create something like inheritance.
i want to be able to call a a function on a Module that inherits the ...
New
The goal of this library is to make planting better testing into a source code
as smoothly and fluently as possible. It’s barely needed ...
New
How does GenServer (and any other use injections) overriding work from a metaprogramming standpoint?
Given that use GenServer calls for the injection of the AST constructed in the __using__ function of GenServer, and given that this call ...
New
This Week's Trending
This Month's Trending
Hello everyone.
I’m the author of GitHub - bugnano/wtransport-elixir: Elixir bindings for the WTransport WebTransport library · GitHub ,...
New
This Year's Trending
I ran into this issue the other day and it’s been bugging me ever since. Below is a basic behaviour/implementation, and function which re...
New
I have a behaviours with lots of functions. Each pass an arguments and an optional keyword list of options. And I found myself in this we...
New
Last Three Year's Trending
I was just looking for documentation to build a Behaviour with some defaults.
I stumbled upon this thread:
As it seems, that’s still t...
New
The question in the subject line is pretty self-explanatory, and I’m trying to understand perhaps a hidden misunderstanding. My understan...
New
I stumbled across the desire to want to use get_in while accessing deeply nested parts of a custom struct while needing to provide a defa...
New
While perusing the defoverridable documentation, one of my teammates pointed out the disclaimer:
Use defoverridable with care. If you n...
New
I have seen some good examples for best practices in sharing test suites:
Test a module for a given behaviour
Test a behaviour that use...
New
I am currently tinkering with a poc, which is a rewrite of an existing product originally implemented in Python.
I recently saw a presen...
New
I’m looking to improve this pattern.
It is a pattern I use in a lot of my projects.
defmodule Handler do
def handle_request(data) d...
New
I can “overwrite” native stdlib functions, just by not importing them from the kernel, right?
Like:
defmodule Filter do
Import Kernel...
New
The goal of this library is to make planting better testing into a source code
as smoothly and fluently as possible. It’s barely needed ...
New
I would like a piece of elixir code to do something like the following:
defmodule InfoManager do
def initial_state(queried_info) do
...
New
In my current project I have a rather complex data-tranfsformation. Additionally there are several flavors fo ths trqansormation that sha...
New
I am trying to provide a way to create something like inheritance.
i want to be able to call a a function on a Module that inherits the ...
New
I came across this issue when using a behaviour from a dependency and did not see any warnings when I implemented a callback with the wro...
New
How does GenServer (and any other use injections) overriding work from a metaprogramming standpoint?
Given that use GenServer calls for the injection of the AST constructed in the __using__ function of GenServer, and given that this call ...
New
Trending Over Three Years
Coming from an OO background, my first reaction is to think of behaviours as interfaces. So it makes sense that a module must define one...
New
Background
So I have a behaviour that has some functions with optional parameters and I want a way to make them more readable:
@type o...
New
Hi
When I use @behaviour and @callback, the functions are defined. I guess that I do not need to use @spec for the implementation of the...
New
I am having some trouble understanding the difference between Behaviours and Protocols. This mostly is caused because the built-in Access...
New
Let’s say I have a behaviour MyBehaviour and a function that may return any module implementing that behaviour. Is it possible to write ...
New
I have a behaviour for which I need to implement real functions and mock versions for testing. Right now I am using three modules to do t...
New
I am writing an application that reads incoming packets and I’d like to decode them and route them to the appropriate handler.
The heade...
New
Hi everyone,
I’m struggling to understand behaviours and dynamic dispatch. The example in the getting started with elixir page doesn’t m...
New
Some folks here might enjoy reading a recent article called “Erlang’s not about lightweight processes and message passing…”. It’s a prett...
New
Background
I have a behaviour that has some functions inside it, so that modules that implement it can use them:
defmodule MyBehaviour d...
New
My application has many serializers for turning structs into something suitable for clients. These serializers have many serialize/1 fun...
New
In my current project (first elixir project) I have different messages each represented by its own struct which defines the unique view o...
New
Background
I have a test that defines modules which use a behaviour. To save some typing I am using an alias for the behaviour module whe...
New
Hi everybody,
I’m following along the Programming Phoenix 1.4 book and at a moment we are implementing a custom Ecto type.
According to...
New
Background
I have a module that is a GenStage. I am trying to make this module dyalizer compliant but I am not sure if I am going overboa...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







