Elixir is a functional meta-programming aware language built on top of the Erlang VM. It is a dynamic language with flexible syntax with macros support that leverages Erlang's abilities to build concurrent, distributed, fault-tolerant applications with hot code upgrades.

learn more… | top users | synonyms

-1
votes
0answers
13 views

Should I use defprotocol to better this code which is a path library written in Elixir?

Below is part of my code in Radpath The part of the code runs different methods based on the type of input: path. So say if a user inputs a ...
4
votes
1answer
86 views

Generating all valid dates

I've come up with the following code to generate a list of all dates between two given dates: ...
1
vote
0answers
70 views

List filtering method

How can I make this more functional? ...
3
votes
0answers
43 views

War Game GenServer Implementation

One of the Etudes for Elixir exercises is to create a War game that uses the spawn, send, and ...
6
votes
1answer
190 views

Elixir pipes and anonymous functions

I recently got started with Elixir. I'm used to F#'s pipes, and Seq.map and LINQ's .Select statements. Things are different in ...
7
votes
1answer
133 views

Roman numeral kata in Elixir

I'm new to Elixir, and in order to learn the syntax, I'm doing a roman numeral kata which converts a decimal number into roman numeral. I would appreciate any feedback you have. ...
7
votes
1answer
89 views

Multi-process FizzBuzz in Elixir

So I was playing with writing FizzBuzz in Elixir; this is my first, naive implementation: ...
6
votes
2answers
165 views

Berlin clock kata in Elixir

I'm starting with Elixir and as exercise I wrote the Berlin Clock kata: The clock is made up of 5 rows. On the very top of the clock is a lamp that blinks to show the seconds. It turns on for one ...
2
votes
2answers
212 views

How could this be written using continuation passing style?

Is there a way to use CPS in this code to make the two insert functions tail-call optimized? ...
4
votes
3answers
255 views

How does this naive stack implementation look?

Consider this naive stack implementation in Elixir: ...