Timeline for List all possible titles for the Anno games
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 24, 2018 at 9:59 | comment | added | schuelermine |
The default bind operator is (>>=) , what you showed is the reverse bind operator.
|
|
Oct 24, 2018 at 9:57 | history | edited | schuelermine | CC BY-SA 4.0 |
changed code
|
Oct 24, 2018 at 9:52 | history | edited | schuelermine | CC BY-SA 4.0 |
actually changed link
|
Oct 23, 2018 at 14:14 | history | edited | Laikoni | CC BY-SA 4.0 |
fixed ypo
|
Oct 23, 2018 at 14:13 | comment | added | Laikoni |
A few more: Instead of using map the conversion to string can be put into the list comprehension. concat.map is common enough that there exists a build-in called concatMap , however the overloading of the bind operator =<< on lists has the same effect and is even shorter.
|
|
Oct 23, 2018 at 8:38 | history | edited | schuelermine | CC BY-SA 4.0 |
added 24 characters in body
|
Oct 22, 2018 at 22:01 | comment | added | Laikoni |
Nice approach, but unfortunately lists of digits are not valid output. However, there a few ways you can save some bytes to make up for the additional ones you need for the final conversion to a string. First of all, a list comprehension is shorter than filter and you can drop the second space in elem 0 x .
|
|
Oct 22, 2018 at 16:02 | history | edited | schuelermine | CC BY-SA 4.0 |
added 304 characters in body
|
Oct 22, 2018 at 15:49 | history | answered | schuelermine | CC BY-SA 4.0 |