com-lihaoyi / scalatags

ScalaTags is a small XML/HTML construction library for Scala.
https://com-lihaoyi.github.io/scalatags/
MIT License
758 stars 117 forks source link

Add helper functions for the various Seq[T]s of interest #144

Closed lihaoyi closed 7 years ago

lihaoyi commented 7 years ago
def modifiers(xs: Modifier*): Modifier
def frags(xs: Frag*): Frag

These are already basically-available through implicits on Seq[Frag] and Seq[Modifier], but it would be nice to have dedicated aliases for them. Seq(...) on its own doesn't work because the type inference doesn't line up right

lihaoyi commented 7 years ago

Fixed by https://github.com/lihaoyi/scalatags/commit/0380c632fc907637999b4de4aa95961a68c09ffe