[Haskell-beginners] Good style on "." and "$" pipeline?

David Johnson djohnson.m at gmail.com
Thu Aug 23 01:18:47 CEST 2012


"agglutinative" That is one crazy word.

On Wed, Aug 22, 2012 at 10:09 AM, Brandon Allbery <allbery.b at gmail.com>wrote:

> On Tue, Aug 21, 2012 at 9:34 PM, koomi <koomi at hackerspace-bamberg.de>wrote:
>
>> On 21.08.2012 22:43, Brent Yorgey wrote:
>> > Having more than one $, like (f1 $ f2 $ fn $ arg), is frowned upon.
>> Care to explain why this is considered bad? I don't see anything wrong
>> with this.
>>
>
> Experientially, we see it a lot in #xmonad from beginners combining stuff
> together with a certain amont of cargo-culting (being beginners and usually
> quite unfamiliar with Haskell).
>
> I've been moving toward using ($) to separate logical "phrases" and (.)
> within the phrases, to make it easier to see which things go with which.
>  Since layoutHook is rather agglutinative, this helps a lot.
>
> --
> brandon s allbery                                      allbery.b at gmail.com
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>


-- 
Cell: 1.630.740.8204
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120822/057787f0/attachment.htm>


More information about the Beginners mailing list