Tutorial by Examples

iex> ~w(a b c) ["a", "b", "c"]
iex> ~w(a b c)a [:a, :b, :c]
Custom sigils can be made by creating a method sigil_X where X is the letter you want to use (this can only be a single letter). defmodule Sigils do def sigil_j(string, options) do # Split on the letter p, or do something more useful String.split string, "p" end # Use t...

Page 1 of 1