#473181 libghc6-xhtml-dev: hotlink should accept any HTML, not just an Html

Package:
libghc-html-dev
Source:
haskell-html
Description:
Haskell html library for GHC
Submitter:
Josh Triplett
Date:
2015-12-20 23:36:03 UTC
Severity:
wishlist
#473181#3
Date:
2008-03-29 01:20:42 UTC
From:
To:
When using this library, I often found it inconvenient to convert the
argument of hotlink to an Html myself by calling toHtml.  I think
hotlink should instead accept any HTML a, and convert it by calling
toHtml.  This should prove source-compatible with any existing
callers, since an Html qualifies as an HTML.  This would change the
type of hotlink from

hotlink :: URL -> Html -> HotLink

to

hotlink :: HTML h => URL -> h -> HotLink

Notably, this makes it easier to curry hotlink, or to use it with
zipWith (if you have two lists) or uncurry (if you have a list of
tuples).  For the simple case of a single HTML type, it allows passing
that type directly with no parentheses or $, rather than having to use
parentheses or $ around the call to toHtml in the argument.

- Josh Triplett

#473181#16
Date:
2011-06-19 11:45:39 UTC
From:
To:
Hi Bjorn,

do you still maintain the xhtml library? There is a request by a Debian
user about the type of hotlink (which I agree with). Could you consider
this enhancement with the next xhtml release?

Thanks,
Joachim

#473181#17
Date:
2011-06-19 16:11:26 UTC
From:
To:
I don't maintain the xhtml library anymore. Check with libraries@haskell.org
.

#473181#22
Date:
2011-06-19 19:24:47 UTC
From:
To:
Hi Josh,

it seems that mainenance of the xhtml library now lies with
haskell-libraries mailing list. Are you interested in taking your
proposal to the list yourself?

Greeting,
Joachim

Am Sonntag, den 19.06.2011, 17:11 +0100 schrieb Bjorn Bringert:

#473181#27
Date:
2011-06-20 08:38:02 UTC
From:
To:
I no longer use the xhtml library.  (Of the projects I work on, one
switched to a custom templating engine, and the other uses Blaze.)  So I
probably won't chase this issue down upstream in the near future.

- Josh Triplett

#473181#34
Date:
2015-06-23 07:23:01 UTC
From:
To:
Dear submitter,

as the package haskell-xhtml has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/789018

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)