
It all depends what "taken" means. Data.Sequence uses <| for cons and
|> for snoc. That may not have been the best decision, but it was made
a long time ago.
On Sat, Dec 13, 2014 at 11:08 AM, Wojciech NarczyĆski
W dniu 2014-12-13 o 13:57, Alexander Berntsen pisze:
On 12/12/14 14:22, Johan Tibell wrote:
Everything doesn't have to have an operator! We use operators a bit too much. It hurts readability of code when lines start looking like APL.
I agree. Furthermore I think '$' (and by extension '&') is dreadful. We should have gone with '<|' and '|>' like e.g. F#. It is a shame that we do not have mnemonic operators for something so common.
Oh, I also agree. I find the F# code laid out like:
theThing |> op1 |> op2 |> op2
visually pleasing and self understandable.
It's not too late, these two operators are not taken.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe