Timeline for Tips for golfing in Haskell
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 13, 2017 at 16:14 | comment | added | Laikoni |
The same goes for chr and toEnum , however the type of toEnum needs to be forced from context.
|
|
Jan 11, 2017 at 8:15 | comment | added | Renzeee | @Zgarb: of course, I'm always doing that when writing answers, but for this tip I totally forgot about it. | |
Jan 11, 2017 at 8:14 | history | edited | Renzeee | CC BY-SA 3.0 |
deleted 26 characters in body
|
Jan 11, 2017 at 7:59 | comment | added | Zgarb |
If you use it more than once, you should define an alias with e=fromEnum , which is shorter than import Data.Char and costs 1 byte to use.
|
|
Jan 11, 2017 at 7:33 | history | answered | Renzeee | CC BY-SA 3.0 |