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

Remove submitter function and type. #26

Merged
merged 3 commits into from
Sep 11, 2018
Merged

Conversation

thomashoneyman
Copy link
Owner

@thomashoneyman thomashoneyman commented Sep 10, 2018

What does this pull request do?

Removes the submitter function and out type from the component for simplicity. For further details:

Resolves #21

Where should the reviewer start?

Review changes to the Formless component and to how the Submitted message is handled in each example file.

Other Notes:

I'll leave this PR open until tomorrow for comments.

@thomashoneyman thomashoneyman added the enhancement New feature or request label Sep 10, 2018
@thomashoneyman thomashoneyman added this to the 0.3.0 milestone Sep 10, 2018
@thomashoneyman thomashoneyman self-assigned this Sep 10, 2018
{ name :: String
, text :: String
}
type Contact = { name :: String, text :: String }

newtype Form r f = Form (r

Choose a reason for hiding this comment

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

Would it be clearer to call this UserForm? Especially now that we've taken User out of the Formless type signatures

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yea, renaming to ContactForm is for the best. Thanks!

@thomashoneyman thomashoneyman merged commit bde79a4 into master Sep 11, 2018
@thomashoneyman thomashoneyman deleted the remove-submitter branch September 11, 2018 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants