[Haskell-cafe] Can this be improved?

Tomasz Zielonka tomasz.zielonka at gmail.com
Tue Dec 27 17:36:22 EST 2005

On Tue, Dec 27, 2005 at 04:39:34PM +0000, Chris Kuklewicz wrote:
> Happy Holidays,
> I was wondering if it this small snippet of code could be altered to
> require fewer OPTIONS -fallow-... switches.
> It creates a show-what-i-mean function called "swim" that takes a
> variable number of arguments, and treats strings as-is, calling show on
> the other arguments.

Perhaps you can use the same trick that allows "show" to treat
String = [Char] differently than all other lists? I mean the
showList method.

Best regards

I am searching for a programmer who is good at least in some of
[Haskell, ML, C++, Linux, FreeBSD, math] for work in Warsaw, Poland

More information about the Haskell-Cafe mailing list