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

Sample syntax:

    table_ (tr_ (td_ (p_ "Hello, World!")))
More complex:

    table_ [rows_ "2"]
           (tr_ (do td_ [class_ "top",colspan_ "2",style_ "color:red"]
                        (p_ "Hello, attributes!")
                    td_ "yay!"))

Source: https://hackage.haskell.org/package/lucid


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

Search: