KeySigil
Provides ~K()
sigil for short keyword list creation.
See the Example:
# …
import KeySigil
a = "bananas"
b = "float"
def c, do: "high"
~K(a b c)
=> [a: "bananas", b: "float", c: "high"]
~K sigil to boost Keyword list creation
Repository Hex Elixir Documentation Download
Provides ~K()
sigil for short keyword list creation.
See the Example:
# …
import KeySigil
a = "bananas"
b = "float"
def c, do: "high"
~K(a b c)
=> [a: "bananas", b: "float", c: "high"]