刚才安装了一个erl ,输入了测试代码,结果明显不对呀
- Erlang R13B04 (erts-5.7.5) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
- Eshell V5.7.5 (abort with ^G)
- 1> lists:split(7, [2,1,4,23,6,8,43,9,3]).
- {[2,1,4,23,6,8,43],[9,3]}
复制代码
- Erlang R13B04 (erts-5.7.5) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
- Eshell V5.7.5 (abort with ^G)
- 1> sets:new().
- {set,0,16,16,8,80,48,
- {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
- {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}
- 2>
复制代码 这是咋 回事 |