Skip to content

Instantly share code, notes, and snippets.

@marcelog
Created October 9, 2017 20:27
Show Gist options
  • Save marcelog/666916304b97e043eb06e53c0c2042b4 to your computer and use it in GitHub Desktop.
Save marcelog/666916304b97e043eb06e53c0c2042b4 to your computer and use it in GitHub Desktop.

Revisions

  1. marcelog created this gist Oct 9, 2017.
    19 changes: 19 additions & 0 deletions type_example.log
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    1> An_Atom = some_name.
    some_name
    2> A_List = [1, 2, An_Atom, <<1, 2, 3>>].
    [1,2,some_name,<<1,2,3>>]
    3> Something_Like_A_Boolean = true.
    true
    4> A_Map = #{key1 => 1, key2 => A_List}.
    #{key1 => 1,key2 => [1,2,some_name,<<1,2,3>>]}
    5> A_Tuple = {1, 2, 3}.
    {1,2,3}
    6> A_Binary = <<1, 2, "n", 3>>.
    <<1,2,110,3>>
    7> A_Pid = self().
    <0.62.0>
    8> A_Number = 4.3.
    4.3
    9> A_Reference = make_ref().
    #Ref<0.0.3.4596>
    10>