Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify eval stamp generation

  • Loading branch information...
commit 3dfed26b42c5a596accbb30242d504d2c2650b05 1 parent fd03fda
Tony Arcieri authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/core/reia_eval.erl
View
3  src/core/reia_eval.erl
@@ -54,8 +54,7 @@ exprs(Exprs, Bindings) ->
% Generate a unique module name. Base it off the current PID
stamp() ->
- SplitPid = re:split(pid_to_list(self()), "\\."),
- string:join([binary_to_list(Num) || Num <- SplitPid], "_").
+ string:join(string:tokens(pid_to_list(self()), "."), "_").
temporary_module(Name, Args, Exprs) ->
#module{line=1, name=Name, exprs=[
Please sign in to comment.
Something went wrong with that request. Please try again.