update to erlang 20

This commit is contained in:
getong 2017-06-22 14:49:58 +08:00
parent 520b9b785f
commit 965fd66f6e
1 changed files with 5 additions and 5 deletions

View File

@ -12,9 +12,9 @@ Erlang is a programming language used to build massively scalable soft real-time
```console
➸ docker run -it --rm erlang
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V7.1 (abort with ^G)
Eshell V9.0 (abort with ^G)
1> uptime().
3 seconds
ok
@ -31,11 +31,11 @@ User switch command
? | h - this message
--> q
➸ docker run -it --rm -h erlang.local erlang erl -name snode@erlang.local
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V7.1 (abort with ^G)
Eshell V9.0 (abort with ^G)
(snode@erlang.local)1> erlang:system_info(otp_release).
"18"
"20"
(snode@erlang.local)2>
User switch command
--> q