[web-devel] [Yesod] psuedo-announcement: yesod-goodies
greg at gregweber.info
Sun Jul 17 08:12:26 CEST 2011
I like these helpers! I am wondering if they can be organized a bit
better For the helpers that aren't specific to yesod (Shorten, Time,
Gravatar, Search) could that be move to a web-goodies or web-helpers module
so it is clear for non-Yesod users that they can use them and that there
isn't a yesod dependency?
I am also wondering if it is best to remove the Goodies namespace? But for
something like Time it might be named something like Display.Time (maybe
there is a better convention on hackage already).
On Sat, Jul 16, 2011 at 10:08 PM, Michael Snoyman <michael at snoyman.com>wrote:
> Sounds great. And just to give credit where credit is due, the "fuzzy
> time" code was taken from Gregory Collins in the first place.
> On Sun, Jul 17, 2011 at 7:17 AM, Patrick Brisbin <pbrisbin at gmail.com>
> > Hey all,
> > Just wanted to post a quick note here about a package I've started with
> > various little utilities that I find generally useful enough to be used
> > across different yesod sites.
> > The best explanation is probably by way of example, so here's what it
> > provides so far:
> > Y.G.Gravatar : fetch a gravatar image for an email address
> > Y.G.Links : concise internal/external link-widgets
> > Y.G.Markdown : a slightly altered version of yesod-markdown
> > Y.G.Paginate : paginate a large list of items
> > Y.G.Search : a type class engine behind search pages
> > Y.G.Shorten : a type class to shorten a variety of...
> > Y.G.Time : prints UTCTime as "one hour ago", etc
> > That last one was taken from haskellers.com (hope you don't mind
> > Michael).
> > The package has been on hackage for a bit and the source is on
> > github. Feel free to contribute if you've got your own goodies.
> > Thanks,
> > Pat
> > 1: http://hackage.haskell.org/package/yesod-goodies
> > 2: https://github.com/pbrisbin/yesod-goodies
> > --
> > patrick brisbin
> > _______________________________________________
> > web-devel mailing list
> > web-devel at haskell.org
> > http://www.haskell.org/mailman/listinfo/web-devel
> web-devel mailing list
> web-devel at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the web-devel