Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-27 04:29:47 <lambdabot> https://hackage.haskell.org/package/split
2021-03-27 04:29:57 <dmj`> there's this, can't remember if it works on ByteString though
2021-03-27 04:30:10 × Deide quits (~Deide@217.155.19.23) (Quit: Seeee yaaaa)
2021-03-27 04:30:48 v01d4lph4 joins (~v01d4lph4@106.212.133.35)
2021-03-27 04:31:24 <desophos> hmm, looks like it only works on lists
2021-03-27 04:34:01 jpn joins (9fc4758b@159-196-117-139.9fc475.syd.nbn.aussiebb.net)
2021-03-27 04:35:11 × v01d4lph4 quits (~v01d4lph4@106.212.133.35) (Ping timeout: 240 seconds)
2021-03-27 04:36:36 × jpn quits (9fc4758b@159-196-117-139.9fc475.syd.nbn.aussiebb.net) (Client Quit)
2021-03-27 04:38:18 elliott_ joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net)
2021-03-27 04:41:30 × manjaro quits (~manjaro@cpe-172-90-196-184.socal.res.rr.com) (Ping timeout: 265 seconds)
2021-03-27 04:42:57 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-03-27 04:45:04 <outerpassage_> is there any way to avoid cabal recompiling everything during a `v2-install` after already having built the package with `v2-build`?
2021-03-27 04:47:07 toorevitimirp joins (~tooreviti@117.182.181.200)
2021-03-27 04:48:11 × average quits (uid473595@gateway/web/irccloud.com/x-bfrylaicmxxrzmte) (Quit: Connection closed for inactivity)
2021-03-27 04:51:50 × carlomagno quits (~cararell@148.87.23.10) (Remote host closed the connection)
2021-03-27 04:52:18 × elliott_ quits (~elliott@pool-108-51-101-42.washdc.fios.verizon.net) (Ping timeout: 240 seconds)
2021-03-27 04:56:06 bss03 joins (~bss@ip70-178-92-189.ks.ks.cox.net)
2021-03-27 04:58:25 <desophos> ugh, why doesn't ByteString implement mapM...
2021-03-27 04:59:11 <bss03> https://hackage.haskell.org/package/mono-traversable-1.0.15.1/docs/Data-MonoTraversable.html#v:omapM instead
2021-03-27 05:00:23 <desophos> ah, thank you!
2021-03-27 05:01:39 <bss03> desophos: It's because ByteString can only hold Word8 values, so if the function you are mapping is type `Word8 -> m Integer` it can't put the (Integer) results into the `m ByteString` result.
2021-03-27 05:02:59 <desophos> but it already defines `map :: (Word8 -> Word8) -> ByteString -> ByteString`, so why not `mapM :: (Word8 -> m Word8) -> ByteString -> m ByteString`?
2021-03-27 05:03:38 <bss03> Ah, yeah, well, it could do that. :/
2021-03-27 05:04:27 <bss03> Probably didn't want to "steal" that name from Traversable.
2021-03-27 05:05:25 <bss03> `map` from ByteString might predate Traversable? Certianly `map` from Prelude used to only work on lists.
2021-03-27 05:07:23 <desophos> hmm, well i guess it makes more sense to have generic MonoTraversable classes instead of writing specific functions for each monomorphic container type
2021-03-27 05:07:41 <desophos> either way, mono-traversable is what i was looking for, thanks!
2021-03-27 05:07:56 <bss03> YW, NP
2021-03-27 05:10:11 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
2021-03-27 05:10:59 hidedagger joins (~nate@unaffiliated/hidedagger)
2021-03-27 05:11:44 v01d4lph4 joins (~v01d4lph4@106.212.133.35)
2021-03-27 05:12:53 <bss03> I've got a personal project that's in Vue + TS, I'd like to convert it over to something using GHCJS. Any hints / tips? Project: https://gitlab.com/bss03/vue-webpack-ts-lambda/-/tree/master/src
2021-03-27 05:16:46 hackage dhall-lsp-server 1.0.14 - Language Server Protocol (LSP) server for Dhall https://hackage.haskell.org/package/dhall-lsp-server-1.0.14 (GabrielGonzalez)
2021-03-27 05:17:31 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
2021-03-27 05:19:16 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
2021-03-27 05:21:42 × lateef quits (~lateef@171.121.237.35.bc.googleusercontent.com) (Quit: lateef)
2021-03-27 05:21:42 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
2021-03-27 05:22:18 Tario joins (~Tario@201.192.165.173)
2021-03-27 05:24:09 × kiweun quits (~kiweun@2607:fea8:2a62:9600:5db6:fce7:f7bb:58c2) (Remote host closed the connection)
2021-03-27 05:24:46 hackage dhall-json 1.7.6 - Convert between Dhall and JSON or YAML https://hackage.haskell.org/package/dhall-json-1.7.6 (GabrielGonzalez)
2021-03-27 05:25:10 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
2021-03-27 05:25:46 hackage dhall-yaml 1.2.6 - Convert between Dhall and YAML https://hackage.haskell.org/package/dhall-yaml-1.2.6 (GabrielGonzalez)
2021-03-27 05:27:46 hackage dhall-docs 1.0.5 - Generate HTML docs from a dhall package https://hackage.haskell.org/package/dhall-docs-1.0.5 (GabrielGonzalez)
2021-03-27 05:28:46 hackage dhall 1.38.1 - A configuration language guaranteed to terminate https://hackage.haskell.org/package/dhall-1.38.1 (GabrielGonzalez)
2021-03-27 05:29:38 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 240 seconds)
2021-03-27 05:31:10 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 252 seconds)
2021-03-27 05:34:47 irc_user joins (uid423822@gateway/web/irccloud.com/x-sjzuqoxkghghfafu)
2021-03-27 05:38:48 kini joins (~kini@unaffiliated/kini)
2021-03-27 05:39:46 hackage openai-servant 0.2.0.0 - Unofficial OpenAI servant types https://hackage.haskell.org/package/openai-servant-0.2.0.0 (AlexanderThiemann)
2021-03-27 05:40:46 hackage openai-hs 0.2.0.0 - Unofficial OpenAI client https://hackage.haskell.org/package/openai-hs-0.2.0.0 (AlexanderThiemann)
2021-03-27 05:43:19 × v01d4lph4 quits (~v01d4lph4@106.212.133.35) (Remote host closed the connection)
2021-03-27 05:43:34 v01d4lph4 joins (~v01d4lph4@106.212.133.35)
2021-03-27 05:46:25 × magnuscake quits (~magnuscak@87-121-92-61.dyn.launtel.net.au) (Remote host closed the connection)
2021-03-27 05:48:24 × _xor quits (~xor@74.215.46.133) (Quit: WeeChat 3.1)
2021-03-27 05:48:59 aryakiran joins (31cf82c6@49.207.130.198)
2021-03-27 05:49:02 <aryakiran> hi
2021-03-27 05:49:10 takuan joins (~takuan@178-116-218-225.access.telenet.be)
2021-03-27 05:49:18 <aryakiran> i installed xmobar xmonad-contrib xmobar on void
2021-03-27 05:49:34 <aryakiran> when i do startx it starts the default xmonad config
2021-03-27 05:49:37 _xor joins (~xor@74.215.46.133)
2021-03-27 05:49:38 <aryakiran> not my config
2021-03-27 05:50:18 <aryakiran> my config is in both .xmonad & .config/xmonad
2021-03-27 05:52:28 <bss03> *shrug* I don't know void, but my Debian loads it out of ~/.xmonad
2021-03-27 05:54:51 <aryakiran> i also get this error when i do xmonad --recompile
2021-03-27 05:55:18 <aryakiran> couldmt find module 'XMonad'
2021-03-27 05:55:27 × hds quits (~hds@195.140.213.38) (Remote host closed the connection)
2021-03-27 05:59:45 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Quit: Goodbye)
2021-03-27 06:01:00 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
2021-03-27 06:01:14 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 252 seconds)
2021-03-27 06:01:16 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
2021-03-27 06:04:28 <bss03> Hmm. You might have an environment files hanging around that doesn't expose the XMonad module by default?
2021-03-27 06:04:55 × Wuzzy quits (~Wuzzy@p57a2ecf2.dip0.t-ipconnect.de) (Remote host closed the connection)
2021-03-27 06:05:39 <bss03> I dislike how those work, and I'm not sure if they'd even affect an `xmonad --recompile` but they fsck with my `ghci` environment sometimes and I've had to delete them.
2021-03-27 06:07:02 Alleria_ joins (~AllahuAkb@2603-7000-3040-0000-eded-286a-fe45-12eb.res6.spectrum.com)
2021-03-27 06:07:02 × _Alleria quits (~AllahuAkb@2603-7000-3040-0000-d83c-5948-c192-a22e.res6.spectrum.com) (Read error: Connection reset by peer)
2021-03-27 06:07:20 × Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Ping timeout: 246 seconds)
2021-03-27 06:09:12 × waleee-cl quits (uid373333@gateway/web/irccloud.com/x-cywskmhzzerhrnmx) (Quit: Connection closed for inactivity)
2021-03-27 06:10:16 × plutoniix quits (~q@node-unw.pool-125-24.dynamic.totinternet.net) (Quit: Leaving)
2021-03-27 06:11:20 × echoreply quits (~echoreply@unaffiliated/echoreply) (Quit: WeeChat 1.9.1)
2021-03-27 06:11:52 echoreply joins (~echoreply@unaffiliated/echoreply)
2021-03-27 06:13:20 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
2021-03-27 06:13:50 <jonathanx> Is there a function with signature ((a -> Maybe a) -> [a] -> Maybe [a]) which returns Just [a] if a single element was updated, and Nothing otherwise?
2021-03-27 06:14:10 <jonathanx> I can ofc throw it together myself, but I'm curious about if there's any existing
2021-03-27 06:14:11 <jonathanx> :)
2021-03-27 06:17:58 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 240 seconds)
2021-03-27 06:18:23 × mrchampion quits (~mrchampio@38.18.109.23) (Remote host closed the connection)
2021-03-27 06:19:20 fox[m]1 joins (foxforestf@gateway/shell/matrix.org/x-gzhakriuullmsali)
2021-03-27 06:21:44 × madjestic quits (~Android@86-88-72-244.fixed.kpn.net) (Quit: -a- Connection Timed Out)
2021-03-27 06:22:00 madjestic joins (~Android@86-88-72-244.fixed.kpn.net)
2021-03-27 06:22:10 × vgtw quits (~vgtw@gateway/tor-sasl/vgtw) (Remote host closed the connection)
2021-03-27 06:22:25 vgtw joins (~vgtw@gateway/tor-sasl/vgtw)
2021-03-27 06:24:11 × aryakiran quits (31cf82c6@49.207.130.198) (Quit: Connection closed)
2021-03-27 06:24:15 Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net)
2021-03-27 06:24:22 × nbloomf_ quits (~nbloomf@2600:1700:ad14:3020:c907:a7d6:d23a:e6d6) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-03-27 06:25:09 <bss03> mapMaybe ?
2021-03-27 06:25:33 × Chai-T-Rex quits (~ChaiTRex@gateway/tor-sasl/chaitrex) (Ping timeout: 240 seconds)
2021-03-27 06:26:09 kiweun joins (~kiweun@2607:fea8:2a62:9600:30ac:878a:cf:dffd)
2021-03-27 06:26:38 Chai-T-Rex joins (~ChaiTRex@gateway/tor-sasl/chaitrex)
2021-03-27 06:31:18 × stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds)
2021-03-27 06:31:40 × kiweun quits (~kiweun@2607:fea8:2a62:9600:30ac:878a:cf:dffd) (Ping timeout: 276 seconds)

All times are in UTC.