Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wheatBread
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
wheatBread
13y ago
I never use it in examples, but mainly because of feedback that I get. When I use them, beginners tell me they can't figure out what's going on. When I don't use them, no one tells me things! :) So for a beginner text, I thin
32.
▲
by
wheatBread
13y ago
It seems the internet shares this opinion. My feeling was that `px` was a general solution, but I may have misunderstood the true meaning of em. I'd imagined code such as: em = 16 title = Text.height (2*em) (toText "Titl
33.
▲
by
wheatBread
13y ago
I'm going to focus on creating more CRUD examples now that 0.9 is out. In the same way that JavaScript needs frameworks to have a nice high-level way to create CRUD, Elm needs libraries and frameworks too. I have been focusing on langu
34.
▲
by
wheatBread
13y ago
Small revision, the second code line should be: f a b <| g x y Just like F# :)
35.
▲
by
wheatBread
13y ago
Ahhhh, I recognize that user name! Thank you!! :D
36.
▲
by
wheatBread
14y ago
A generalization. Arrowized FRP (as introduced in Yampa) can be entirely embedded in Elm. The Automaton library is the beginnings of such an embedding: http://elm-lang.org/docs/Automaton.elm To be more concrete, in Elm you can work direct
37.
▲
by
wheatBread
14y ago
1) Brand new language inspired by Haskell's syntax, but it is really much closer to ML (strict evaluation, no type classes). More info: http://www.testblogpleaseignore.com/2012/06/21/why-elm/ 2) That is totally true! The idea is quite gen
38.
▲
by
wheatBread
14y ago
It serves Elm files directly. You just start it up, and can use F5 to recompile files from the browser. PS. Thank you! :D I actually like web programming these days because of it :)
39.
▲
by
wheatBread
14y ago
I think so, but I am biased (lead dev and designer :P) The entire site is written in Elm (excluding the code editor which relies on CodeMirror). If you click the "View Page Source" in the top right corner of every page, you can see the full
40.
▲
by
wheatBread
14y ago
While this massive bit of speculation is exciting, this is not the case. It is a compiler error indicating that the poster somehow compiled an Elm file without any content in it. I suspect my servers are having a bad time right now, so the
41.
▲
by
wheatBread
14y ago
Can you specify which link you visited? Or what platform you are on?
42.
▲
Elm: Making the Web Functional [video/slides]
(infoq.com)
8 points
by
wheatBread
14y ago
|
0 comments
43.
▲
Escape from Callback Hell: Callbacks are the modern goto
(elm-lang.org)
247 points
by
wheatBread
14y ago
|
147 comments
44.
▲
What is “Functional Reactive Programming”?
(elm-lang.org)
13 points
by
wheatBread
14y ago
|
0 comments
45.
▲
FRP Web programming in Elm: now with JavaScript integration and module system
(testblogpleaseignore.com)
3 points
by
wheatBread
14y ago
|
0 comments
46.
▲
by
wheatBread
14y ago
Elm is a functional reactive language for web programming. To learn the basics, please check out the recently updated interactive examples ( http://elm-lang.org/Examples.elm ) and documentation ( http://elm-lang.org/Documentation.elm ). Thi
47.
▲
Elm: Functional Reactive Web Programming. Source + compiler/server now available
(elm-lang.org)
4 points
by
wheatBread
14y ago
|
1 comments
48.
▲
by
wheatBread
15y ago
I couldn't have said it better myself. Thanks for backing me up :)
49.
▲
by
wheatBread
15y ago
What was your project called? I remember reading a paper on an ML implementation of FRP (Reactive ML?); I'm curious if that was you. Also, yes, on my website. I'm working with Stephen Chong. This isn't his primary research focus, but he is
50.
▲
by
wheatBread
15y ago
Thank you :) - It isn't open source right now. I think that's best while the language is still developing, but I plan on opening it up once things have settled down. I don't want to have legacy code before I've even started :P - No, that as
51.
▲
by
wheatBread
15y ago
That's a much tougher question. I am still early in the process, so I don't have a clean and clear answer yet. I am trying to approach FRP from the perspective of GUI design. In this context continuous Behaviors and discrete Events are not
52.
▲
by
wheatBread
15y ago
Thank you! Dictionaries and Sets are high on the ever growing list of extremely important libraries :) Also, it compiles to HTML, CSS, and JS. Not just JS!
53.
▲
by
wheatBread
15y ago
For those of you not familiar with FRP, it's a really great read! Hudak and Elliott really present their ideas clearly and elegantly.
54.
▲
by
wheatBread
15y ago
This is an important issue! I'm aware of the problem and have some ideas of how to avoid it. My compiler is not actually doing any optimization at this stage, so this will be addressed when I give this more attention.
55.
▲
by
wheatBread
15y ago
Flapjax still has you deal with the abstractions provided by HTML and CSS. I generally think these abstractions are pretty problematic, but more subtly, this means you must think imperatively (e.g. modifying the DOM) which doesn't really fi
56.
▲
by
wheatBread
15y ago
Thank you! And yes, that has been a really good way to test the language out. I don't want to add it to the examples because I use some internal-only functions to make it work nicely. It's also not terribly instructive. You can see it at (
57.
▲
by
wheatBread
15y ago
Thank you :) No download yet though. With thesis deadlines, it will be ready in spring at the earliest.
58.
▲
by
wheatBread
15y ago
This is my project. I agree that the type of link is a little weird. This was added pretty early on in the project and I haven't circled back around to rethink it. I'll try to address your questions: - Why is text necessary? Elements are al
59.
▲
by
wheatBread
15y ago
Hey, this is my project! :) I am surprised it got posted here, but I am also glad to see people are interested. One note on the title of this post: Elm compiles to HTML, CSS, and JS. Not just JS! I think this actually an extremely important