Whoops, read too fast. Sorry for the noise.

On 7/26/07, Stefan O'Rear <[EMAIL PROTECTED]> wrote:
On Thu, Jul 26, 2007 at 02:58:21PM -0500, Nicolas Frisby wrote:
> A bandaid suggestion:
>
> longFunctionName various and sundry arguments = f where
> f | guard1 = body1
> f | guard2 = body2
>   | ...
>    where declarations
>
> (Disclaimer: untested)
>
> As I understand it, there can be guards on the definition of f even if
> it takes no arguments. Those guards can reference your the various and
> sundry arguments.

Eh?  Mine doesn't use up a where clause and doesn't use a f noise symbol.
Why do you need a band-aid?

"longFunctionName\32=\n\32|\32guard\32=\32body\n\32|\32guard\32=\32body\n\32..."

Stefan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGqP3jFBz7OZ2P+dIRAgGhAKC3X7hV/vLElQelqCtjZ7XlZQDvdACfftJc
R2g03ScWG33jSzGJ8yxJvUM=
=rq9Y
-----END PGP SIGNATURE-----


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to