wfc stuff
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
% @doc misc utility functions
|
||||
-module(wfc_utils).
|
||||
|
||||
-export([err/2, emsg/2]).
|
||||
|
||||
err(Fmt, Pat) ->
|
||||
{error, emsg(Fmt, Pat)}.
|
||||
|
||||
emsg(Fmt, Pat) ->
|
||||
unicode:characters_to_list(io_lib:format(Fmt, Pat)).
|
||||
Reference in New Issue
Block a user