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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to