
5 Mar
2010
5 Mar
'10
7:08 a.m.
On Fri, Mar 5, 2010 at 8:07 AM, Johan Tibell
On Fri, Mar 5, 2010 at 4:48 AM, iquiw
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"!