[Haskell-cafe] Anyone up for Google SoC 2010?

Johan Tibell johan.tibell at gmail.com
Fri Mar 5 02:08:48 EST 2010


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

> On Fri, Mar 5, 2010 at 4:48 AM, iquiw <iku.iwasa at 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"!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100305/2dc13176/attachment.html


More information about the Haskell-Cafe mailing list