elm/compiler/Gen
ngunn b6872d4bac Singleton Nil consequential change to compiler (minor)
CompileToJS generates objects using "ctor:"... for all non-primitives.
Added special handling for lists

Might be better to have a separate tag instead of: Data "Nil"

Test case:
main_join = let f x xs = (x::xs)
    in asText $ zipWith f ['c','m','t'] ["hop","ill","ape"]

 before fails with "xs: undefined".
2013-03-26 01:04:19 +00:00
..
Cases.hs Move the compiler down a directory, mostly. 2013-03-16 12:04:05 -07:00
CompileToJS.hs Singleton Nil consequential change to compiler (minor) 2013-03-26 01:04:19 +00:00
ExtractNoscript.hs Move the compiler down a directory, mostly. 2013-03-16 12:04:05 -07:00
GenerateHtml.hs Move the compiler down a directory, mostly. 2013-03-16 12:04:05 -07:00