Skip to content

Instantly share code, notes, and snippets.

@aerosol
Created February 6, 2012 10:37
Show Gist options
  • Save aerosol/1751391 to your computer and use it in GitHub Desktop.
Save aerosol/1751391 to your computer and use it in GitHub Desktop.
unconsult(File, L) ->
{ok, S} = file:open(File, write),
lists:foreach(fun(X) -> io:format(S, "~p.~n",[X]) end, L),
file:close(S).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment