From e530dabd29e3a958f9d77376209faa275dd1e59b Mon Sep 17 00:00:00 2001 From: vereis Date: Tue, 27 Mar 2018 21:43:03 +0100 Subject: [PATCH 1/2] Our names need to be in alphabetical order --- doc/Technical_Report/Jarlang Technical Report.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Technical_Report/Jarlang Technical Report.tex b/doc/Technical_Report/Jarlang Technical Report.tex index fa017c5..1edb087 100644 --- a/doc/Technical_Report/Jarlang Technical Report.tex +++ b/doc/Technical_Report/Jarlang Technical Report.tex @@ -31,7 +31,7 @@ \author{ \begin{tabular}{ c c c } Chris Bailey & Andrew Johnson & Nick Laine \\ - \url{cb661@kent.ac.uk} & \url{apj8@kent.ac.uk} & \url{nl227@kent.ac.uk} + \url{apj8@kent.ac.uk} & \url{cb661@kent.ac.uk} & \url{nl227@kent.ac.uk} \end{tabular}\\ \\ \vspace{10mm} \includegraphics[scale=0.6]{Kent_Comp_294_RGB} \\ From d2872ad7f479ce389e4c09eff78229b96ac45d26 Mon Sep 17 00:00:00 2001 From: nc-cl Date: Tue, 27 Mar 2018 23:10:43 +0100 Subject: [PATCH 2/2] BIF corrections --- src/js/modules/module_erlang.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/modules/module_erlang.js b/src/js/modules/module_erlang.js index 2c2d777..e86589e 100644 --- a/src/js/modules/module_erlang.js +++ b/src/js/modules/module_erlang.js @@ -1008,7 +1008,7 @@ const erlang = function () { }, 'list_to_binary/1': function (_cor0) { if (_cor0 instanceof List) { - let tmp = ..._cor0, upper = 1 << 8; + let tmp = [..._cor0], upper = 1 << 8; if ([tmp.every((v) => Int.isInt(v) && v.greaterThan(0) && v.lessThan(upper))]) { return new BitString(...tmp); } @@ -1017,7 +1017,7 @@ const erlang = function () { }, 'list_to_bitstring/1': function (_cor0) { if (_cor0 instanceof List) { - let tmp = ..._cor0, upper = 1 << 8; + let tmp = [..._cor0], upper = 1 << 8; if ([tmp.every((v) => Int.isInt(v) && v.greaterThan(0) && v.lessThan(upper))]) { return new BitString(...tmp); }