Newest at the top
2024-10-31 14:15:25 +0100 | lortabac | (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.2.2) |
2024-10-31 14:13:08 +0100 | mulk | (~mulk@pd95146e9.dip0.t-ipconnect.de) mulk |
2024-10-31 14:12:55 +0100 | mulk | (~mulk@pd95146e9.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
2024-10-31 14:08:55 +0100 | <SrPx> | ty |
2024-10-31 14:06:42 +0100 | <tomsmeding> | that's funny |
2024-10-31 14:06:40 +0100 | <tomsmeding> | oh it tries to render stuff between dollars with MathJax? |
2024-10-31 14:06:10 +0100 | <tomsmeding> | haddock can't even render the names |
2024-10-31 14:04:49 +0100 | <slack1256> | https://hackage.haskell.org/package/functor-infix-0.0.5/docs/Data-Functor-Infix.html cursed... |
2024-10-31 14:04:19 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) ChaiTRex |
2024-10-31 14:00:16 +0100 | <Leary> | SrPx: I haven't tried it myself, but this^ package looks good. |
2024-10-31 14:00:03 +0100 | <lambdabot> | https://hackage.haskell.org/package/radix-tree |
2024-10-31 14:00:02 +0100 | <Leary> | @hackage radix-tree |
2024-10-31 13:57:57 +0100 | CiaoSen | (~Jura@2a05:5800:484:d00:ca4b:d6ff:fec1:99da) (Ping timeout: 276 seconds) |
2024-10-31 13:57:54 +0100 | jimbob88 | (~jimbob88@dyn082212.shef.ac.uk) (Ping timeout: 252 seconds) |
2024-10-31 13:54:37 +0100 | <SrPx> | oops, that's right, mb |
2024-10-31 13:54:26 +0100 | <tomsmeding> | there are no Map-like containers in base; they are in 'containers', and the relevant one is indeed IntMap |
2024-10-31 13:54:08 +0100 | <tomsmeding> | SrPx: what do you mean with "on Prelude"? |
2024-10-31 13:53:49 +0100 | slack1256 | (~slack1256@2803:c600:5111:8696:d97c:cbc8:139:bdb3) slack1256 |
2024-10-31 13:53:38 +0100 | jimbob88 | (~jimbob88@dyn082212.shef.ac.uk) |
2024-10-31 13:53:09 +0100 | Leonard26 | (~Leonard26@49.236.10.26) (Quit: Client closed) |
2024-10-31 13:50:41 +0100 | <SrPx> | is there an equivalent of IntMap but for Word64 keys on Prelude? I see there is something on GHC but not on Prelude? |
2024-10-31 13:50:32 +0100 | weary-traveler | (~user@user/user363627) user363627 |
2024-10-31 13:50:09 +0100 | slack1256 | (~slack1256@2803:c600:5111:8696:36fc:8f2b:4dcb:2f34) (Ping timeout: 276 seconds) |
2024-10-31 13:48:03 +0100 | euleritian | (~euleritia@ip-185-104-138-49.ptr.icomera.net) |
2024-10-31 13:43:33 +0100 | arthurvl | (~arthurvl@2a02-a469-f5e2-1-83d2-ca43-57a2-dc81.fixed6.kpn.net) (Ping timeout: 248 seconds) |
2024-10-31 13:43:02 +0100 | Nixkernal | (~Nixkernal@90.74.198.178.dynamic.cust.swisscom.net) Nixkernal |
2024-10-31 13:41:45 +0100 | morb | (~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 252 seconds) |
2024-10-31 13:37:29 +0100 | morb | (~morb@pool-108-41-100-120.nycmny.fios.verizon.net) |
2024-10-31 13:36:51 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) (Quit: ChaiTRex) |
2024-10-31 13:30:23 +0100 | weary-traveler | (~user@user/user363627) (Remote host closed the connection) |
2024-10-31 13:18:53 +0100 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en) |
2024-10-31 13:13:33 +0100 | lortabac | (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) lortabac |
2024-10-31 13:04:24 +0100 | <Leonard26> | Ok, I'll try that, thank you :] |
2024-10-31 13:03:33 +0100 | <kaol> | Use it with forkIO. |
2024-10-31 13:03:12 +0100 | <Leonard26> | I actually tried threadDelay but it stops my application from running. I need the application to be running '=D |
2024-10-31 13:02:35 +0100 | <kaol> | My recommendation is to start with Control.Concurrent and if it start to feel too restraining, have a look at Control.Concurrent.Async next. |
2024-10-31 13:02:01 +0100 | merijn | (~merijn@77.242.116.146) (Ping timeout: 244 seconds) |
2024-10-31 13:01:44 +0100 | <kaol> | With Control.Concurrent, it's like forkIO (threadDelay 123456 >> doStuff). If you want to cancel it, use the thread id to killThread it. |
2024-10-31 13:00:10 +0100 | <Leonard26> | Thank you for your answer. I'm still a begginer programmer, I just need to be able to call a function after x seconds have passed. Can I still do it without this package then? |
2024-10-31 12:59:06 +0100 | comerijn | (~merijn@77.242.116.146) merijn |
2024-10-31 12:58:16 +0100 | weary-traveler | (~user@user/user363627) user363627 |
2024-10-31 12:58:00 +0100 | img | (~img@user/img) img |
2024-10-31 12:57:54 +0100 | <kaol> | Leonard26: I've no personal experience with these modules but looks like it's indeed not available on Windows. It uses some OS specific C calls. I looked at delay too and I'm thinking that you could very likely do everything it offers with async library and Control.Concurrent from base, too. Do you have some other reason for going with delay? |
2024-10-31 12:56:36 +0100 | img | (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
2024-10-31 12:55:18 +0100 | euleritian | (~euleritia@dynamic-176-007-007-025.176.7.pool.telefonica.de) (Ping timeout: 252 seconds) |
2024-10-31 12:49:24 +0100 | CiaoSen | (~Jura@2a05:5800:484:d00:ca4b:d6ff:fec1:99da) CiaoSen |
2024-10-31 12:44:07 +0100 | euleritian | (~euleritia@dynamic-176-007-007-025.176.7.pool.telefonica.de) |
2024-10-31 12:43:49 +0100 | euleritian | (~euleritia@dynamic-176-007-007-025.176.7.pool.telefonica.de) (Ping timeout: 252 seconds) |
2024-10-31 12:43:39 +0100 | <Leonard26> | This is the GHC.Event module |
2024-10-31 12:43:38 +0100 | <Leonard26> | https://www.stackage.org/haddock/lts-22.39/base-4.18.2.1/GHC-Event.html |