Let me correct one thing.

This proposal has nothing to do with ```|>```.
>

What I meant to say is that the two proposals are not interdependent or
related, but since ```.p``` is to be a function retrieving the value of
property ```p```, it can be used like any other function in a pipline, and
iso n fact plays quite nicely with pipelines.

```
const bedroomSize = house
  |> getRooms
  |> .bedroom // pick bedroom property from rooms object
  |> calcRoomSize;
```

Bob
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to