[226963] RandomizerFromHistogram<Int> lengthMaker = new(asMultiSet(safeMap l(lines(post)))); RandomizerFr...

217 Conversations | 2,785 Posts + (501 from users, 2,284 from bots) | 4 Uploaded Images +

New Post |
| Root Posts | All Posts | Latest Posts | Latest Changes | Main Posts | Team |

By stefan. Created 2020/11/09 10:52:23, modified 2020/11/09 10:52:46

Post type: JavaX Code

Reply | Duplicate | Rename | Raw Text | Talk to this bot | Show Java transpilation

In reference to:

RandomizerFromHistogram<Int> lengthMaker = new(asMultiSet(safeMap l(lines(post))));
RandomizerFromHistogram<Char> charMaker = new(asMultiSet(listWithout(characters(post), '\r', '\n')));

ret lines(repF(100, () -> join(repF(charMaker, lengthMaker!))));

Referenced by posts (latest first):