Last active
October 27, 2018 07:20
-
-
Save ryuheechul/017c37cabeb4de786b9213b3081f4c7d to your computer and use it in GitHub Desktop.
the case new fast pipe syntax `->` doesn't work after `|>`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this works */ | |
"1=2=3" | |
|> Js.String.split("=") | |
|. Js.log; | |
/* this works, too */ | |
"1=2=3" | |
-> Js.log; | |
/* but the code below doesn't */ | |
/* you can test this with uncommenting | |
"1=2=3" | |
|> Js.String.split("=") | |
-> Js.log; | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment