319 karma · joined August 12, 2011
...however, I do hope that they can bring down the price for future models. $100 is a bit steep for a hobby project to control my AC. For now, I understand that the premuim is rewarding the software effort.
Don't you mean a PR on the Chromium project?
Nobody likes the tilde-arrow lift syntax! The last line could be rewritten as follows. Does anybody think it's better or worse? I tend to prefer it, though many don't like it.
main = lift2 display Window.dimensions <| lift renderState gameState
main = display <~ Window.dimensions ~ (renderState <~ gameState)
Signals exhibit the characteristics of an applicative functor, after all, so pure functions of any arity can be lifted without needing to think if you're using lift2, lift3, etc.Your observation isn't new, most Elm games' signal graphs have the same shape - a bunch of input signals merged into one, the 'main' loop as a step state, and the drawing code.'
In particular, which kinds of Signal combinators do you feel are lacking?
Ceteris paribus is quite prevalent in economic discussion.
Good work and thanks for sharing!
(also, obligatory "now the NSA can estimate if they can chase you on foot")