Timeline for Compressing string in Scala, how to do this immutably?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 8, 2020 at 13:53 | comment | added | pacmaninbw♦ | Welcome to code review. This answer is an alternate solution which is fine on stackoverflow.com but is not a good answer on code review. A good answer may not contain any code at all, but it must contain at least one meaningful observation about the code posted in the the question. Code can be used as examples to support the observations about the posters code. | |
May 8, 2020 at 9:44 | comment | added | Luqman |
changed to get rid of ._1 and ._2
|
|
May 8, 2020 at 9:44 | history | edited | Luqman | CC BY-SA 4.0 |
use pattern matching for map; added 8 characters in body
|
May 8, 2020 at 9:38 | comment | added | Fahad Siddiqui |
Cool stuff! However we can desugar this and get rid of ._1 and ._2 but it seems perfect to me.
|
|
May 8, 2020 at 9:37 | vote | accept | Fahad Siddiqui | ||
May 8, 2020 at 9:36 | review | First posts | |||
May 8, 2020 at 11:29 | |||||
May 8, 2020 at 9:31 | history | answered | Luqman | CC BY-SA 4.0 |