power_shell
power_shell copied to clipboard
Erlang shell with advanced features: evaluating non-exported functions and shortcuts for frequently used functions.
Example: ``` 4> power_shell:export(non_existing, [{function, 2}]). =CRASH REPORT==== 12-Oct-2022::18:18:37.112113 === crasher: initial call: power_shell:sentinel/3 pid: registered_name: [] exception error: undefined function non_existing:module_info/1 in function power_shell:sentinel/3 (/home/max-au/git/max-au/power_shell/src/power_shell.erl, line 99) ancestors: []...
``` -module(thingy). -export([x/0]). x() -> lists:foldl(fun (E, A) -> some_mod:xyz(E, A) end, [], [1, 2, 3]). ``` ``` 1> c(thingy),power_shell:eval(thingy,x,[]). ** exception error: undefined function lists:foldl/3 in function lists:foldl/3 in...