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

Fixed sample code and instructions #188

Merged
merged 1 commit into from
Oct 3, 2017
Merged

Conversation

Valbrand
Copy link
Contributor

@Valbrand Valbrand commented Oct 3, 2017

I was following the tutorial (finally learning Elm!!!), and I got a bit confused during this step. I didn't know at first whether I should create a new file or just edit App.elm. Eventually I figured it out as it's not really rocket science, but this should help newcomers 😄

@@ -4,8 +4,10 @@

In the last section, we created an application using Html.program that was just static Html. Now let's create an application that responds to user interaction using messages.

Now, edit your **App.elm** file, or create a new one (just remember to give the module the same name that your source file has):

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In https://github.com/sporto/elm-tutorial-app/blob/master/src/Main.elm I named the app Main.
I think this is great, but please change to Main.elm

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't mind this. You are right, this part of the tutorial uses App.elm. I might need to make this consistent later.

@sporto sporto merged commit e728b1f into sporto:master Oct 3, 2017
@sporto
Copy link
Owner

sporto commented Oct 3, 2017

Thanks

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

Successfully merging this pull request may close these issues.

2 participants