Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Something like Elm's Html module:

    div [ id "test" ] [ text "stuff" ]
vs

    div [| id "test" |] [| text "stuff" |]
If the JS library expects an array (not uncommon), that gets ugly quickly.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: