elm-return icon indicating copy to clipboard operation
elm-return copied to clipboard

`pipel` and `piper` do the same thing

Open DavidDTA opened this issue 7 years ago • 1 comments

Proof of concept: https://ellie-app.com/4bM4dYd2VNYa1/1

I would expect that using pipel would append "12" on each click and piper would append "21". However both versions append "21".

If this is not a bug, it warrants documentation. If it is, it is a one-character fix (change List.foldl to List.foldr in the definition of pipel, although actually I think it's better to use List.foldl for both and switch the operators for a whopping total of 5 characters).

DavidDTA avatar Sep 01 '17 21:09 DavidDTA

Feel free to PR.

Fresheyeball avatar Aug 24 '18 21:08 Fresheyeball