[Haskell-cafe] How about Haskell Golf just like vimgolf.com

Alex Kropivny alex.kropivny at gmail.com
Tue Jan 4 01:47:13 CET 2011

Could a subreddit of some kind be used for this, or is a new site necessary?

I can see a subreddit where people vote for problems they'd like to see
elegant solutions to, then solutions are in the replies and get voted on.

Might be tricky for larger solutions (you'd have to move them to git/gist or
whatever) but would be amazing for learning "good" Haskell if it got off the

On Mon, Jan 3, 2011 at 8:19 AM, Ertugrul Soeylemez <es at ertes.de> wrote:

> Alex Kropivny <alex.kropivny at gmail.com> wrote:
> > Could something like code abstraction be done instead?
> >
> > Haskell lends itself to solving problems in really generic, high level
> > ways that reveal a LOT about the underlying problem structure. Through
> > some combination of descriptive data types, generic type classes, and
> > generic helper functions... You get an extremely clear problem
> > description.
> >
> > Example: https://github.com/amtal/snippets/blob/master/Key.hs (Haskell)
> > versus http://siyobik.info/index.php?module=pastebin&id=543 (C++)
> >
> > Clarity is a lot harder to score for, so you'd probably need to score
> > things via votes. (Unless there's a way to measure how
> > "generic"/high-level code is?) Such a site would fill a very nice
> > role, that the programming language shootout definitely does not fill.
> >
> > Currently the only way to figure out what "good" Haskell code looks
> > like is to browse lots of blogs, and dig through hackage until you
> > find beautifully written packages.
> I really like this idea.  New concepts in Haskell come up from time to
> time.  Now if there was a competition for code quality and good ideas,
> they may become more frequent.
> Greets,
> Ertugrul
> --
> nightmare = unsafePerformIO (getWrongWife >>= sex)
> http://ertes.de/
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110103/db8fa1a9/attachment.htm>

More information about the Haskell-Cafe mailing list