Skip to content

Instantly share code, notes, and snippets.

@voluntas
Created January 23, 2011 14:53
Show Gist options
  • Save voluntas/792123 to your computer and use it in GitHub Desktop.
Save voluntas/792123 to your computer and use it in GitHub Desktop.
meck 使ってるとこの部分のエラーが出てしまう
%% Removes a module from the list of imported modules and writes a warning
%% This is done when a module is compiled.
remove_imported(Module,Imported) ->
case lists:keysearch(Module,1,Imported) of
{value,{Module,_,ImportFiles}} ->
io:fwrite("WARNING: Deleting data for module ~w imported from~n"
"~p~n",[Module,ImportFiles]),
lists:keydelete(Module,1,Imported);
false ->
Imported
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment