Newest at the top
2025-03-09 20:12:09 +0100 | raym | (~ray@user/raym) (Ping timeout: 244 seconds) |
2025-03-09 20:10:35 +0100 | <EvanR> | exactly |
2025-03-09 20:10:20 +0100 | <EvanR> | how? |
2025-03-09 20:08:57 +0100 | <Inst> | just make a dumb foldPar and foldMapPar function |
2025-03-09 20:08:38 +0100 | acidjnk_new | (~acidjnk@p200300d6e7283f122c9d6c56f23204e7.dip0.t-ipconnect.de) |
2025-03-09 20:08:32 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
2025-03-09 20:06:15 +0100 | <[exa]> | Inst: maybe check out https://hackage.haskell.org/package/parallel-3.2.2.0/docs/Control-Parallel-Strategies.html |
2025-03-09 20:05:22 +0100 | <EvanR> | what are you actually trying to do again |
2025-03-09 20:04:56 +0100 | <Inst> | but that implies it'll cache, and getNumCapabilities' bind value can change |
2025-03-09 20:04:32 +0100 | <Inst> | at the very least, i can see a problem, I want to unsafePerformIO getNumCapabilities |
2025-03-09 20:04:08 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-03-09 20:02:25 +0100 | <Inst> | is the reason no one's done this already because it relies too much on the specifics of the operation and is dangerous to generalize? |
2025-03-09 20:00:42 +0100 | caconym | (~caconym@user/caconym) caconym |
2025-03-09 20:00:02 +0100 | caconym | (~caconym@user/caconym) (Quit: bye) |
2025-03-09 19:58:59 +0100 | <EvanR> | what's the biggest number n might be, realistically |
2025-03-09 19:58:23 +0100 | <Inst> | for length |
2025-03-09 19:58:20 +0100 | <Inst> | since lists are O(n) |
2025-03-09 19:58:09 +0100 | <Inst> | it's not, tbh |
2025-03-09 19:54:25 +0100 | <[exa]> | c_wraith: oh whew okay, cool |
2025-03-09 19:54:17 +0100 | <[exa]> | Inst: yeah depending on what you aim to do there I guess it might be super straightforward |
2025-03-09 19:53:02 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
2025-03-09 19:52:40 +0100 | <c_wraith> | [exa]: if you're willing to maintain them, you can use environment files. https://ghc.gitlab.haskell.org/ghc/doc/users_guide/packages.html#package-environments |
2025-03-09 19:51:31 +0100 | down200 | (~down200@shell.lug.mtu.edu) down200 |
2025-03-09 19:49:14 +0100 | <Inst> | oh. lol |
2025-03-09 19:48:46 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-03-09 19:48:45 +0100 | <lambdabot> | Foldable t => t a -> [a] |
2025-03-09 19:48:44 +0100 | <EvanR> | :t toList |
2025-03-09 19:48:13 +0100 | <Inst> | honestly I think i don't even need a splittable superclass, I just need the ability to convert an existing structure with toList |
2025-03-09 19:47:40 +0100 | Inst | (~Inst@user/Inst) Inst |
2025-03-09 19:42:49 +0100 | Inst | (~Inst@user/Inst) (Remote host closed the connection) |
2025-03-09 19:42:28 +0100 | Square | (~Square@user/square) (Ping timeout: 245 seconds) |
2025-03-09 19:41:53 +0100 | <[exa]> | which is kinda what `par` does in normal haskell, it doesn't do much to the code, just splits it into possibly paralellizable compartments |
2025-03-09 19:41:26 +0100 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds) |
2025-03-09 19:41:17 +0100 | krei-se | (~krei-se@p3ee0f37e.dip0.t-ipconnect.de) krei-se |
2025-03-09 19:41:06 +0100 | <[exa]> | Inst: (one that doesn't really do anything, just preserves the structure) |
2025-03-09 19:40:51 +0100 | krei-se | (~krei-se@p200300f1cf4e8f002411defffe902013.dip0.t-ipconnect.de) (Excess Flood) |
2025-03-09 19:40:38 +0100 | <Inst> | free monoid? |
2025-03-09 19:40:29 +0100 | <Inst> | that's cool, fold has to have an explicit import, mconcat is in the prelude |
2025-03-09 19:40:21 +0100 | Arsen | (arsen@gentoo/developer/managarm.dev.Arsen) Arsen |
2025-03-09 19:40:17 +0100 | <EvanR> | lol |
2025-03-09 19:39:37 +0100 | <[exa]> | (free monoid on `par` ?) |
2025-03-09 19:39:09 +0100 | <EvanR> | but the correct way to split that up without making it worse would depend on details |
2025-03-09 19:38:58 +0100 | <[exa]> | btw guys is there some easy modern way to have a clean unnamed "virtual environment" with cabal without making it a package directory |
2025-03-09 19:38:51 +0100 | <EvanR> | to get the mconcat of it |
2025-03-09 19:38:42 +0100 | <EvanR> | a long list of Monoid b might be ammenable to parallizing |
2025-03-09 19:38:28 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-03-09 19:38:24 +0100 | hattckory | (~hattckory@bras-base-toroon4524w-grc-48-184-145-138-167.dsl.bell.ca) (Ping timeout: 260 seconds) |
2025-03-09 19:37:42 +0100 | <[exa]> | (to rebuild stuff there's Traversable) |
2025-03-09 19:37:21 +0100 | <EvanR> | binary tree |
2025-03-09 19:37:15 +0100 | <Inst> | I'm just trying to think of a foldable that can't be rebuilt |