Timeline for Prefix Notation to Postfix Notation
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 10, 2017 at 21:47 | history | edited | Laikoni | CC BY-SA 3.0 |
- bytes thanks to Zgarb
|
May 10, 2017 at 21:42 | comment | added | Laikoni |
@Zgarb Thanks! For some reason I only considered f(x:r)|x<'0',(a,(b,c))<-f<$>f r=(a++b++"-",c)|1<3=([x],r) when I looked for a version with both cases combined, which is byte longer.
|
|
May 10, 2017 at 7:07 | comment | added | Zgarb |
You can save 3 bytes by combining the cases: f(x:r)|x>'-'=([x],r)|(a,(b,c))<-f<$>f r=(a++b++"-",c)
|
|
May 9, 2017 at 17:51 | history | answered | Laikoni | CC BY-SA 3.0 |