Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Vereis/jrlscript
Browse files Browse the repository at this point in the history
  • Loading branch information
osolodo committed Mar 27, 2018
2 parents 579f8c2 + d2872ad commit 3d01d71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/Technical_Report/Jarlang Technical Report.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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} \\
Expand Down
4 changes: 2 additions & 2 deletions src/js/modules/module_erlang.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down

0 comments on commit 3d01d71

Please sign in to comment.