Skip to content

Instantly share code, notes, and snippets.

@tsloughter
Created December 13, 2013 00:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tsloughter/7937857 to your computer and use it in GitHub Desktop.
Erlang R17A (erts-5.11) [source-458e302] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V5.11 (abort with ^G)
1> T = [{attributes,[[{id,age,1.50000},{mode,explicit},
1> {typename,"INTEGER"}], [{id,cho},{mode,explicit},{typename,'Cho'}]]},
1> {typename,'Person'},{tag,{'PRIVATE',3}},{mode,implicit}].
[{attributes,[[{id,age,1.5},
{mode,explicit},
{typename,"INTEGER"}],
[{id,cho},{mode,explicit},{typename,'Cho'}]]},
{typename,'Person'},
{tag,{'PRIVATE',3}},
{mode,implicit}]
2> w(T).
[{attributes,[[{id,age,1.5},{mode,explicit},{typename,[73,78,84,69,71,69,82]}],[{id,cho},{mode,explicit},{typename,'Cho'}]]},{typename,'Person'},{tag,{'PRIVATE',3}},{mode,implicit}]
ok
3> p(T).
[{attributes,[[{id,age,1.5},
{mode,explicit},
{typename,"INTEGER"}],
[{id,cho},{mode,explicit},{typename,'Cho'}]]},
{typename,'Person'},
{tag,{'PRIVATE',3}},
{mode,implicit}]
ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment