On Fri, Mar 5, 2010 at 8:07 AM, Johan Tibell <johan.tib...@gmail.com> wrote:

> On Fri, Mar 5, 2010 at 4:48 AM, iquiw <iku.iw...@gmail.com> wrote:
>
>> I think I would use the module system for namespacing rather than using
>> function prefixes. Like so:
>
>
> import Text.Html as E
> import qualified Text.Html.Attribute as A
>
> E.html ! [A.class_ "my-class"] (... more combinators ...)
>
> (Assuming that "!" is used to introduce attributes.)
>
> This allows you to use the element names and/or the attribute names
> unclassified if you so desire.
>

This should of course have been "unqualified"!
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to