Skip to content

Instantly share code, notes, and snippets.

@ybur-yug
Created January 23, 2017 22:18
Show Gist options
  • Save ybur-yug/73eeb5ea910d47fbdee3290404566fa1 to your computer and use it in GitHub Desktop.
Save ybur-yug/73eeb5ea910d47fbdee3290404566fa1 to your computer and use it in GitHub Desktop.
a_big_map = %{a: 1,
b: 1,
c: 1,
d: 1,
ea: 1,
fa: 1,
ga: 1,
fa: 1,
frgwa: 1,
fbwa: 1,
rwba: 1,
bfwrbwkjna: 1,
rgwnrugnwa: 1,
rgwuinifrwa: 1,
rguwnhirogwa: 1,
rgwiujrwa: 1,
bruwonrwa: 1,
rgowijoirgjwa: 1,
rgowijrgwoijbfa: 1,
rigojgobijssa: 1,
foibjspjoqrga: 1,
rpgiwojbiffiosna: 1,
rigowjofirgwoa: 1,
oifjgwoirjbosinba: 1,
irgjwoijgwoijbowija: 1,
rigojwigojwa: 1,
roigwjoisjbfosia: 1,
iqoienva: 1,
pzodijvoija: 1,
rpwoisjva: 1,
oiejqfgoqia: 1,
pioejqfoiegna: 1,
vodijvgqoringa: 1,
eiofqjgvioa: 1,
reigojwwriogja: 1,
rigworgwa: 1,
rgiowjdoibja: 1,
rigworgjwoija: 1,
ojrtwgijorgwja: 1,
eroqjrjogwirjgwa: 1,
erogiwjroibja: 1,
rigowibojfrwa: 1,
rwgoiqwjvgoija: 1,
roibjwsoifbjrwa: 1,
rgjoqirjgjwroigjrfroibjwsoifbjrwa: 1,
roibjwsrgowijoofbjrwa: 1,
roibjrogwjvbjdwsoifbjrwa: 1,
fjioqjgriqojroibjwsoifbjrwa: 1,
rocjvgoidjsibjwsoifbjrwa: 1,
roibjwfobsoijsoifbjrwa: 1,
roibdvoijfbwjwsoifbjrwa: 1,
roibjwsoifbofivwjobijjrwa: 1,
roibjwsoifbjrdvoisjdvoijfsiojwa: 1,
roibjwsoifbjovdjwoifbjwoijrbrwrwa: 1,
roibjwsoifbjrfobsijfboiwwa: 1,
roibjwsoiorijwgoijfbjrwa: 1,
roibjorgwhoijrgwjwsoifbjrwa: 1,
roibjwsoifbibfowjibrowjoijrwa: 1,
roirgiworgjiowjbjwsoifbjrwa: 1,
roibjwsoiforwijfbjsbjrwa: 1,
roibjwiojvsiojsoifbjrwa: 1,
roibjioidjvworiwsoifbjrwa: 1,
roibjwsoibfowbwoijfbjrwa: 1,
roibjwsoifbifbowijobfwjrwa: 1,
rowoiirgowgbjwsoifbjrwa: 1,
roibjwriwoibfjijormgwsoifbjrwa: 1,
roibjwsoifbjroegqiwowrjgwwa: 1,
roirigowjrgwjijwsoifbjrwa: 1,
roibjwrgiwojrgwsoifbjrwa: 1,
roibjwsoifbjirgowijorigjwrwa: 1}
# gives truncated output
IO.inspect(a_big_map, limit: :infinity)
keys = Map.keys(a_big_map)
vals = Map.values(a_big_map)
kvps = Enum.zip(keys, values)
# shows full output as kv pairs
IO.inspect(kvps, limit: :infinity)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment