Newest at the top
2025-02-12 07:15:42 +0100 | <c_wraith> | hey, that does the stuffing into ST and extracting for you |
2025-02-12 07:15:34 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
2025-02-12 07:15:30 +0100 | <hololeap> | looks pretty good |
2025-02-12 07:15:10 +0100 | <lambdabot> | https://hackage.haskell.org/package/list-shuffle -- I did find this |
2025-02-12 07:15:10 +0100 | <hololeap> | @hackage list-shuffle -- I did find this |
2025-02-12 07:13:56 +0100 | <hololeap> | ok |
2025-02-12 07:13:13 +0100 | <c_wraith> | like, within those specific confines... I'd generate them in... anything Foldable, really. Then stuff them into an ST array to run a fisher-yates shuffle and extract the results as a list. |
2025-02-12 07:11:37 +0100 | <c_wraith> | that's a shuffle |
2025-02-12 07:10:40 +0100 | <hololeap> | basically, I build up a list/collection/etc of items, then perform an action on a random one and repeat, never performing the action on the same item twice |
2025-02-12 07:10:35 +0100 | wootehfoot | (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
2025-02-12 07:08:35 +0100 | <c_wraith> | Sequence is a decent stopgap for that, unless there are additional properties that give you something more directly useful |
2025-02-12 07:06:19 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-02-12 07:06:14 +0100 | <hololeap> | I need a container that can store an arbitrary type and "heal" after popping a random element out. there will be about 2000 indices max. any suggestions? Sequence perhaps? |
2025-02-12 06:56:43 +0100 | Flow | (~none@gentoo/developer/flow) flow |
2025-02-12 06:55:46 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds) |
2025-02-12 06:52:21 +0100 | Flow | (~none@gentoo/developer/flow) (Ping timeout: 252 seconds) |
2025-02-12 06:49:22 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-02-12 06:40:12 +0100 | michalz | (~michalz@185.246.207.203) |
2025-02-12 06:36:18 +0100 | machinedgod | (~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 252 seconds) |
2025-02-12 06:32:33 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds) |
2025-02-12 06:31:39 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 260 seconds) |
2025-02-12 06:29:52 +0100 | prasad | (~Thunderbi@2601:243:c001:3f07::5c) (Ping timeout: 268 seconds) |
2025-02-12 06:26:57 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-02-12 06:26:12 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-02-12 06:25:57 +0100 | lockywolf | (~lockywolf@213.165.252.237) (Ping timeout: 246 seconds) |
2025-02-12 06:25:46 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-02-12 06:15:02 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
2025-02-12 06:10:24 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-02-12 06:02:29 +0100 | eL_Bart0 | (eL_Bart0@dietunichtguten.org) (Ping timeout: 260 seconds) |
2025-02-12 06:00:44 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds) |
2025-02-12 05:59:33 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds) |
2025-02-12 05:55:02 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-02-12 05:50:14 +0100 | aforemny | (~aforemny@i59F4C4A3.versanet.de) (Ping timeout: 260 seconds) |
2025-02-12 05:50:02 +0100 | aforemny_ | (~aforemny@2001:9e8:6cc1:2800:a5a5:c3e6:116b:76ba) aforemny |
2025-02-12 05:44:14 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
2025-02-12 05:44:13 +0100 | Googulator | (~Googulato@2a01-036d-0106-4074-758c-12a1-cbb4-05eb.pool6.digikabel.hu) (Quit: Client closed) |
2025-02-12 05:42:25 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 248 seconds) |
2025-02-12 05:39:39 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-02-12 05:38:12 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-02-12 05:29:14 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
2025-02-12 05:27:42 +0100 | yegorc | (~yegorc@user/yegorc) (Quit: Leaving) |
2025-02-12 05:27:13 +0100 | vanishingideal | (~vanishing@user/vanishingideal) vanishingideal |
2025-02-12 05:25:10 +0100 | vanishingideal | (~vanishing@user/vanishingideal) (Ping timeout: 252 seconds) |
2025-02-12 05:23:53 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-02-12 05:22:53 +0100 | bitdex | (~bitdex@gateway/tor-sasl/bitdex) bitdex |
2025-02-12 05:22:31 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-02-12 05:18:40 +0100 | <c_wraith> | yes, (>>) predates the implementation of the applicative-monad proposal |
2025-02-12 05:13:04 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
2025-02-12 05:12:49 +0100 | lunitur | (~lunitur@86.33.95.148) |
2025-02-12 05:08:32 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |