git.iko.soy
/
elk
readme
files
commits
refs
on
master
help
sign in
Add back definition for Native.List.Cons
44cc85e
Evan Czaplicki
10 years ago
src/Generate/JavaScript/BuiltIn.hs
+5
compare with master
unified
split
@@ -43,6 +43,11 @@ list elements =
43
Var
.coreNative
"List"
"fromArray"
<|
JS
.
Array
elements
43
Var
.coreNative
"List"
"fromArray"
<|
JS
.
Array
elements
44
44
45
45
46
+
cons
::
JS.Expr
->
JS.Expr
->
JS.Expr
47
+
cons front back =
48
+
JS
.
Call
(
Var
.coreNative
"List"
"Cons"
) [front, back]
49
+
50
+
46
51
47
-- RECORDS
52
-- RECORDS
48
53
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list