Skip to content

Instantly share code, notes, and snippets.

@shanemhansen
Created December 22, 2011 07:12
Show Gist options
  • Save shanemhansen/1509329 to your computer and use it in GitHub Desktop.
Save shanemhansen/1509329 to your computer and use it in GitHub Desktop.
print(none)->
none;
print(Tree) ->
{Word,Count,Left,Right}=Tree,
print(Left),
io:fwrite("~s ~B",[Word,Count]),
print(Right).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment