
{"id":8171,"date":"2013-02-17T14:02:22","date_gmt":"2013-02-17T14:02:22","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=8171"},"modified":"2013-02-17T14:02:22","modified_gmt":"2013-02-17T14:02:22","slug":"erlang-shell","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2013\/02\/17\/erlang-shell\/","title":{"rendered":"Erlang shell  ."},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$erl\nErlang R15B01 (erts-5.9.1) [source] [64-bit] [async-threads:0] [kernel-poll:false]\n\nEshell V5.9.1  (abort with ^G)\n1&gt; q().\nok\n2&gt; $\n$erl\nErlang R15B01 (erts-5.9.1) [source] [64-bit] [async-threads:0] [kernel-poll:false]\n\nEshell V5.9.1  (abort with ^G)\n1&gt; h().\nok\n2&gt; h()\n2&gt; .\n1: h()\n-&gt; ok\nok\n3&gt; pwd().\n\/home\/jeffrin\/Downloads\nok\n4&gt; cd(\"..\").\n\/home\/jeffrin\nok\n5&gt; 1+2.\n3\n6&gt; 3*2.\n6\n7&gt; 3-3.\n0\n8&gt; 6-2\n8&gt; .\n4\n9&gt; 2*v(6).\n12\n10&gt; math:pi().\n3.1415921003589793\n11&gt; math:sin(10).\n-0.5440211108893698\n12&gt; 21\n12&gt; 12e23\n12&gt; 2*v(12).\n* 2: syntax error before: 12\n12&gt; k=1.\n** exception error: no match of right hand side value 1\n13&gt; k=1\n13&gt; k\n13&gt; .\n* 2: syntax error before: k\n13&gt; k.\nk\n14&gt; K=1.\n1\n15&gt; K.\n1\n16&gt; K=K+1.\n** exception error: no match of right hand side value 2\n17&gt; K=K.\n1\n18&gt; P=2.\n2\n19&gt; K+P.\n3\n20&gt; b().\nK = 1\nP = 2\nok\n21&gt; f().\nok\n22&gt; b().\nok\n23&gt;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $erl Erlang R15B01 (erts-5.9.1) [source] [64-bit] [async-threads:0] [kernel-poll:false] Eshell V5.9.1 (abort with ^G) 1&gt; q(). ok 2&gt; $ $erl Erlang R15B01 (erts-5.9.1) [source] [64-bit] [async-threads:0] [kernel-poll:false] Eshell V5.9.1 (abort with ^G) 1&gt; h(). ok 2&gt; h() 2&gt; . 1: h() -&gt; ok ok 3&gt; pwd(). \/home\/jeffrin\/Downloads ok 4&gt; cd(&#8220;..&#8221;). \/home\/jeffrin ok 5&gt; 1+2. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2013\/02\/17\/erlang-shell\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Erlang shell  .&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/8171"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=8171"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/8171\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=8171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=8171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=8171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}