Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature parity with spec #1

Open
Raynos opened this issue Sep 23, 2013 · 5 comments
Open

Feature parity with spec #1

Raynos opened this issue Sep 23, 2013 · 5 comments

Comments

@Raynos
Copy link

Raynos commented Sep 23, 2013

There is a spec for todomvc ( https://github.com/tastejs/todomvc/blob/gh-pages/app-spec.md ).

It would be nice to either implement the spec or document what functionality is missing from Elm to make it possible to implement in a non hackish way.

Basically a working example or a list of open problems would be nice to see.

@evancz
Copy link
Owner

evancz commented Sep 23, 2013

Known issue, it's a time/priority thing :P When that happens, I'm thinking it may be valuable to keep this one around as a simpler learning resource (i.e. "how do I use Elm?", not "what does it look like when someone else uses Elm?")

@Raynos
Copy link
Author

Raynos commented Sep 23, 2013

@evancz if you can't write todomvc in an hour then something is wrong.

@evancz
Copy link
Owner

evancz commented Sep 23, 2013

The interesting thing is that the "hard" part is that I don't get the html and css for free. It's also that the Graphics.Input library is still somewhat experimental. In other words, there are still design choices to be made elsewhere and this is an early experiment.

Your comment seems to be needlessly rude more than anything else, so please be constructive and specific if you'd like to discuss this further. I am working hard to get all of this straightened out. Getting these APIs right takes time, and the APIs are far more important for me to spend an hour on than copying the TodoMVC style in minute detail.

@Raynos
Copy link
Author

Raynos commented Sep 23, 2013

I didn't mean to be rude. I can't express tone / humor. By all means take your time and don't rush things.

Now that you mention it, it would be far more interesting to see what decisions todomvc spec has made that are non trivial to port over to an FRP style implementation. I'm sure there are many subtle mismatches between what is straight forward for an imperative implementation vs an FRP implementation.

@evancz
Copy link
Owner

evancz commented Sep 23, 2013

Okay, no worries :) I think there are still some graphical things that'll be tricky given that the current inputs in Elm are very general. There are common patterns and repeated structures that need to be recognized and added to libraries. This example already found some!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants