prakhar1989/JSJS

Add a cons operator

Closed this issue · 2 comments

OCaml style syntax -

val new_list = 4 :: [1, 2, 3]

I was thinking of the same thing!! :-P
It will be quite easy to do that as well.

@bahuljain Yo! Just sent in a new commit. Adding it now in codegen and semantic.