Translating Swift Enum Type into Elixir
We explore how to adapt Swift's indirect enum feature, specifically a Result enum, into Elixir's functional paradigm. Perfect for developers looking to expand their understanding of both Swift and Elixir.
We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
We explore how to adapt Swift's indirect enum feature, specifically a Result enum, into Elixir's functional paradigm. Perfect for developers looking to expand their understanding of both Swift and Elixir.
It wasn't so obvious how to render XML in Phoenix with the new approach to live views and rendering of templates. This is quick guide on how to do so. This could be wrong at the moment of reading this but always refer to the internet.
Walk through example of testing in elixir using Mox. This examples walks through testing a module that makes API calls to a 3rd party client. It's a long tutorial.
A tutorial on how to setup Cachex within your Phoenix application. This tutorial walks through setting up a basic cache for some expensive queries.
This blog post looks into the minor differences between using cond vs case within Elixir.
Intersperse is the action of putting something in between other things.
Some of the basics of sorting with the Enum module.
Iterating over a list and knowing the index or position of that item can be useful. Especially in situations where you know you need to perform some action or update some event.
Postgres comes with many default extensions and they have one for dealing with accent characters.
In Postgres, users can define case insensitive column by using the citext extension
Use of recursion and pattern matching in this module to create a flat map of a JSON object.
I have an application that wants to print out a specific format for location data. The data will sometimes be available.
Remove a specific set of characters in a string at a specific point.
How to use with and else statement for control structure
Divides a string into parts based on a pattern
Create a custom Elixir module to filter items in a list, demonstrated through a warehouse order system example.