This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shipment Dangerous Goods Flow | |
Standard User | |
Non DG* | |
edit cargo -> DG Cargo Classifier | |
Core Left - Non DG& | |
Do not show DG Review Status | |
No blocks on shipment movement | |
Has DG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shipment Dangerous Goods Flow | |
Standard User | |
Non DG* | |
edit cargo -> DG Cargo Classifier | |
Core Left - Non DG& | |
Do not show DG Review Status | |
No blocks on shipment movement | |
Has DG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test "blah" do | |
loop = fn f -> | |
receive do | |
:die -> exit(:normal) | |
end | |
f.(f) | |
end | |
y = fn f -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env elixir | |
defmodule BadFizz do | |
# See "Other Notes" section for more on this macro. | |
defmacrop automate_fizz(fizzers, n) do | |
# To begin, we need to process fizzers to produce the various components | |
# we're using in the final assembly. As told by Mickens telling as Antonio | |
# Banderas, first you must specify a mapping function: | |
build_parts = (fn {fz, n} -> | |
ast_ref = {fz |> String.downcase |> String.to_atom, [], __MODULE__} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env elixir | |
defmodule Examples do | |
import Kernel, except: [@: 1] | |
defmacro __using__(_opts) do | |
quote do | |
import Kernel, except: [@: 1] | |
import Examples, only: [@: 1] | |
defmodule Examples do | |
import Agent, only: [ | |
start_link: 2, get: 2, update: 2, get_and_update: 2] |