Elm: a functional reactive programming language that compiles to JavaScript
1–10 of 51 posts
Re: Elm: a functional reactive programming language that compiles to JavaScript
#2Re: Elm: a functional reactive programming language that compiles to JavaScript
#3Re: Elm: a functional reactive programming language that compiles to JavaScript
#4Re: Elm: a functional reactive programming language that compiles to JavaScript
#5Something like this is badly needed to unify front-end web design and development.
Re: Elm: a functional reactive programming language that compiles to JavaScript
#6Doesn't it seem like Elm could become HyperCard for the WWW, but with more powerful programming concepts?
I had a similar idea, but with a few more variations:
* Syntax more like HyperTalk.
* OOP/FP inspired from Factor.
(Which was inspired by a bunch of different languages.)
* have it also run code on the server-side with
several data-store architectures to choose from.Re: Elm: a functional reactive programming language that compiles to JavaScript
#7One suggestion if you take this further is to add a "dictionary" or "hash table" type. For practical programming problems, that is pretty necessary.
But a really neat project - it's cool to see a functional programming take on the CoffeeScript-style compiling-to-javascript.
Re: Elm: a functional reactive programming language that compiles to JavaScript
#8http://www.usenix.org/publications/library/proceedings/dsl97...
Re: Elm: a functional reactive programming language that compiles to JavaScript
#9Then you need to use the text function (String -> Element) to make that link appear properly on the screen.
This means that the text function (intentionally?) does not HTML-escape strings, even though examples suggest that it is the recommended way to put some unformatted text on the screen.
text seems very poorly named, especially if the goal is for HTML/CSS/Javascript to be treated like assembly. Maybe create a function called html that does what text does now, and let the text function be equivalent to (html . htmlEscape).
Looks nice overall, and I look forward to seeing how it develops. Is Elm available for download?