Timeline for Un-pipe an Elixir expression
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 30, 2021 at 20:48 | history | edited | qwatry | CC BY-SA 4.0 | added 573 characters in body |
| Mar 30, 2021 at 20:27 | comment | added | qwatry | @kops You're mostly right. If the first item in the pipe is a function the b variable isn't needed, but if it is a variable or number the last character of the variable will be removed and there will be an extra ) at the end. But I still think you're right about the b variable being unnecessary. I've been experimenting with it and I've found this 81 byte solution. | |
| Mar 30, 2021 at 20:03 | comment | added | kops | @Neil shoot, thanks I missed that case in my answer as well... will have to go fix | |
| Mar 30, 2021 at 20:00 | comment | added | Neil | @kops Doesn't work for the first test case 2|>myFunction(). | |
| Mar 30, 2021 at 19:56 | comment | added | kops | Neat strategy, but I think your b variable isn't doing anything for -5 bytes | |
| Mar 30, 2021 at 18:10 | history | answered | qwatry | CC BY-SA 4.0 |