Skip to content

Instantly share code, notes, and snippets.

View garazdawi's full-sized avatar

Lukas Backström (FKA Larsson) garazdawi

View GitHub Profile
@garazdawi
garazdawi / trace_issue.escript
Created August 1, 2018 11:33 — forked from devonestes/trace_issue.escript
Reproduction escript for trace/3 wierdness
#!/usr/bin/env escript
%% -*- erlang -*-
%%! -smp enable -sname wtf
main(_) ->
process_flag(trap_exit, true),
ToMap = lists:seq(1, 50),
MapFun = fun() ->
lists:map(fun(N) -> N end, ToMap)
end,
start_runner(MapFun),