Logs: freenode/#haskell
| 2021-03-13 02:15:51 | <koz_> | I have 8.10.4 so it should be there? |
| 2021-03-13 02:15:53 | × | dcoutts__ quits (~duncan@85.186.125.91.dyn.plus.net) (Remote host closed the connection) |
| 2021-03-13 02:16:04 | → | dcoutts_ joins (~dcoutts@unaffiliated/dcoutts) |
| 2021-03-13 02:16:07 | <infinisil> | Probably |
| 2021-03-13 02:16:13 | <koz_> | OK, let's see then. |
| 2021-03-13 02:16:17 | → | dcoutts__ joins (~duncan@85.186.125.91.dyn.plus.net) |
| 2021-03-13 02:18:17 | × | dcoutts quits (~dcoutts@unaffiliated/dcoutts) (Ping timeout: 246 seconds) |
| 2021-03-13 02:19:14 | <koz_> | How do I pass args to the executable in 'cabal bench'? |
| 2021-03-13 02:19:43 | <infinisil> | Oh actually it might not be in yet, it looks like it was merged 1 week ago..? |
| 2021-03-13 02:19:48 | <koz_> | Oh rofl. |
| 2021-03-13 02:19:51 | <infinisil> | Checking https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3469 |
| 2021-03-13 02:19:53 | <koz_> | So just regular heap profile? |
| 2021-03-13 02:19:58 | <infinisil> | Yeah |
| 2021-03-13 02:20:04 | <koz_> | What's the arg for that? |
| 2021-03-13 02:20:10 | <infinisil> | No idea too :) |
| 2021-03-13 02:20:54 | <koz_> | -h apparently. |
| 2021-03-13 02:21:55 | <infinisil> | I'd do some research on profiling, it's not straightforward iirc |
| 2021-03-13 02:22:04 | → | monadmatt joins (~user@119-17-128-101.771180.mel.nbn.aussiebb.net) |
| 2021-03-13 02:22:54 | <koz_> | http://hackage.haskell.org/package/hp2pretty seems useful |
| 2021-03-13 02:23:52 | <koz_> | Yeah... it's not terribly informative. |
| 2021-03-13 02:25:02 | <koz_> | I'll see if this gets bodigrim's attention. |
| 2021-03-13 02:25:12 | → | tmontoya joins (~tmontoya@ip70-191-3-73.lv.lv.cox.net) |
| 2021-03-13 02:25:19 | × | carlomagno quits (~cararell@148.87.23.12) (Quit: Leaving.) |
| 2021-03-13 02:25:30 | <infinisil> | koz_: https://github.com/mpickering/eventlog2html |
| 2021-03-13 02:25:33 | <infinisil> | How about that |
| 2021-03-13 02:25:33 | <joebobjoe> | is there a functional alternative to sh? |
| 2021-03-13 02:25:37 | <koz_> | infinisil: Yeah, I saw that. |
| 2021-03-13 02:25:42 | <koz_> | joebobjoe: As in, the shell? |
| 2021-03-13 02:25:49 | <joebobjoe> | like I just want to glue some commands together but I don't want to learn zsh/sh |
| 2021-03-13 02:25:55 | <joebobjoe> | koz_: yea |
| 2021-03-13 02:26:16 | <koz_> | There's shh, but I dunno how good it is. |
| 2021-03-13 02:26:51 | × | monadmatt quits (~user@119-17-128-101.771180.mel.nbn.aussiebb.net) (Ping timeout: 246 seconds) |
| 2021-03-13 02:26:51 | × | matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-03-13 02:27:54 | → | matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) |
| 2021-03-13 02:28:23 | → | drbean joins (~drbean@TC210-63-209-78.static.apol.com.tw) |
| 2021-03-13 02:29:46 | × | Aquazi quits (uid312403@gateway/web/irccloud.com/x-ruqfhmrhwkcudnys) (Quit: Connection closed for inactivity) |
| 2021-03-13 02:30:03 | × | matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Client Quit) |
| 2021-03-13 02:30:08 | <joebobjoe> | ok thanks |
| 2021-03-13 02:30:34 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 2021-03-13 02:31:02 | → | matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) |
| 2021-03-13 02:33:41 | × | matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Client Quit) |
| 2021-03-13 02:34:43 | → | matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) |
| 2021-03-13 02:35:15 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 246 seconds) |
| 2021-03-13 02:35:32 | <VarikValefor[m]> | To anyone who has not read the language report: READ THE LANGUAGE REPORT!!! |
| 2021-03-13 02:35:53 | <koz_> | VarikValefor[m]: Why the emphatic presentation? |
| 2021-03-13 02:36:12 | <monochrom> | Are you OK? |
| 2021-03-13 02:36:21 | × | justan0theruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 272 seconds) |
| 2021-03-13 02:36:31 | × | matryoshka quits (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) (Client Quit) |
| 2021-03-13 02:36:39 | → | Jd007 joins (~Jd007@162.156.11.151) |
| 2021-03-13 02:37:12 | → | myShoggoth joins (~myShoggot@75.164.81.55) |
| 2021-03-13 02:37:33 | → | matryoshka joins (~matryoshk@2606:6080:1002:8:3285:30e:de43:8809) |
| 2021-03-13 02:39:24 | → | justan0theruser joins (~justanoth@unaffiliated/justanotheruser) |
| 2021-03-13 02:41:29 | <VarikValefor[m]> | koz_: The emphasis is placed onto the suggestion to convey the mild annoyances which have accumulated after questions which are best answered with "RTFM" have been repeatedly encountered. |
| 2021-03-13 02:41:29 | <VarikValefor[m]> | monochrom: Everything seems to be in order. |
| 2021-03-13 02:41:43 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 276 seconds) |
| 2021-03-13 02:45:22 | <ntkr> | hello all, I'm trying to write a websockets application with RIO and am getting hung up on how to extend the RIO monad to the functions that the websockets library needs. Any help here is much appreciated: https://paste.tomsmeding.com/bbXsCmh5 [repost] |
| 2021-03-13 02:45:31 | → | monadmatt joins (~user@119-17-128-101.771180.mel.nbn.aussiebb.net) |
| 2021-03-13 02:45:49 | <koz_> | ntkr: You may have to wait a while. |
| 2021-03-13 02:46:01 | <koz_> | I saw your query, but the channel's quiet, and I don't feel qualified to assist. |
| 2021-03-13 02:46:29 | × | xff0x quits (~xff0x@2001:1a81:520c:1100:a1d8:2af1:7428:6b99) (Ping timeout: 272 seconds) |
| 2021-03-13 02:46:34 | <ntkr> | oh thats fine, i appreciate you acknowledging the ask |
| 2021-03-13 02:46:49 | → | mixfix41 joins (~user@unaffiliated/mixfix41) |
| 2021-03-13 02:47:08 | <infinisil> | ntkr: You'll want to use https://hackage.haskell.org/package/unliftio-core-0.2.0.1/docs/Control-Monad-IO-Unlift.html#t:MonadUnliftIO |
| 2021-03-13 02:47:18 | <infinisil> | The RIO monad is an instance of that |
| 2021-03-13 02:47:42 | → | xff0x joins (~xff0x@2001:1a81:5243:ae00:c201:8f39:a8f8:4489) |
| 2021-03-13 02:48:14 | <ntkr> | infinisil: i appreciate the direction, i'll read up |
| 2021-03-13 02:48:48 | × | Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 245 seconds) |
| 2021-03-13 02:48:52 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 276 seconds) |
| 2021-03-13 02:49:15 | ← | tmontoya parts (~tmontoya@ip70-191-3-73.lv.lv.cox.net) () |
| 2021-03-13 02:50:49 | × | monadmatt quits (~user@119-17-128-101.771180.mel.nbn.aussiebb.net) (Ping timeout: 276 seconds) |
| 2021-03-13 02:51:16 | × | elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 256 seconds) |
| 2021-03-13 02:51:19 | <infinisil> | ntkr: I think this is actually the better thing to read: https://github.com/fpco/unliftio/tree/master/unliftio#unlifting-in-2-minutes |
| 2021-03-13 02:51:37 | → | elliott_ joins (~elliott_@172.58.187.170) |
| 2021-03-13 02:52:20 | <ntkr> | infinisil: its definitely a little more dummy-friendly and that suits me |
| 2021-03-13 02:54:16 | → | stree joins (~stree@68.36.8.116) |
| 2021-03-13 02:54:43 | × | justan0theruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 272 seconds) |
| 2021-03-13 02:55:05 | <infinisil> | I think it should be `withRunInIO $ \runInIO -> libFunc (runInIO . myFunc)` in your run function |
| 2021-03-13 02:55:29 | → | monadmatt joins (~user@119-17-128-101.771180.mel.nbn.aussiebb.net) |
| 2021-03-13 02:55:59 | × | jud quits (~jud@unaffiliated/jud) (Quit: Leaving) |
| 2021-03-13 02:56:04 | × | elliott_ quits (~elliott_@172.58.187.170) (Read error: Connection reset by peer) |
| 2021-03-13 02:56:18 | × | ezrakilty quits (~ezrakilty@75-172-115-167.tukw.qwest.net) (Ping timeout: 245 seconds) |
| 2021-03-13 02:56:49 | → | Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362) |
| 2021-03-13 02:57:52 | → | elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) |
| 2021-03-13 02:58:09 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 264 seconds) |
| 2021-03-13 02:58:50 | → | ezrakilty joins (~ezrakilty@75-172-115-167.tukw.qwest.net) |
| 2021-03-13 02:59:57 | <infinisil> | Alternatively you could actually just use the ReaderT approach mentioned in that page |
| 2021-03-13 03:00:33 | × | curiousgay quits (~gay@178.217.208.8) (Ping timeout: 264 seconds) |
| 2021-03-13 03:01:28 | × | monadmatt quits (~user@119-17-128-101.771180.mel.nbn.aussiebb.net) (Ping timeout: 256 seconds) |
| 2021-03-13 03:01:30 | <infinisil> | That should be `ReaderT $ \env -> libFunc (\a -> runReaderT (myFunc a) env)` |
| 2021-03-13 03:01:35 | → | curiousgay joins (~gay@178.217.208.8) |
| 2021-03-13 03:01:46 | <infinisil> | And it's equivalent to what unliftio does with `withRunInIO` |
| 2021-03-13 03:01:50 | <infinisil> | ntkr: ^ |
| 2021-03-13 03:03:28 | × | CrazyPython quits (~crazypyth@98.122.164.118) (Read error: Connection reset by peer) |
| 2021-03-13 03:04:03 | <ntkr> | i'm grateful and impressed that you solved my problem so quickly. I'll need several cycles to figure out why this works |
| 2021-03-13 03:04:18 | × | DataComputist quits (~lumeng@50.43.26.251) (Ping timeout: 256 seconds) |
| 2021-03-13 03:04:47 | → | monadmatt joins (~user@119-17-128-101.771180.mel.nbn.aussiebb.net) |
| 2021-03-13 03:05:35 | <koz_> | ntkr: It'll become second nature to you eventually. |
| 2021-03-13 03:05:55 | <ntkr> | i'm looking forward to it :D |
| 2021-03-13 03:06:09 | → | ddellacosta joins (~ddellacos@86.106.143.187) |
| 2021-03-13 03:07:08 | × | m0rphism quits (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de) (Ping timeout: 256 seconds) |
All times are in UTC.