Created
January 23, 2011 14:53
-
-
Save voluntas/792123 to your computer and use it in GitHub Desktop.
meck 使ってるとこの部分のエラーが出てしまう
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% 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