{"action":"created","issue":{"url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/263","labels_url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/263/comments","events_url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/263/events","html_url":"https://github.com/slamdata/purescript-halogen/issues/263","id":124599569,"number":263,"title":"Small Feature Request: Generalize the type of Form Events","user":{"login":"russellmcc","id":603279,"avatar_url":"https://avatars.githubusercontent.com/u/603279?v=3","gravatar_id":"","url":"https://api.github.com/users/russellmcc","html_url":"https://github.com/russellmcc","followers_url":"https://api.github.com/users/russellmcc/followers","following_url":"https://api.github.com/users/russellmcc/following{/other_user}","gists_url":"https://api.github.com/users/russellmcc/gists{/gist_id}","starred_url":"https://api.github.com/users/russellmcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellmcc/subscriptions","organizations_url":"https://api.github.com/users/russellmcc/orgs","repos_url":"https://api.github.com/users/russellmcc/repos","events_url":"https://api.github.com/users/russellmcc/events{/privacy}","received_events_url":"https://api.github.com/users/russellmcc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-02T16:51:43Z","updated_at":"2016-01-02T17:28:31Z","closed_at":null,"body":"Currently, the type of e.g. `onValueInput` is:\r\n\r\n```\r\nonValueInput :: forall f. (String -> EventHandler (f Unit)) -> Prop (f Unit)\r\n```\r\n\r\nBut, it would be more convenient for me to have it be\r\n\r\n```\r\nonValueInput :: forall i. (String -> EventHandler i) -> Prop i\r\n```\r\n\r\nSince I'm using the DOM DSL without the rest of halogen and I don't use Query functors.  If this wouldn't cause problems for you, I'd be happy to change the types and issue a pull request.\r\n\r\nIn general, there's enough value in the DOM DSL and virtual dom bindings that it would be great to split it out into a separate project.  The only difficulty there would be generalizing the virtual dom `renderHTML` function."},"comment":{"url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/comments/168410038","html_url":"https://github.com/slamdata/purescript-halogen/issues/263#issuecomment-168410038","issue_url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/263","id":168410038,"user":{"login":"natefaubion","id":144058,"avatar_url":"https://avatars.githubusercontent.com/u/144058?v=3","gravatar_id":"","url":"https://api.github.com/users/natefaubion","html_url":"https://github.com/natefaubion","followers_url":"https://api.github.com/users/natefaubion/followers","following_url":"https://api.github.com/users/natefaubion/following{/other_user}","gists_url":"https://api.github.com/users/natefaubion/gists{/gist_id}","starred_url":"https://api.github.com/users/natefaubion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefaubion/subscriptions","organizations_url":"https://api.github.com/users/natefaubion/orgs","repos_url":"https://api.github.com/users/natefaubion/repos","events_url":"https://api.github.com/users/natefaubion/events{/privacy}","received_events_url":"https://api.github.com/users/natefaubion/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T17:28:31Z","updated_at":"2016-01-02T17:28:31Z","body":"I would like to see halogen-html split off as well. The DSL is top-notch, and the correct-by-construction approach is a great showcase for PS. FWIW, I made this same change in #245."}}