Day 22: For my Exs
Now, hold on before you call the crew with the white jackets and padded rooms.
I was first married in 1998. 102 more words
Let’s write a simple module in Elixir.
Create a file named Calculator.ex and copy the below code.
defmodule Calculator do def add(a, b) do a + b end def subtract(a, b) do a-b end def multiply(a, b) do a*b end def divide(a, b) do a/b end end …157 more words