>
> Kinda like how you currently have the freedom to chose between |> and <|,
> >> and <<


They're not really the same thing: << is function composition, and <| is
function application. There are cases where you can use either, but for
each there are cases where only one will do the trick.

Whereas, where vs. let are literally identical in what they do, they just
look different.

On Wed, Jan 4, 2017 at 12:20 PM, 'Andrew Radford' via Elm Discuss <
elm-discuss@googlegroups.com> wrote:

> Colin,
>
> Thanks for this comprehensive post - very well thought out and reasonably
> considered
>
> TIL about 'where' - wow so much awesome stuff is in Haskell.  Let...in now
> seems to be upside down! 'Where' seems to closer suit describing *ideas* like
> you would in Plain English:
>
> Kinetic Energy is:  1/2 mv^2
>  where 'm' is the mass
>  and 'v' is the velocity
>
> i.e it follows a pattern more human-brain-friendly:
>
> *Name* : *Fundamental Idea*
>  other
>  small
>  details
>  if you really care
>
> For the same reason we don't lay out our recipes ingredients first
> followed by the name of the dish. Or our CVs with the description of
> duties, sate of service then finally the Job title.
>
> I'm a 'top down' thinker, not a 'bottom up' thinker, so would probably
> chose where over let. But is Is 'where' really actually just a re-organised
> let..in? I.e if there was support for both, would it be simply a choice of
> personal style preference? Kinda like how you currently have the freedom to
> chose between |> and <|, >> and << etc?
>
>
>
> On Saturday, 31 December 2016 18:36:14 UTC, Colin Woodbury wrote:
>>
>> *On `where`*
>>
>> <Snip>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to