Logs on 2022-09-15 (liberachat/#haskell)
| 00:00:30 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 00:03:11 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 00:05:10 | × | jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 00:05:40 | → | jpds1 joins (~jpds@gateway/tor-sasl/jpds) |
| 00:05:56 | → | fmgornick joins (~fmgornick@2601:445:4480:c90:8d02:886b:4c8e:5999) |
| 00:06:12 | <fmgornick> | ?src zipWith |
| 00:06:12 | <lambdabot> | zipWith f (a:as) (b:bs) = f a b : zipWith f as bs |
| 00:06:13 | <lambdabot> | zipWith _ _ _ = [] |
| 00:07:04 | × | fmgornick quits (~fmgornick@2601:445:4480:c90:8d02:886b:4c8e:5999) (Client Quit) |
| 00:07:33 | <Axman6> | I guess IRC is quicker than google? |
| 00:10:48 | × | PiDelport quits (uid25146@id-25146.lymington.irccloud.com) (Quit: Connection closed for inactivity) |
| 00:13:18 | <geekosaur> | I keep being tempted to link them the relevant part of the Report |
| 00:13:31 | <geekosaur> | since that's where most of @src comes from |
| 00:13:47 | <Axman6> | and @src is a lie in many cases right? |
| 00:14:25 | <geekosaur> | ghc doesn't use the Report defs for a lot of things |
| 00:14:35 | → | shailangsa joins (~shailangs@86.159.49.5) |
| 00:14:59 | <geekosaur> | but @src is largely true to what the Report says, because its database is mostly built from the Report |
| 00:24:28 | <monochrom> | Denotationally, @src is probably not a lie. |
| 00:26:00 | <monochrom> | Actual base code and GHC optimizations go out of their way to match the strictness and non-strictness of sample code from the Haskell Report. |
| 00:27:05 | × | king_gs quits (~Thunderbi@2806:103e:29:1004:edfa:b28c:b513:e768) (Quit: king_gs) |
| 00:28:21 | <monochrom> | Even worse, even where nubBy should be UB (i.e., when you supply a non-equivalence relation), base goes out of its way to match the accidental answers of the Report sample implementation. |
| 00:31:16 | × | gurkenglas quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 268 seconds) |
| 00:31:18 | → | nate1 joins (~nate@98.45.169.16) |
| 00:32:12 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 00:36:26 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 265 seconds) |
| 00:36:41 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 00:46:24 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 00:46:24 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Read error: Connection reset by peer) |
| 00:46:24 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Read error: Connection reset by peer) |
| 00:46:56 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 00:47:12 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 00:47:25 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 00:55:20 | → | freemanX joins (~user@14.100.28.225) |
| 00:57:32 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 00:57:35 | × | wroathe quits (~wroathe@user/wroathe) (Ping timeout: 250 seconds) |
| 01:00:42 | → | cowboy8625 joins (~cowboy@96-2-208-2-static.midco.net) |
| 01:02:06 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 01:02:44 | → | azimut_ joins (~azimut@gateway/tor-sasl/azimut) |
| 01:06:03 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 258 seconds) |
| 01:08:20 | × | waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 265 seconds) |
| 01:11:16 | × | albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 01:12:13 | × | ente` quits (~daemon@inferno.barfooze.de) (Ping timeout: 265 seconds) |
| 01:17:23 | → | albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 01:19:03 | × | xff0x quits (~xff0x@2405:6580:b080:900:70d9:f4e:21d1:c42f) (Ping timeout: 244 seconds) |
| 01:32:05 | → | ente` joins (~daemon@inferno.barfooze.de) |
| 01:40:51 | × | slac80483 quits (~slack1256@186.11.45.76) (Ping timeout: 252 seconds) |
| 01:41:04 | → | zachel joins (~zachel@user/zachel) |
| 01:42:50 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 01:46:57 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 01:47:39 | → | darkstardevx joins (~darkstard@50.53.212.60) |
| 01:48:35 | × | darkstardevx quits (~darkstard@50.53.212.60) (Remote host closed the connection) |
| 01:49:00 | → | darkstardevx joins (~darkstard@50.53.212.60) |
| 01:49:47 | → | ubert1 joins (~Thunderbi@77.119.210.120.wireless.dyn.drei.com) |
| 01:50:16 | × | ubert quits (~Thunderbi@91.141.76.98.wireless.dyn.drei.com) (Ping timeout: 268 seconds) |
| 01:50:17 | ubert1 | is now known as ubert |
| 01:53:17 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 265 seconds) |
| 02:00:49 | → | xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) |
| 02:02:31 | <Clinton[m]> | Any ideas on this stackoverflow question? https://stackoverflow.com/questions/73724849/running-sequence-over-a-conduit |
| 02:03:27 | × | freemanX quits (~user@14.100.28.225) (Ping timeout: 265 seconds) |
| 02:04:43 | → | tcard_ joins (~tcard@p1772079-ipngn12801hodogaya.kanagawa.ocn.ne.jp) |
| 02:05:22 | × | tcard quits (~tcard@p1772079-ipngn12801hodogaya.kanagawa.ocn.ne.jp) (Ping timeout: 265 seconds) |
| 02:06:37 | × | ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 258 seconds) |
| 02:13:02 | <jackdk> | Clinton[m]: I always forget conduits are monad transformers |
| 02:14:46 | <jackdk> | @pl \v -> f v *> l |
| 02:14:46 | <lambdabot> | (*> l) . f |
| 02:15:25 | → | nate1 joins (~nate@98.45.169.16) |
| 02:15:36 | <jackdk> | Clinton[m]: please put this on SO for me, I don't have my login handy: https://www.irccloud.com/pastebin/vhNbTLNJ/ConduitFun.hs |
| 02:15:42 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 02:15:51 | <jackdk> | `fc'` is silly, you probably don't want to do it that way |
| 02:16:07 | <jackdk> | Also redundant parens on line 20 |
| 02:20:16 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 02:21:13 | → | _xor joins (~xor@74.215.182.83) |
| 02:21:19 | <jackdk> | Clinton[m]: Could also factor out the map of `f` first: https://www.irccloud.com/pastebin/ZaQ3FdD0/MoreConduitFun.hs |
| 02:22:41 | → | frost joins (~frost@user/frost) |
| 02:29:59 | × | td_ quits (~td@muedsl-82-207-238-076.citykom.de) (Ping timeout: 252 seconds) |
| 02:31:44 | → | td_ joins (~td@muedsl-82-207-238-033.citykom.de) |
| 02:32:37 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer) |
| 02:34:54 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 02:42:15 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 02:42:15 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
| 02:42:15 | finn_elija | is now known as FinnElija |
| 02:43:40 | × | jero98772 quits (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) (Remote host closed the connection) |
| 02:44:53 | <oats> | geekosaur, monochrom, ah found it finally https://hackage.haskell.org/package/hookup |
| 02:47:03 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat) |
| 02:48:16 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 02:50:02 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 02:51:33 | <monochrom> | Ah, having a maximum length is much better. |
| 02:52:35 | × | stef204 quits (~stef204@user/stef204) (Ping timeout: 244 seconds) |
| 02:54:38 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 02:55:32 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 02:55:55 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 02:56:50 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 258 seconds) |
| 03:04:57 | → | jmorris joins (uid537181@id-537181.uxbridge.irccloud.com) |
| 03:12:17 | → | tcard joins (~tcard@p1772079-ipngn12801hodogaya.kanagawa.ocn.ne.jp) |
| 03:13:00 | × | tcard_ quits (~tcard@p1772079-ipngn12801hodogaya.kanagawa.ocn.ne.jp) (Ping timeout: 264 seconds) |
| 03:13:39 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 03:14:13 | × | darkstardevx quits (~darkstard@50.53.212.60) (Read error: Connection reset by peer) |
| 03:15:10 | → | tcard_ joins (~tcard@p1772079-ipngn12801hodogaya.kanagawa.ocn.ne.jp) |
| 03:17:17 | × | tcard quits (~tcard@p1772079-ipngn12801hodogaya.kanagawa.ocn.ne.jp) (Ping timeout: 252 seconds) |
| 03:20:51 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 03:26:16 | → | darkstardevx joins (~darkstard@50.53.212.60) |
| 03:26:51 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 03:31:27 | <Clinton[m]> | jackdk: any way to avoid the explicit loop? I thought there might a existing combinator that does this? |
| 03:31:54 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 03:32:25 | <jackdk> | *shrugs* I don't use `conduit` unless it's simple stuff plugging into a snoymanverse library. If I'm doing anything complicated I usually go through `streaming` |
| 03:32:32 | <jackdk> | So I don't know |
| 03:32:39 | <jackdk> | Didn't see anything when I skimmed the docs |
| 03:35:48 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 03:42:31 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 03:44:17 | × | Vajb quits (~Vajb@2001:999:251:6c46:af67:6433:cfc0:311b) (Read error: Connection reset by peer) |
| 03:44:53 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) |
| 03:46:46 | → | nate1 joins (~nate@98.45.169.16) |
| 03:51:27 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 03:56:32 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 265 seconds) |
| 03:58:58 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 04:00:08 | → | Vajb joins (~Vajb@2001:999:251:6c46:af67:6433:cfc0:311b) |
| 04:04:54 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::875a) (Ping timeout: 244 seconds) |
| 04:13:52 | × | cheater quits (~Username@user/cheater) (Quit: (BitchX) Tabardation - the inability to master use of the <Tab> key. See: retardation; Headcase.) |
| 04:14:25 | × | vglfr quits (~vglfr@145.224.94.72) (Ping timeout: 265 seconds) |
| 04:14:42 | → | cheater joins (~Username@user/cheater) |
| 04:17:12 | → | P1RATEZ joins (~piratez@user/p1ratez) |
| 04:18:07 | × | Kaiepi quits (~Kaiepi@142.68.249.28) (Read error: Connection reset by peer) |
| 04:26:25 | → | nate1 joins (~nate@98.45.169.16) |
| 04:28:56 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 04:29:06 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 04:31:36 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 264 seconds) |
| 04:32:00 | → | vglfr joins (~vglfr@145.224.94.16) |
| 04:33:46 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 04:34:05 | × | eL_Bart0 quits (eL_Bart0@dietunichtguten.org) (Read error: Connection reset by peer) |
| 04:37:00 | → | eL_Bart0 joins (eL_Bart0@dietunichtguten.org) |
| 04:39:29 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 04:52:47 | × | rembo10 quits (~rembo10@main.remulis.com) (Quit: ZNC 1.8.2 - https://znc.in) |
| 04:54:55 | → | rembo10 joins (~rembo10@main.remulis.com) |
| 04:56:13 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 05:03:33 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 05:07:25 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 244 seconds) |
| 05:11:11 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 05:14:38 | × | jmorris quits (uid537181@id-537181.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 05:15:15 | → | jmorris joins (uid537181@id-537181.uxbridge.irccloud.com) |
| 05:15:18 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 05:15:52 | × | rembo10 quits (~rembo10@main.remulis.com) (Quit: ZNC 1.8.2 - https://znc.in) |
| 05:18:00 | → | rembo10 joins (~rembo10@main.remulis.com) |
| 05:18:11 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 05:20:31 | × | rembo10 quits (~rembo10@main.remulis.com) (Client Quit) |
| 05:22:39 | → | rembo10 joins (~rembo10@main.remulis.com) |
| 05:25:58 | <c_wraith> | is there some reason why I need to tell cabal to use transformers >= 0.6, even though it doesn't conflict with any of my dependencies (direct or transitive)? |
| 05:28:08 | × | Inoperable quits (~PLAYER_1@fancydata.science) (Quit: All your buffer are belong to us!) |
| 05:36:22 | → | Inoperable joins (~PLAYER_1@fancydata.science) |
| 05:39:08 | → | Kaiepi joins (~Kaiepi@142.68.249.28) |
| 05:40:40 | → | chomwitt joins (~chomwitt@2a02:587:dc05:1e00:dae7:5838:d509:e103) |
| 05:42:05 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 05:46:44 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 05:47:25 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 258 seconds) |
| 05:48:30 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 05:50:45 | <qrpnxz> | how does GHC react if i have two packages with modules of the same name? |
| 05:50:54 | <dminuoso> | It does not mind. |
| 05:51:07 | <dminuoso> | You can use -XPackageImports to disambiguate imports |
| 05:54:52 | <qrpnxz> | that seems simple enough cool |
| 06:07:20 | → | vgtw_ joins (~vgtw@user/vgtw) |
| 06:08:21 | × | vgtw quits (~vgtw@user/vgtw) (Ping timeout: 260 seconds) |
| 06:15:29 | × | P1RATEZ quits (~piratez@user/p1ratez) (Remote host closed the connection) |
| 06:15:46 | → | alternateved joins (~user@staticline-31-183-146-203.toya.net.pl) |
| 06:18:20 | → | gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de) |
| 06:22:18 | × | hgolden quits (~hgolden@cpe-172-251-233-141.socal.res.rr.com) (Remote host closed the connection) |
| 06:25:35 | × | phma quits (phma@2001:5b0:210b:b5b8:2ced:876a:7379:58a9) (Read error: Connection reset by peer) |
| 06:26:36 | → | phma joins (~phma@2001:5b0:211f:2eb8:4689:56b6:986d:9232) |
| 06:33:30 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 06:38:06 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 06:43:19 | → | mikoto-chan joins (~mikoto-ch@164.5.249.78) |
| 06:45:15 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 06:49:04 | → | gmg joins (~user@user/gehmehgeh) |
| 06:52:00 | × | mikoto-chan quits (~mikoto-ch@164.5.249.78) (Ping timeout: 264 seconds) |
| 07:01:14 | × | azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 07:01:44 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 07:02:29 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:6877:9b7f:ea87:8df) |
| 07:02:41 | × | fjMSX quits (~hypni2p@128-68-144-58.broadband.corbina.ru) (Read error: Connection reset by peer) |
| 07:08:31 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 07:09:02 | → | kuribas joins (~user@silversquare.silversquare.eu) |
| 07:09:04 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 258 seconds) |
| 07:09:18 | → | zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) |
| 07:09:25 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 07:09:54 | <kuribas> | what is the procedure around hackage revisions. |
| 07:09:59 | <kuribas> | ? |
| 07:10:13 | <dminuoso> | You can just edit a hackage package and make changes right on hackage. |
| 07:10:16 | <dminuoso> | That's it. |
| 07:10:29 | <kuribas> | shouldn't they be only about dependencies? |
| 07:10:38 | <dminuoso> | Or the package description. |
| 07:10:41 | <dminuoso> | Hackage wont let you touch other things |
| 07:11:05 | <dminuoso> | (And a few other metadata things) |
| 07:11:11 | <kuribas> | hmm, I am using a package where the hackage version differs from the github head, even though they have the same revision number. |
| 07:11:13 | <dminuoso> | https://github.com/haskell-infra/hackage-trustees/blob/master/revisions-information.md#what-can-revisions-change |
| 07:11:41 | <dminuoso> | Revision is not something that exists inside a cabal package |
| 07:11:56 | <dminuoso> | You pretty much just edit the package on hackage, and will update it in place, you dont edit the cabal and reupload it (sadly) |
| 07:12:15 | <dminuoso> | Which means if the maintainer forgets to upstream his revision change into github, it will get overriden the next time you run sdist+upload |
| 07:13:25 | <dminuoso> | It's pretty much just a cabal file editor in the web page of hackage |
| 07:13:25 | <kuribas> | dminuoso: https://github.com/phadej/hkd/blob/master/hkd.cabal#L4 |
| 07:13:33 | <dminuoso> | Oh what is this |
| 07:14:01 | <kuribas> | so x-revision is not about hackage revision then? |
| 07:14:14 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 07:14:32 | → | beteigeuze joins (~Thunderbi@89.187.168.57) |
| 07:14:52 | <dminuoso> | It seems all fields starting with x- are just arbitrary custom fields you can set |
| 07:14:56 | <kuribas> | I suppose the problem then is not the revision, but the fact that this package was not uploaded to hackage. |
| 07:15:09 | <dminuoso> | So yeah, its just an arbitrary field, presumably managed by phadej by convention |
| 07:15:09 | <kuribas> | I'll make an update request. |
| 07:15:20 | <kuribas> | right |
| 07:16:18 | <dminuoso> | It would have been much nicer if revisions were managed like this *shrugs* |
| 07:16:33 | <dminuoso> | But much of hackage is just weird adhoc things |
| 07:18:51 | <kuribas> | In any case, I think it is good to release often (with minor version bump). |
| 07:19:07 | → | MajorBiscuit joins (~MajorBisc@c-001-009-054.client.tudelft.eduvpn.nl) |
| 07:20:05 | → | toeffel joins (~toeffel@user/toeffel) |
| 07:21:40 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer) |
| 07:22:31 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 07:24:38 | × | jmorris quits (uid537181@id-537181.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 07:25:49 | → | acidjnk_new joins (~acidjnk@p200300d6e7137a053c140bcb17afb1cf.dip0.t-ipconnect.de) |
| 07:29:09 | × | shriekingnoise quits (~shrieking@186.137.167.202) (Quit: Quit) |
| 07:30:57 | → | trillp joins (~user@69.233.98.238) |
| 07:33:13 | × | m5zs7k quits (aquares@web10.mydevil.net) (Ping timeout: 252 seconds) |
| 07:33:57 | × | kritzefitz quits (~kritzefit@debian/kritzefitz) (Ping timeout: 252 seconds) |
| 07:34:17 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:d70c:cafc:e732:35ea) |
| 07:34:31 | → | m5zs7k joins (aquares@web10.mydevil.net) |
| 07:45:27 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 07:46:45 | → | mikoto-chan joins (~mikoto-ch@164.5.249.78) |
| 07:49:39 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 07:50:32 | → | fserucas joins (~fserucas@2001:818:e376:a400:fb92:70c1:dd88:c7d7) |
| 07:52:14 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 07:53:30 | → | chele joins (~chele@user/chele) |
| 07:55:56 | → | benin0 joins (~benin@183.82.204.57) |
| 08:01:18 | × | MajorBiscuit quits (~MajorBisc@c-001-009-054.client.tudelft.eduvpn.nl) (Quit: WeeChat 3.5) |
| 08:02:04 | × | beteigeuze quits (~Thunderbi@89.187.168.57) (Ping timeout: 265 seconds) |
| 08:03:48 | → | nate1 joins (~nate@98.45.169.16) |
| 08:04:54 | → | luffy joins (~chenqisu1@183.217.201.192) |
| 08:08:25 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 252 seconds) |
| 08:08:49 | × | trillp quits (~user@69.233.98.238) (Remote host closed the connection) |
| 08:10:07 | → | MajorBiscuit joins (~MajorBisc@c-001-009-054.client.tudelft.eduvpn.nl) |
| 08:10:45 | × | toeffel quits (~toeffel@user/toeffel) (Ping timeout: 268 seconds) |
| 08:15:24 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz) |
| 08:15:36 | × | luffy quits (~chenqisu1@183.217.201.192) (Ping timeout: 265 seconds) |
| 08:20:51 | → | luffy joins (~chenqisu1@183.217.201.192) |
| 08:21:35 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 08:26:14 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 08:26:39 | × | jonathanx quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Remote host closed the connection) |
| 08:31:18 | × | matthews quits (~matthews@gentoo/developer/matthew) (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) |
| 08:31:31 | → | matthews joins (~matthews@gentoo/developer/matthew) |
| 08:32:44 | → | jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) |
| 08:35:11 | × | gmg quits (~user@user/gehmehgeh) (Remote host closed the connection) |
| 08:35:54 | → | gmg joins (~user@user/gehmehgeh) |
| 08:37:43 | → | fjMSX joins (~hypni2p@128-68-144-58.broadband.corbina.ru) |
| 08:42:51 | × | ft quits (~ft@p3e9bc57b.dip0.t-ipconnect.de) (Quit: Lost terminal) |
| 08:46:33 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:d70c:cafc:e732:35ea) (Remote host closed the connection) |
| 08:46:51 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:7c82:1542:79ad:ceb8) |
| 08:52:04 | × | luffy quits (~chenqisu1@183.217.201.192) (Ping timeout: 268 seconds) |
| 08:52:44 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 08:55:02 | → | luffy joins (~chenqisu1@183.217.201.192) |
| 08:55:15 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 08:55:49 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 08:57:04 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 08:57:39 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds) |
| 08:58:24 | → | razetime joins (~quassel@117.254.35.159) |
| 08:58:51 | → | toeffel joins (~toeffel@user/toeffel) |
| 08:59:59 | → | gmg joins (~user@user/gehmehgeh) |
| 09:00:26 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 09:04:57 | × | razetime quits (~quassel@117.254.35.159) (Ping timeout: 268 seconds) |
| 09:05:05 | → | razetime_ joins (~quassel@117.254.35.159) |
| 09:05:26 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:7c82:1542:79ad:ceb8) (Remote host closed the connection) |
| 09:05:47 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:8076:7271:cc2c:f702) |
| 09:09:25 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 09:12:19 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:8076:7271:cc2c:f702) (Remote host closed the connection) |
| 09:13:20 | × | jargon quits (~jargon@184.101.186.15) (Remote host closed the connection) |
| 09:15:43 | × | jleightcap quits (7bc4014b62@user/jleightcap) (Remote host closed the connection) |
| 09:15:43 | × | whereiseveryone_ quits (206ba86c98@2604:bf00:561:2000::2e4) (Write error: Connection reset by peer) |
| 09:15:43 | × | samhh quits (7569f027cf@2604:bf00:561:2000::e4) (Write error: Connection reset by peer) |
| 09:15:43 | × | filwisher_ quits (2e6936c793@2604:bf00:561:2000::170) (Remote host closed the connection) |
| 09:15:43 | × | n1essa quits (3d621153a5@2604:bf00:561:2000::df7) (Remote host closed the connection) |
| 09:15:43 | × | b0o quits (0e4a0bf4c9@2604:bf00:561:2000::1bf) (Remote host closed the connection) |
| 09:15:43 | × | bsima1 quits (9d7e39c8ad@2604:bf00:561:2000::dd) (Remote host closed the connection) |
| 09:15:43 | × | ggb_ quits (a62ffbaf4f@2604:bf00:561:2000::3ac) (Remote host closed the connection) |
| 09:15:43 | × | dawdler_ quits (035b60b5aa@2604:bf00:561:2000::3b6) (Remote host closed the connection) |
| 09:15:43 | × | ymherklotz quits (cb2c9cfbdd@2604:bf00:561:2000::29a) (Remote host closed the connection) |
| 09:15:43 | × | jakzale quits (6291399afa@user/jakzale) (Remote host closed the connection) |
| 09:15:43 | × | sm2n quits (ae95cb1267@user/sm2n) (Remote host closed the connection) |
| 09:15:43 | × | evanrelf quits (3addc196af@2604:bf00:561:2000::f0) (Remote host closed the connection) |
| 09:15:43 | × | fvr quits (ef3e56ca8b@2604:bf00:561:2000::3c4) (Remote host closed the connection) |
| 09:15:43 | × | shreyasminocha quits (51fdc93eda@user/shreyasminocha) (Remote host closed the connection) |
| 09:15:43 | × | tdmm quits (1c9b9145fc@2604:bf00:561:2000::1c8) (Remote host closed the connection) |
| 09:15:43 | × | jkoshy quits (99b9359beb@user/jkoshy) (Remote host closed the connection) |
| 09:15:43 | × | Ankhers quits (e99e97ef8e@2604:bf00:561:2000::2a2) (Remote host closed the connection) |
| 09:15:43 | × | lukec quits (9dfd4d094e@2604:bf00:561:2000::10e) (Remote host closed the connection) |
| 09:15:44 | × | MonsoonSecrecy quits (f78c86e960@2604:bf00:561:2000::f99) (Remote host closed the connection) |
| 09:15:44 | × | fluffyballoon quits (45ce440a48@2604:bf00:561:2000::e2) (Remote host closed the connection) |
| 09:17:16 | → | samhh joins (7569f027cf@2604:bf00:561:2000::e4) |
| 09:17:19 | → | whereiseveryone joins (206ba86c98@2604:bf00:561:2000::2e4) |
| 09:17:19 | → | filwisher joins (2e6936c793@2604:bf00:561:2000::170) |
| 09:17:21 | → | sm2n joins (ae95cb1267@user/sm2n) |
| 09:17:21 | → | evanrelf joins (3addc196af@2604:bf00:561:2000::f0) |
| 09:17:21 | → | n1essa joins (3d621153a5@2604:bf00:561:2000::df7) |
| 09:17:23 | → | jleightcap joins (7bc4014b62@user/jleightcap) |
| 09:17:27 | → | shreyasminocha joins (51fdc93eda@user/shreyasminocha) |
| 09:17:31 | → | ymherklotz joins (cb2c9cfbdd@2604:bf00:561:2000::29a) |
| 09:17:31 | → | jkoshy joins (99b9359beb@user/jkoshy) |
| 09:17:54 | × | razetime_ quits (~quassel@117.254.35.159) (Ping timeout: 268 seconds) |
| 09:17:56 | → | jakzale joins (6291399afa@user/jakzale) |
| 09:18:06 | → | MonsoonSecrecy joins (f78c86e960@2604:bf00:561:2000::f99) |
| 09:18:17 | → | razetime joins (~quassel@117.254.35.159) |
| 09:18:20 | → | fvr joins (ef3e56ca8b@2604:bf00:561:2000::3c4) |
| 09:18:34 | → | ggb joins (a62ffbaf4f@2604:bf00:561:2000::3ac) |
| 09:18:34 | → | dawdler joins (035b60b5aa@2604:bf00:561:2000::3b6) |
| 09:18:35 | × | dawdler quits (035b60b5aa@2604:bf00:561:2000::3b6) (Changing host) |
| 09:18:35 | → | dawdler joins (035b60b5aa@user/dawdler) |
| 09:18:37 | → | tdmm joins (1c9b9145fc@2604:bf00:561:2000::1c8) |
| 09:18:56 | → | lukec joins (9dfd4d094e@2604:bf00:561:2000::10e) |
| 09:19:05 | → | b0o joins (0e4a0bf4c9@2604:bf00:561:2000::1bf) |
| 09:19:08 | → | bsima1 joins (9d7e39c8ad@2604:bf00:561:2000::dd) |
| 09:19:10 | → | Ankhers joins (e99e97ef8e@2604:bf00:561:2000::2a2) |
| 09:19:15 | → | fluffyballoon joins (45ce440a48@2604:bf00:561:2000::e2) |
| 09:20:39 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 09:23:34 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 09:25:56 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:6877:9b7f:ea87:8df) (Ping timeout: 268 seconds) |
| 09:27:28 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:9b81:2982:471:40b2) |
| 09:30:06 | → | akegalj joins (~akegalj@93-139-182-69.adsl.net.t-com.hr) |
| 09:30:07 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 09:31:47 | → | wonko joins (~wjc@2a0e:1c80:11::50) |
| 09:34:50 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 09:40:47 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 09:43:42 | → | img joins (~img@user/img) |
| 09:48:54 | → | kritzefitz joins (~kritzefit@debian/kritzefitz) |
| 09:49:15 | × | mikoto-chan quits (~mikoto-ch@164.5.249.78) (Ping timeout: 252 seconds) |
| 09:50:14 | × | zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!) |
| 09:54:56 | × | frost quits (~frost@user/frost) (Quit: Client closed) |
| 09:57:22 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 268 seconds) |
| 09:57:24 | → | odnes joins (~odnes@5-203-231-244.pat.nym.cosmote.net) |
| 09:57:38 | × | odnes quits (~odnes@5-203-231-244.pat.nym.cosmote.net) (Remote host closed the connection) |
| 09:59:30 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:7f2e:515f:3d8e:4bd5) |
| 10:00:10 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:9b81:2982:471:40b2) (Remote host closed the connection) |
| 10:00:29 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:7d67:6106:5334:8ce) |
| 10:03:00 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 10:10:11 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 10:10:50 | × | econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity) |
| 10:10:57 | × | toeffel quits (~toeffel@user/toeffel) (Ping timeout: 250 seconds) |
| 10:15:04 | → | toeffel joins (~toeffel@user/toeffel) |
| 10:17:01 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 250 seconds) |
| 10:17:39 | × | akegalj quits (~akegalj@93-139-182-69.adsl.net.t-com.hr) (Read error: Connection reset by peer) |
| 10:20:32 | × | wonko quits (~wjc@2a0e:1c80:11::50) (Ping timeout: 244 seconds) |
| 10:20:35 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 10:24:10 | × | xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 265 seconds) |
| 10:31:33 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:7d67:6106:5334:8ce) (Remote host closed the connection) |
| 10:33:21 | × | luffy quits (~chenqisu1@183.217.201.192) (Ping timeout: 265 seconds) |
| 10:34:31 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 10:36:21 | <Square> | I'm very much looking forward to the GHC wasm backend. Any progress reported on that? |
| 10:36:41 | → | perrierjouet joins (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) |
| 10:39:09 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 10:39:45 | <yushyin> | https://gitlab.haskell.org/ghc/ghc/-/issues/21200 |
| 10:42:00 | → | frost joins (~frost@user/frost) |
| 10:44:59 | × | gurkenglas quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
| 10:46:11 | → | risc joins (uid568934@id-568934.tinside.irccloud.com) |
| 10:47:46 | → | gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de) |
| 10:48:21 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 10:53:15 | × | risc quits (uid568934@id-568934.tinside.irccloud.com) () |
| 10:54:46 | × | phma quits (~phma@2001:5b0:211f:2eb8:4689:56b6:986d:9232) (Ping timeout: 260 seconds) |
| 10:56:23 | <absence> | geekosaur: so the locale system works, and that's what getLocaleEncoding uses, and yet locale reports UTF-8 and getLocaleEncoding reports ASCII. a bit of a head scratcher :) |
| 11:02:50 | <Square> | yushyin, thanks. I knew about that one. I was wondering if some public talk was made around it. |
| 11:02:52 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 11:06:47 | → | luffy joins (~chenqisu1@183.217.201.192) |
| 11:07:36 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 11:07:39 | × | luffy quits (~chenqisu1@183.217.201.192) (Remote host closed the connection) |
| 11:08:07 | <int-e> | absence: But `locale` will not tell you whether the selected locale actually works. For example, for me, it'll say 'LC_CTYPE=en_GB.UTF-8', but getLocaleEncoding will return ASCII, because I have not actually enabled that in /etc/locale.gen. LC_CTYPE=en_US.UTF-8 works. |
| 11:08:10 | → | luffy joins (~chenqisu1@183.217.201.192) |
| 11:08:47 | <int-e> | (Hmm, I don't know whether the locale.gen is Debian specific or generic.) |
| 11:11:14 | → | checkum joins (~checkum@2604:ca00:1ea:d1::63:826) |
| 11:12:30 | <int-e> | Heck I don't even know where `locale-gen` stores its stuff, is it just /usr/lib/locale/locale-archive ? I guess so. |
| 11:15:24 | <absence> | int-e: ugh, it was because the haskell program was build with nix, which for some reason uses a patched glibc that requires a LOCALE_ARCHIVE env variable that points to the locale-archive directory. if i set that, it works |
| 11:15:48 | <int-e> | ah, software conspiring against you, even better |
| 11:16:51 | → | xff0x joins (~xff0x@2405:6580:b080:900:a0ee:ef10:839c:6e73) |
| 11:17:15 | × | luffy quits (~chenqisu1@183.217.201.192) (Ping timeout: 252 seconds) |
| 11:17:57 | <dminuoso> | Mmm, Im starting to prefer a simple traverse with an IORef to collect data over just Writer. Im succumbing to side effects. |
| 11:23:03 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot) |
| 11:23:06 | <int-e> | That's just not Write. |
| 11:24:07 | <dminuoso> | It's close enough *shrugs* |
| 11:24:41 | <int-e> | dminuoso: But have you abstracted from this and made a MonadWriter instance for a newtype around Monoid a => ReaderT (IORef a) IO ... |
| 11:25:20 | → | doyougnu joins (~doyougnu@195.69.96.100) |
| 11:25:25 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 11:25:28 | × | mcglk quits (~mcglk@131.191.49.120) (Read error: Connection reset by peer) |
| 11:27:54 | <checkum> | hello, world |
| 11:31:46 | <mniip> | you coud store a in the IORef and pretend that your monoid is Endo a |
| 11:33:32 | <checkum> | type Safe = IO |
| 11:33:44 | <dminuoso> | Im just reevaluating whether using mtl for "lets collect a few errors" is a sensible thing at all. Especially since the lack of IO makes integrating debugging much more annoying |
| 11:36:13 | → | perdent joins (~perdent@101.175.158.254) |
| 11:38:16 | → | yvan-sraka joins (~yvan-srak@162.96-78-194.adsl-static.isp.belgacom.be) |
| 11:38:22 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 11:39:13 | → | thyriaen joins (~thyriaen@dynamic-046-114-148-109.46.114.pool.telefonica.de) |
| 11:41:27 | × | toeffel quits (~toeffel@user/toeffel) (Ping timeout: 252 seconds) |
| 11:42:08 | × | wz1000 quits (~zubin@static.11.113.47.78.clients.your-server.de) (Quit: WeeChat 2.8) |
| 11:42:14 | → | wz1000 joins (~zubin@static.11.113.47.78.clients.your-server.de) |
| 11:42:34 | → | cpli joins (~cpli@77.47.62.180) |
| 11:42:58 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 11:43:46 | × | foul_owl quits (~kerry@174-21-65-36.tukw.qwest.net) (Ping timeout: 260 seconds) |
| 11:45:38 | → | lyle joins (~lyle@104.246.145.85) |
| 11:45:43 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 11:46:34 | × | perdent quits (~perdent@101.175.158.254) (Quit: Client closed) |
| 11:46:56 | → | wonko joins (~wjc@2a0e:1c80:11::50) |
| 11:48:12 | → | perdent joins (~perdent@101.175.158.254) |
| 11:50:11 | × | gurkenglas quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 11:51:24 | × | yvan-sraka quits (~yvan-srak@162.96-78-194.adsl-static.isp.belgacom.be) (Remote host closed the connection) |
| 11:51:43 | → | yvan-sraka joins (~yvan-srak@162.96-78-194.adsl-static.isp.belgacom.be) |
| 11:52:07 | → | waleee joins (~waleee@192.165.44.49) |
| 11:53:15 | → | toeffel joins (~toeffel@user/toeffel) |
| 11:54:54 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 11:56:37 | × | doyougnu quits (~doyougnu@195.69.96.100) (Ping timeout: 244 seconds) |
| 11:57:28 | → | foul_owl joins (~kerry@174-21-75-230.tukw.qwest.net) |
| 12:03:54 | × | zachel quits (~zachel@user/zachel) (Remote host closed the connection) |
| 12:04:11 | → | zachel joins (~zachel@user/zachel) |
| 12:05:19 | → | nate1 joins (~nate@98.45.169.16) |
| 12:05:51 | × | perdent quits (~perdent@101.175.158.254) (Quit: Client closed) |
| 12:05:55 | × | cyphase quits (~cyphase@user/cyphase) (Ping timeout: 244 seconds) |
| 12:06:16 | × | MajorBiscuit quits (~MajorBisc@c-001-009-054.client.tudelft.eduvpn.nl) (Ping timeout: 268 seconds) |
| 12:09:54 | × | _xor quits (~xor@74.215.182.83) (Quit: bbiab) |
| 12:10:06 | × | yvan-sraka quits (~yvan-srak@162.96-78-194.adsl-static.isp.belgacom.be) (Ping timeout: 252 seconds) |
| 12:10:07 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 250 seconds) |
| 12:12:53 | × | frost quits (~frost@user/frost) (Quit: Client closed) |
| 12:12:55 | → | cyphase joins (~cyphase@user/cyphase) |
| 12:13:45 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 12:16:57 | → | perdent joins (~perdent@101.175.158.254) |
| 12:18:19 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 12:18:19 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 244 seconds) |
| 12:19:01 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 12:22:24 | → | MajorBiscuit joins (~MajorBisc@c-001-009-054.client.tudelft.eduvpn.nl) |
| 12:27:02 | → | checkum_ joins (~checkum@2604:ca00:1f0:2256::460:b236) |
| 12:27:46 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 12:28:45 | × | wonko quits (~wjc@2a0e:1c80:11::50) (Ping timeout: 250 seconds) |
| 12:29:53 | → | califax joins (~califax@user/califx) |
| 12:30:43 | × | checkum quits (~checkum@2604:ca00:1ea:d1::63:826) (Ping timeout: 244 seconds) |
| 12:36:24 | × | kuribas quits (~user@silversquare.silversquare.eu) (Ping timeout: 244 seconds) |
| 12:36:31 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 12:37:05 | → | califax joins (~califax@user/califx) |
| 12:37:22 | → | thyriaen_ joins (~thyriaen@83.137.6.59) |
| 12:39:17 | <Profpatsch> | What’s the easiest way to generically say “if all fields in my records are (Parser _), I can give you a parser of the record” |
| 12:39:46 | <Profpatsch> | I feel like this should be doable for any record? |
| 12:39:59 | × | thyriaen quits (~thyriaen@dynamic-046-114-148-109.46.114.pool.telefonica.de) (Ping timeout: 265 seconds) |
| 12:42:25 | <geekosaur> | sounds vaguely Applicative (sequenceA) |
| 12:43:05 | <geekosaur> | and, conveniently, Applicative works well with parsers |
| 12:43:06 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 12:43:40 | × | zachel quits (~zachel@user/zachel) (Remote host closed the connection) |
| 12:44:04 | <Profpatsch> | geekosaur: yeah but if I want to write a function “give me any record of parsers, I will give you a parser for the record” |
| 12:44:11 | → | zachel joins (~zachel@user/zachel) |
| 12:44:38 | <geekosaur> | if you have sequenceA, it should be written for you |
| 12:44:48 | <geekosaur> | but the record has to be Applicative |
| 12:44:53 | × | zachel quits (~zachel@user/zachel) (Remote host closed the connection) |
| 12:45:44 | <Profpatsch> | geekosaur: Can I make data Foo = Foo { bar :: Parser Int, baz :: Parser Bool } into a traversable? |
| 12:46:23 | <Profpatsch> | Parser if a Functor, but Foo has to be a traversable |
| 12:46:43 | → | zachel joins (~zachel@user/zachel) |
| 12:47:14 | <geekosaur> | mm, dunno |
| 12:47:43 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 12:47:45 | × | zachel quits (~zachel@user/zachel) (Remote host closed the connection) |
| 12:48:11 | <checkum_> | should be a new type if your data structure doesn't have type parameters |
| 12:48:12 | → | zachel joins (~zachel@user/zachel) |
| 12:48:46 | <Profpatsch> | I guess you can implement it specifically for your Parser type |
| 12:48:52 | <Profpatsch> | via :*: |
| 12:49:05 | <Profpatsch> | But I never sucessfully used the Generics interface before to define my own instances |
| 12:50:35 | → | yvan-sraka joins (~yvan-srak@194.78.96.162) |
| 12:50:58 | <Profpatsch> | I was very close to implement something like that for superrecord |
| 12:51:02 | <Profpatsch> | But I never finished it |
| 12:51:31 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 12:51:56 | <absence> | what's the name of that pattern where you define the record as data Foo f = Foo { bare :: f Int, ... }? could be used for sequenceA if you don't mind Identity wrappers... |
| 12:52:21 | <geekosaur> | higher kinded data? |
| 12:52:32 | <absence> | ah yes |
| 12:53:28 | → | califax joins (~califax@user/califx) |
| 12:55:57 | × | chele quits (~chele@user/chele) (Ping timeout: 265 seconds) |
| 12:56:21 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 12:57:09 | → | chele joins (~chele@user/chele) |
| 12:57:39 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 12:58:11 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 13:00:46 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds) |
| 13:02:32 | × | thyriaen_ quits (~thyriaen@83.137.6.59) (Remote host closed the connection) |
| 13:06:30 | → | thyriaen joins (~thyriaen@83.137.6.59) |
| 13:07:43 | <Profpatsch> | absence: ftypes implements that |
| 13:07:47 | <Profpatsch> | But I think it’s a dead end |
| 13:08:17 | <Profpatsch> | err dtypes https://github.com/timjb/dtypes |
| 13:08:21 | <Profpatsch> | (not on hackage) |
| 13:10:21 | × | toeffel quits (~toeffel@user/toeffel) (Ping timeout: 250 seconds) |
| 13:11:42 | × | ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 258 seconds) |
| 13:12:52 | → | chele_ joins (~chele@user/chele) |
| 13:12:52 | × | chele quits (~chele@user/chele) (Read error: Connection reset by peer) |
| 13:14:02 | → | rekahsoft joins (~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca) |
| 13:14:11 | × | thyriaen quits (~thyriaen@83.137.6.59) (Read error: Connection reset by peer) |
| 13:14:41 | → | thyriaen joins (~thyriaen@83.137.6.59) |
| 13:15:58 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 13:16:16 | → | ChaiTRex joins (~ChaiTRex@user/chaitrex) |
| 13:19:02 | × | cpli quits (~cpli@77.47.62.180) (Ping timeout: 268 seconds) |
| 13:20:19 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 13:24:00 | → | szkl joins (uid110435@id-110435.uxbridge.irccloud.com) |
| 13:28:31 | × | motherfsck quits (~motherfsc@user/motherfsck) (Ping timeout: 252 seconds) |
| 13:28:42 | × | yvan-sraka quits (~yvan-srak@194.78.96.162) (Remote host closed the connection) |
| 13:30:20 | × | zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection) |
| 13:31:45 | → | zaquest joins (~notzaques@5.130.79.72) |
| 13:32:51 | → | thyriaen_ joins (~thyriaen@178.115.32.74.wireless.dyn.drei.com) |
| 13:35:32 | × | thyriaen_ quits (~thyriaen@178.115.32.74.wireless.dyn.drei.com) (Remote host closed the connection) |
| 13:35:35 | × | thyriaen quits (~thyriaen@83.137.6.59) (Ping timeout: 255 seconds) |
| 13:40:14 | <adamCS> | Profpatsch: There's also https://hackage.haskell.org/package/barbies-2.0.3.1/docs/Barbies.html |
| 13:40:18 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 13:43:16 | <Profpatsch> | weird naming but ok |
| 13:43:18 | → | motherfsck joins (~motherfsc@user/motherfsck) |
| 13:44:02 | <adamCS> | Profpatsch: Yeah. Had that thought as well! |
| 13:44:04 | <Profpatsch> | holy crap it’s downright creepy |
| 13:44:09 | <Profpatsch> | Barby.Wear |
| 13:44:11 | <Profpatsch> | Barbie.Bare |
| 13:44:12 | <dminuoso> | "barbies-2.0.3.1: Classes for working with types that can change clothes." |
| 13:44:37 | <adamCS> | Yep. I think there are other libs... |
| 13:44:38 | <dminuoso> | "Covering and stripping" |
| 13:44:44 | <Profpatsch> | wtf |
| 13:44:54 | <adamCS> | Yikes. I didn't read that far. |
| 13:45:12 | <dminuoso> | But still, the best wordplays are from `monad-chronicle`. |
| 13:45:31 | <dminuoso> | This is just golden: https://hackage.haskell.org/package/monad-chronicle-1.0.1/docs/Control-Monad-Chronicle.html#t:MonadChronicle |
| 13:47:11 | → | akegalj joins (~akegalj@38-211.dsl.iskon.hr) |
| 13:49:29 | → | Guest38 joins (~Guest38@96.45.173.210) |
| 13:50:22 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 13:50:36 | × | Guest38 quits (~Guest38@96.45.173.210) (Client Quit) |
| 13:52:21 | <adamCS> | Profpatsch: Maybe https://hackage.haskell.org/package/hkd ? Depends what you need |
| 13:52:33 | → | cpli joins (~cpli@77.47.62.180) |
| 13:53:01 | <dminuoso> | Profpatsch: I would personally just write the boilerplate code. |
| 13:53:22 | <dminuoso> | From experience, magic type libraries, higher kinded types or generics will just require so much code to write, it would be easier to just write the boiler plate. |
| 13:54:02 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 255 seconds) |
| 13:54:26 | → | shriekingnoise joins (~shrieking@186.137.167.202) |
| 13:54:28 | → | toeffel joins (~toeffel@user/toeffel) |
| 13:54:54 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 13:55:20 | <dminuoso> | 14:45:44 Profpatsch | geekosaur: Can I make data Foo = Foo { bar :: Parser Int, baz :: Parser Bool } into a traversable? |
| 13:55:24 | <dminuoso> | You can make it MonoTraversable |
| 13:55:31 | <dminuoso> | If that helps |
| 13:55:52 | × | dsrt^ quits (~dsrt@70.88.176.185) (Ping timeout: 265 seconds) |
| 13:57:40 | → | causal joins (~user@2001:470:ea0f:3:329c:23ff:fe3f:1e0e) |
| 14:01:58 | → | bontaq joins (~user@ool-45779fe5.dyn.optonline.net) |
| 14:03:24 | × | cpli quits (~cpli@77.47.62.180) (Ping timeout: 264 seconds) |
| 14:04:16 | <lortabac> | I think a Generic-based solution would make sense for a library, but in application code I would just write the boilerplate |
| 14:05:22 | <dminuoso> | For library you can also just write MonoTraversable-polymorphic code |
| 14:05:59 | <dminuoso> | `(Element t ~ Parser, MonoFoldable t) => t -> ...` |
| 14:06:24 | <dminuoso> | It's way less intrusive than relying on generics |
| 14:06:25 | <lortabac> | it depends whether the dependency on mono-traversable is acceptable |
| 14:06:44 | <adamCS> | Profpatsch: There's also the in-between option of using one of those libraries for classes and writing the boilerplate of the instances yourself, rather than trying to get all the Generics stuff to work. That can be helpful if you want the other utilities it provides. But if all you want is to "traverse" then even that might be overkill. |
| 14:06:48 | <dminuoso> | Mm interesting. I would say its more acceptable than demanding you expose all internals via Generics instance |
| 14:07:44 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 14:08:09 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 14:08:13 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:7f2e:515f:3d8e:4bd5) (Quit: WeeChat 2.8) |
| 14:09:00 | <dminuoso> | Ah but MonoTraversable wouldnt even work |
| 14:09:08 | <dminuoso> | You'd need some kind of MonoTraversable1 |
| 14:13:23 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 14:13:48 | × | ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 258 seconds) |
| 14:14:58 | × | toeffel quits (~toeffel@user/toeffel) (Quit: quit) |
| 14:15:27 | → | ChaiTRex joins (~ChaiTRex@user/chaitrex) |
| 14:17:27 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 14:20:59 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 14:22:47 | → | kuribas joins (~user@silversquare.silversquare.eu) |
| 14:23:09 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 14:27:47 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 14:31:46 | → | hgolden joins (~hgolden@cpe-172-251-233-141.socal.res.rr.com) |
| 14:32:53 | → | mikoto-chan joins (~mikoto-ch@nat2.panoulu.net) |
| 14:33:28 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 14:34:38 | × | hgolden quits (~hgolden@cpe-172-251-233-141.socal.res.rr.com) (Remote host closed the connection) |
| 14:37:03 | → | hgolden joins (~hgolden@cpe-172-251-233-141.socal.res.rr.com) |
| 14:37:08 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 14:38:25 | × | td_ quits (~td@muedsl-82-207-238-033.citykom.de) (Ping timeout: 265 seconds) |
| 14:39:59 | → | cpli joins (~cpli@77.47.62.180) |
| 14:49:33 | × | raym quits (~raym@user/raym) (Remote host closed the connection) |
| 14:50:49 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 14:55:12 | → | raym joins (~raym@user/raym) |
| 14:55:19 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 14:59:08 | × | raym quits (~raym@user/raym) (Remote host closed the connection) |
| 14:59:13 | → | epolanski joins (uid312403@id-312403.helmsley.irccloud.com) |
| 15:00:11 | × | mikoto-chan quits (~mikoto-ch@nat2.panoulu.net) (Ping timeout: 255 seconds) |
| 15:02:01 | × | hpc quits (~juzz@ip98-169-32-242.dc.dc.cox.net) (Ping timeout: 268 seconds) |
| 15:02:23 | × | waleee quits (~waleee@192.165.44.49) (Ping timeout: 252 seconds) |
| 15:03:38 | → | hpc joins (~juzz@ip98-169-32-242.dc.dc.cox.net) |
| 15:04:09 | → | raym joins (~raym@user/raym) |
| 15:07:17 | × | Techcable quits (~Techcable@user/Techcable) (Ping timeout: 244 seconds) |
| 15:20:30 | × | razetime quits (~quassel@117.254.35.159) (Ping timeout: 264 seconds) |
| 15:22:31 | × | raym quits (~raym@user/raym) (Ping timeout: 260 seconds) |
| 15:23:46 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 15:24:15 | × | acidjnk_new quits (~acidjnk@p200300d6e7137a053c140bcb17afb1cf.dip0.t-ipconnect.de) (Ping timeout: 250 seconds) |
| 15:24:17 | → | raym joins (~raym@user/raym) |
| 15:27:20 | → | mikoto-chan joins (~mikoto-ch@164.5.249.78) |
| 15:27:59 | → | razetime joins (~quassel@117.254.35.159) |
| 15:28:21 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 15:38:25 | → | stef204 joins (~stef204@user/stef204) |
| 15:44:06 | → | toeffel joins (~toeffel@user/toeffel) |
| 15:51:20 | × | Inoperable quits (~PLAYER_1@fancydata.science) (Excess Flood) |
| 15:53:09 | → | Inoperable joins (~PLAYER_1@fancydata.science) |
| 15:58:53 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 16:00:17 | × | ds-ac quits (ds-ac@user/ds-ac) (Quit: WeeChat 3.6) |
| 16:01:01 | × | kuribas quits (~user@silversquare.silversquare.eu) (Remote host closed the connection) |
| 16:03:04 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 16:04:59 | → | waleee joins (~waleee@192.165.44.49) |
| 16:06:49 | → | nate1 joins (~nate@98.45.169.16) |
| 16:10:25 | → | acidjnk_new joins (~acidjnk@p200300d6e7137a753c140bcb17afb1cf.dip0.t-ipconnect.de) |
| 16:11:29 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 250 seconds) |
| 16:14:12 | → | billykv joins (~billykv@31.215.211.120) |
| 16:16:59 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Quit: zxx7529) |
| 16:17:24 | × | billykv quits (~billykv@31.215.211.120) (Client Quit) |
| 16:17:52 | × | ente` quits (~daemon@inferno.barfooze.de) (Ping timeout: 268 seconds) |
| 16:21:34 | × | chele_ quits (~chele@user/chele) (Remote host closed the connection) |
| 16:22:17 | → | wonko joins (~wjc@2a0e:1c80:11::50) |
| 16:25:52 | → | titibandit joins (~titibandi@xdsl-87-78-162-143.nc.de) |
| 16:28:40 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 16:30:09 | → | __monty__ joins (~toonn@user/toonn) |
| 16:33:06 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 16:35:24 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 16:36:40 | × | MajorBiscuit quits (~MajorBisc@c-001-009-054.client.tudelft.eduvpn.nl) (Ping timeout: 244 seconds) |
| 16:38:26 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) |
| 16:39:22 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 16:43:32 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 16:46:31 | → | califax joins (~califax@user/califx) |
| 16:55:25 | → | cacke joins (~cacke@mainpc.lha.sgsnet.se) |
| 16:55:54 | <cacke> | Hi, how do i move one element from one list to another? :c |
| 16:56:23 | × | alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection) |
| 16:56:51 | <geekosaur> | with difficulty, because lists are linked lists, not arrays. perhaps you want Vector instead? |
| 16:59:23 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 17:05:41 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 17:06:24 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 17:07:00 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 17:07:37 | × | razetime quits (~quassel@117.254.35.159) (Remote host closed the connection) |
| 17:10:14 | → | ft joins (~ft@p3e9bc57b.dip0.t-ipconnect.de) |
| 17:11:46 | <int-e> | it depends on which element you want to move... move (x:xs) ys = (xs, y:ys) performs pretty well. |
| 17:12:00 | <int-e> | uh |
| 17:12:04 | <int-e> | ...where y = x |
| 17:13:12 | → | ente` joins (~daemon@inferno.barfooze.de) |
| 17:21:23 | × | Inoperable quits (~PLAYER_1@fancydata.science) (Excess Flood) |
| 17:22:12 | → | Inoperable joins (~PLAYER_1@fancydata.science) |
| 17:23:12 | <sm> | how do you identify the element to move ? |
| 17:27:23 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 17:27:38 | × | wonko quits (~wjc@2a0e:1c80:11::50) (Ping timeout: 268 seconds) |
| 17:29:01 | × | waleee quits (~waleee@192.165.44.49) (Ping timeout: 265 seconds) |
| 17:32:44 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 17:36:08 | → | coot joins (~coot@213.134.176.158) |
| 17:38:07 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 17:42:14 | → | califax joins (~califax@user/califx) |
| 17:46:16 | × | cacke quits (~cacke@mainpc.lha.sgsnet.se) (Quit: Ping timeout (120 seconds)) |
| 17:48:08 | × | titibandit quits (~titibandi@xdsl-87-78-162-143.nc.de) (Remote host closed the connection) |
| 17:48:26 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 17:53:46 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 17:58:17 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 18:01:32 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 18:01:44 | → | cacke joins (~cacke@mainpc.lha.sgsnet.se) |
| 18:02:26 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 255 seconds) |
| 18:02:55 | <jean-paul[m]> | I can't find stripe-core in https://www.stackage.org/lts-18.28 but after updating my stack.yaml to 18.28, I don't need stripe-core in extra-deps anymore. What's going on? |
| 18:04:39 | <jean-paul[m]> | dminuoso: Do you think you will maintain servant-prometheus in the future? Or should others try to consolidate their fork efforts in one new canonical upstream? |
| 18:06:37 | × | jrm quits (~jrm@user/jrm) (Quit: ciao) |
| 18:07:21 | × | lottaquestions quits (~nick@2607:fa49:503e:7100:ea0c:ba00:cd12:f6bc) (Quit: Konversation terminated!) |
| 18:07:37 | → | nate1 joins (~nate@98.45.169.16) |
| 18:10:13 | × | cacke quits (~cacke@mainpc.lha.sgsnet.se) (Quit: Ping timeout (120 seconds)) |
| 18:12:51 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 260 seconds) |
| 18:14:00 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 18:14:17 | → | econo joins (uid147250@user/econo) |
| 18:14:27 | → | beteigeuze joins (~Thunderbi@p5090d00a.dip0.t-ipconnect.de) |
| 18:15:10 | buster_blue[m] | is now known as TrueBlue[m] |
| 18:18:18 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 18:26:43 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 18:31:22 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 18:32:32 | → | king_gs joins (~Thunderbi@2806:103e:29:1004:c2ae:c6b3:b9c2:8d75) |
| 18:32:46 | × | king_gs quits (~Thunderbi@2806:103e:29:1004:c2ae:c6b3:b9c2:8d75) (Remote host closed the connection) |
| 18:34:07 | <janus> | jean-paul[m]: maybe the dependency that dependended on stripe-core no longer depends on it |
| 18:34:24 | <jean-paul[m]> | it's my own library that depends on it |
| 18:35:27 | <jean-paul[m]> | ie, I still have `stripe-core` in cabal `build-depends` but I no longer have it in stack `extra-deps` |
| 18:35:35 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 18:37:04 | <janus> | and you're building with stack? |
| 18:37:16 | → | califax joins (~califax@user/califx) |
| 18:37:24 | <jean-paul[m]> | yea |
| 18:37:46 | × | szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 18:39:12 | <janus> | maybe your stack-generated directories were somehow corrupted. you could try deleting .stack-work |
| 18:39:25 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 18:39:30 | <janus> | or just moving it temporarily |
| 18:39:32 | <jean-paul[m]> | oh scary :/ |
| 18:39:35 | → | wonko joins (~wjc@2a0e:1c80:11::50) |
| 18:42:30 | <janus> | jean-paul[m]: stripe-core is in https://www.stackage.org/lts-18.28/cabal.config |
| 18:42:48 | <janus> | so that suggests that it is in the snapshot, i think? |
| 18:43:09 | <jean-paul[m]> | Okay. That's sort of what I was hoping the answer would be. So then it's just an issue of the web list/search being broken, I guess. |
| 18:43:33 | <jean-paul[m]> | (ie, https://www.stackage.org/lts-18.28/hoogle?q=stripe-core saying "no results" is just wrong ...) |
| 18:44:42 | <jean-paul[m]> | Thanks for digging that out |
| 18:48:20 | × | checkum_ quits (~checkum@2604:ca00:1f0:2256::460:b236) (Ping timeout: 268 seconds) |
| 18:48:25 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 244 seconds) |
| 18:49:15 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:49:19 | × | jonathanx quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Remote host closed the connection) |
| 18:50:59 | → | Sciencentistguy9 joins (~sciencent@hacksoc/ordinary-member) |
| 18:53:12 | × | perdent quits (~perdent@101.175.158.254) (Quit: Client closed) |
| 18:53:12 | × | Sciencentistguy quits (~sciencent@hacksoc/ordinary-member) (Ping timeout: 264 seconds) |
| 18:53:12 | Sciencentistguy9 | is now known as Sciencentistguy |
| 18:53:22 | → | checkum joins (~checkum@172.58.19.163) |
| 18:54:22 | × | coot quits (~coot@213.134.176.158) (Quit: coot) |
| 18:54:54 | × | JimL quits (~quassel@89-162-2-132.fiber.signal.no) (Read error: Connection reset by peer) |
| 18:55:35 | → | JimL joins (~quassel@89-162-2-132.fiber.signal.no) |
| 18:57:25 | → | VooBee joins (~max@host-79-45-110-6.retail.telecomitalia.it) |
| 18:57:44 | × | VooBee quits (~max@host-79-45-110-6.retail.telecomitalia.it) (Client Quit) |
| 18:58:51 | × | epolanski quits (uid312403@id-312403.helmsley.irccloud.com) (Quit: Connection closed for inactivity) |
| 19:00:55 | × | johnjaye quits (~pi@173.209.64.74) (Ping timeout: 250 seconds) |
| 19:02:05 | → | zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) |
| 19:03:10 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 19:04:59 | × | checkum quits (~checkum@172.58.19.163) (Read error: Connection reset by peer) |
| 19:05:00 | × | vglfr quits (~vglfr@145.224.94.16) (Read error: Connection reset by peer) |
| 19:05:16 | → | vglfr joins (~vglfr@145.224.94.16) |
| 19:05:27 | × | Null_A quits (~null_a@2601:645:8700:ac10:2064:ea9d:e957:861b) (Ping timeout: 244 seconds) |
| 19:05:48 | <sm> | search in the page https://www.stackage.org/lts-18.28 to find out if a package is there |
| 19:05:49 | <sm> | hoogle doesn't necessarily know about package names |
| 19:05:50 | <sm> | also, https://www.stackage.org/lts-18.28/hoogle says "Within LTS Haskell 19.23 (ghc-9.0.2)" for some reason |
| 19:05:51 | <sm> | which I guess is explained by the link right below (but still surprising, they should redirect the url) |
| 19:07:01 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 19:09:20 | → | perdent joins (~perdent@101.175.158.254) |
| 19:09:35 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 19:10:17 | → | LukeHoersten joins (~LukeHoers@user/lukehoersten) |
| 19:11:05 | × | akegalj quits (~akegalj@38-211.dsl.iskon.hr) (Quit: leaving) |
| 19:13:12 | → | Null_A joins (~null_a@2601:645:8700:ac10:4003:febd:5f86:3cc5) |
| 19:17:08 | → | kuribas joins (~user@ptr-17d51eni125c2awwl05.18120a2.ip6.access.telenet.be) |
| 19:17:49 | <kuribas> | Is there a way to "compose" Constraints into a new constraint? |
| 19:18:05 | <kuribas> | "type Cs = (C1, C2)" works, however the synonym cannot be used in many ways. |
| 19:18:41 | <kuribas> | I can do "class (C1 a, C2 a) => Cs a", then "instance (C1 a, C2 a) => Cs a" |
| 19:18:47 | <kuribas> | Is there no better way? |
| 19:19:49 | → | cacke joins (~cacke@mainpc.lha.sgsnet.se) |
| 19:20:09 | × | LukeHoersten quits (~LukeHoers@user/lukehoersten) (Ping timeout: 252 seconds) |
| 19:21:00 | × | int-e quits (~noone@int-e.eu) (Remote host closed the connection) |
| 19:21:33 | <jean-paul[m]> | Uhhh wow. I completely overlooked the fact that the search box on stackage.org is for Hoogle, not stackage. |
| 19:21:48 | → | int-e joins (~noone@int-e.eu) |
| 19:22:02 | → | slack1256 joins (~slack1256@186.11.84.213) |
| 19:22:26 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:7822:482b:3ba1:f27f) |
| 19:22:45 | <geekosaur> | I *think* it's a hoogle instance indexing stackage |
| 19:23:13 | → | Midjak joins (~Midjak@82.66.147.146) |
| 19:23:20 | <geekosaur> | (hoogle.haskell.org also indexes Stackage LTS but provides other databases as options) |
| 19:23:47 | <jean-paul[m]> | I did also try some searches for stripe modules, like Web.Stripe.Types, but it doesn't return results for those either. So I guess the Hoogle part isn't working so well. |
| 19:24:09 | <kuribas> | I could make a TH function to abstract this away... |
| 19:24:42 | × | lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Remote host closed the connection) |
| 19:24:46 | × | vglfr quits (~vglfr@145.224.94.16) (Read error: Connection reset by peer) |
| 19:24:58 | → | vglfr joins (~vglfr@145.224.94.16) |
| 19:25:19 | <lyle> | What does the ":@" mean in "toMock :: Eq1 r => Model r -> Cmd :@ r -> Cmd MHandle"? |
| 19:25:24 | → | johnjaye joins (~pi@173.209.64.74) |
| 19:25:25 | → | lambdabot joins (~lambdabot@silicon.int-e.eu) |
| 19:25:25 | × | lambdabot quits (~lambdabot@silicon.int-e.eu) (Changing host) |
| 19:25:25 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 19:25:50 | <lyle> | Just the name of the extension or something to base a google search on? |
| 19:25:56 | <geekosaur> | lyle, : prefix marks an infix constructor name |
| 19:26:16 | <lyle> | geekosaur: thanks! |
| 19:26:19 | <geekosaur> | so something has a type constructor named :@ |
| 19:27:14 | → | checkum joins (~checkum@136.22.79.3) |
| 19:27:44 | × | checkum quits (~checkum@136.22.79.3) (Read error: Connection reset by peer) |
| 19:27:48 | <geekosaur> | hoogle shows me a number of possibilities but I don't know which of them might be relevant |
| 19:31:42 | → | checkum joins (~checkum@2607:fb90:581:a215:c12e:2477:e1f6:4d9f) |
| 19:32:20 | → | desophos[m] joins (~desophosm@2001:470:69fc:105::2:81d9) |
| 19:33:44 | → | slac51150 joins (~slack1256@191.126.99.210) |
| 19:35:06 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:7822:482b:3ba1:f27f) (Ping timeout: 260 seconds) |
| 19:35:09 | × | fserucas quits (~fserucas@2001:818:e376:a400:fb92:70c1:dd88:c7d7) (Quit: Leaving) |
| 19:36:01 | × | slack1256 quits (~slack1256@186.11.84.213) (Ping timeout: 250 seconds) |
| 19:36:22 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 19:37:45 | → | Techcable joins (~Techcable@user/Techcable) |
| 19:40:01 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 19:40:58 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 19:41:38 | → | pavonia joins (~user@user/siracusa) |
| 19:42:03 | → | td_ joins (~td@muedsl-82-207-238-033.citykom.de) |
| 19:43:11 | × | checkum quits (~checkum@2607:fb90:581:a215:c12e:2477:e1f6:4d9f) (Read error: Connection reset by peer) |
| 19:45:04 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds) |
| 19:46:16 | → | coot joins (~coot@213.134.176.158) |
| 19:49:06 | × | wonko quits (~wjc@2a0e:1c80:11::50) (Ping timeout: 260 seconds) |
| 19:49:11 | → | Tuplanolla joins (~Tuplanoll@91-159-69-34.elisa-laajakaista.fi) |
| 19:51:06 | × | cacke quits (~cacke@mainpc.lha.sgsnet.se) (Quit: Client closed) |
| 19:52:23 | × | kuribas quits (~user@ptr-17d51eni125c2awwl05.18120a2.ip6.access.telenet.be) (Remote host closed the connection) |
| 19:52:54 | <jean-paul[m]> | I "wrote" this code today - https://github.com/PrivateStorageio/servant-prometheus/pull/2/files#diff-3c8b3c0ac5f2136f9d1fcb2c337163fc2daf17cf1a4773e75fe5fd42826e8db5R135-R146 - but I don't really understand it. For example, how can that `getEndpoints` return a value including `method`? Isn't `method` a type-level variable? |
| 19:53:41 | × | gay9 quits (~quassel@94-168-123-190.static.v4.ziggozakelijk.nl) (Ping timeout: 268 seconds) |
| 19:54:26 | → | gay9 joins (~quassel@94-168-123-190.static.v4.ziggozakelijk.nl) |
| 19:54:54 | → | zebrag joins (~chris@user/zebrag) |
| 19:55:09 | × | lyle quits (~lyle@104.246.145.85) (Quit: WeeChat 3.6) |
| 19:56:51 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 19:59:33 | → | titibandit joins (~titibandi@xdsl-87-78-162-143.nc.de) |
| 20:00:24 | × | chomwitt quits (~chomwitt@2a02:587:dc05:1e00:dae7:5838:d509:e103) (Ping timeout: 264 seconds) |
| 20:06:03 | <geekosaur> | jean-paul[m], type and value level namespaces are distinct, so the `method` defined in the `where` clause is only related to the one at type level by that being used with `Proxy :: Proxy method` |
| 20:06:39 | <jean-paul[m]> | Oh man. And there's a where clause right below defining it at the value level. |
| 20:06:54 | <geekosaur> | right |
| 20:07:02 | <jean-paul[m]> | How embarrassing. Thanks. |
| 20:07:35 | <geekosaur> | this confuses people enough that it's often considered a bad idea to define the same name at both type and value level |
| 20:09:39 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 20:10:27 | × | coot quits (~coot@213.134.176.158) (Ping timeout: 265 seconds) |
| 20:12:36 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 20:14:11 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 20:14:15 | × | toeffel quits (~toeffel@user/toeffel) (Quit: quit) |
| 20:25:32 | → | epolanski joins (uid312403@id-312403.helmsley.irccloud.com) |
| 20:27:14 | → | checkum joins (~checkum@172.58.19.60) |
| 20:29:20 | × | wolfshappen quits (~waff@irc.furworks.de) (Quit: later) |
| 20:29:47 | × | zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!) |
| 20:30:10 | ← | janus parts (janus@anubis.0x90.dk) () |
| 20:31:55 | → | codaraxis joins (~codaraxis@user/codaraxis) |
| 20:36:48 | <zzz> | i always wondered why data constructors are uppercase |
| 20:37:12 | <zzz> | but i guess it's usefull to signal that no "smart constructury" things are going on when using them |
| 20:37:23 | <geekosaur> | so pattern matching can tell the difference between a constructor (for structure) vs. a variable binding |
| 20:38:20 | <zzz> | geekosaur: ah that makes sense. my personal style is to use | x <- whatever (pattern guards) everywhere so i don't even considered that |
| 20:39:40 | × | checkum quits (~checkum@172.58.19.60) (Read error: Connection reset by peer) |
| 20:40:02 | → | jero98772 joins (~jero98772@2800:484:1d80:d8ce:3490:26c5:1782:da8c) |
| 20:41:29 | <zzz> | but in that case; parenthesis could disambiguate it anyways. `f (just x) = ...` vs `f just x = ...` |
| 20:42:17 | <zzz> | i mean, nothing |
| 20:42:31 | <zzz> | whatever |
| 20:42:36 | <zzz> | time to take a break |
| 20:42:38 | <geekosaur> | foo (Left x) vs. foo (Right x) |
| 20:42:54 | <geekosaur> | vs. foo (Left Nothing) |
| 20:43:08 | <zzz> | yeah i see it now |
| 20:44:25 | × | titibandit quits (~titibandi@xdsl-87-78-162-143.nc.de) (Remote host closed the connection) |
| 20:45:48 | → | cacke joins (~cacke@mainpc.lha.sgsnet.se) |
| 20:48:40 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 20:49:09 | → | LukeHoersten joins (~LukeHoers@user/lukehoersten) |
| 20:50:08 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 20:54:07 | × | jero98772 quits (~jero98772@2800:484:1d80:d8ce:3490:26c5:1782:da8c) (Ping timeout: 268 seconds) |
| 20:54:35 | × | zmt00 quits (~zmt00@user/zmt00) (Quit: Leaving) |
| 20:54:55 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 20:55:13 | → | checkum joins (~checkum@172.58.22.205) |
| 20:55:26 | → | jero98772 joins (~jero98772@2800:484:1d80:d8ce:3490:26c5:1782:da8c) |
| 20:57:06 | × | checkum quits (~checkum@172.58.22.205) (Read error: Connection reset by peer) |
| 21:01:41 | × | dawdler quits (035b60b5aa@user/dawdler) (Remote host closed the connection) |
| 21:01:45 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 21:02:33 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 21:02:35 | → | dawdler joins (~dawdler@user/dawdler) |
| 21:05:13 | × | cacke quits (~cacke@mainpc.lha.sgsnet.se) (Quit: Ping timeout (120 seconds)) |
| 21:12:08 | × | LukeHoersten quits (~LukeHoers@user/lukehoersten) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 21:14:29 | → | mixphix joins (~cigsender@74.124.58.162) |
| 21:20:04 | × | stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 258 seconds) |
| 21:22:55 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 21:23:01 | × | gay9 quits (~quassel@94-168-123-190.static.v4.ziggozakelijk.nl) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 21:23:04 | → | cacke joins (~cacke@mainpc.lha.sgsnet.se) |
| 21:23:13 | cacke | is now known as wah |
| 21:23:56 | wah | is now known as guest1234567 |
| 21:24:30 | × | guest1234567 quits (~cacke@mainpc.lha.sgsnet.se) (Client Quit) |
| 21:24:38 | → | jrm joins (~jrm@user/jrm) |
| 21:25:01 | → | gay9 joins (~quassel@94-168-123-190.static.v4.ziggozakelijk.nl) |
| 21:25:28 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 21:27:14 | → | checkum joins (~checkum@172.58.22.205) |
| 21:30:12 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 21:36:18 | × | jrm quits (~jrm@user/jrm) (Quit: ciao) |
| 21:37:33 | → | jrm joins (~jrm@user/jrm) |
| 21:38:15 | × | checkum quits (~checkum@172.58.22.205) (Read error: Connection reset by peer) |
| 21:38:41 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 21:44:35 | × | dawdler quits (~dawdler@user/dawdler) (Quit: leaving) |
| 21:45:42 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 21:47:01 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 21:50:07 | → | checkum joins (~checkum@2607:fb90:581:a215:c12e:2477:e1f6:4d9f) |
| 22:00:15 | → | wonko joins (~wjc@2a0e:1c80:11::50) |
| 22:06:04 | × | jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 258 seconds) |
| 22:06:45 | → | jpds1 joins (~jpds@gateway/tor-sasl/jpds) |
| 22:07:00 | × | wonko quits (~wjc@2a0e:1c80:11::50) (Ping timeout: 264 seconds) |
| 22:09:03 | → | cacke joins (~cacke@mainpc.lha.sgsnet.se) |
| 22:09:05 | → | nate1 joins (~nate@98.45.169.16) |
| 22:09:16 | → | mikess joins (~sam@user/mikess) |
| 22:09:51 | × | acidjnk_new quits (~acidjnk@p200300d6e7137a753c140bcb17afb1cf.dip0.t-ipconnect.de) (Ping timeout: 250 seconds) |
| 22:10:44 | × | ell quits (~ellie@user/ellie) (Quit: Ping timeout (120 seconds)) |
| 22:11:00 | → | ell joins (~ellie@user/ellie) |
| 22:11:00 | × | mixphix quits (~cigsender@74.124.58.162) (Quit: Lost terminal) |
| 22:11:28 | × | megaTherion quits (~therion@unix.io) (Quit: ZNC 1.8.2 - https://znc.in) |
| 22:11:37 | <slac51150> | Is my idea or `+RTS -xc` block stdout? |
| 22:11:38 | → | megaTherion joins (~therion@unix.io) |
| 22:14:21 | × | nate1 quits (~nate@98.45.169.16) (Ping timeout: 260 seconds) |
| 22:16:30 | <monochrom> | I don't understand the question. |
| 22:17:08 | × | rekahsoft quits (~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca) (Ping timeout: 244 seconds) |
| 22:17:28 | <checkum> | System.out.println("putStrLn \"hello, world\""); |
| 22:18:06 | <slac51150> | ./binary +RTS -xc --RTS should have the normal binary output on STDOUT and the "stack traces" on STDERR as I understand it. But it seems that no output is sent to STDOUT. |
| 22:20:04 | <monochrom> | worksforme cannotreproduce |
| 22:20:31 | × | srk quits (~sorki@user/srk) (Ping timeout: 268 seconds) |
| 22:21:05 | <smol-hors> | checkum: public class HaskellProgramFactory {? |
| 22:21:48 | <checkum> | let id x = x |
| 22:23:13 | <geekosaur> | slac51150, how are you determining this? |
| 22:23:19 | <checkum> | once upon a time I wrote a botnet client in Haskell, to flex my brain muscles (I was 16, bonnet never deployed) |
| 22:23:25 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 22:24:11 | <checkum> | I actually encountered a runtime error using the network library (runtime errors rarely occur in Haskell, with the exception of blatant negligence) |
| 22:24:30 | → | srk joins (~sorki@user/srk) |
| 22:24:32 | × | slac51150 quits (~slack1256@191.126.99.210) (Remote host closed the connection) |
| 22:24:37 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 22:24:39 | <geekosaur> | … |
| 22:24:43 | <checkum> | I posted a question of Stack overflow, and someone found the answer I was looking for. |
| 22:25:16 | <checkum> | then I read about Ross Ulbricht, founder of the Silk Road, and discovered how he was exploited by the US feds |
| 22:25:23 | <checkum> | then I thought, oh shit |
| 22:25:41 | <checkum> | privacy is extremely difficult |
| 22:25:44 | <int-e> | this seems rather random |
| 22:26:02 | <int-e> | In any case, types don't save you from network errors. |
| 22:26:59 | <checkum> | this wasn't your typical runtime error... |
| 22:27:02 | <geekosaur> | network *has* been a fertile source of inappropriate "unsafe" FFI calls |
| 22:27:34 | <sm> | jean-paul.: re "I guess the Hoogle part isn't working so well." - see that link I mentioned on the stackage hoogle results: "Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more." It's showing results for lts 19.23. And if you search the page of https://www.stackage.org/lts-19.23 you'll see stripe-core is no longer in that snapshot. |
| 22:28:27 | <int-e> | Oh no... is it "because 'unsafe' makes code faster"... *sigh* |
| 22:28:28 | <geekosaur> | sm, that just brings back the original question though: how was stack finding it? |
| 22:29:10 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 22:29:29 | <sm> | I'm unclear on the original question, but stack will happily install (compatible) packages from hackage if you ask it to, does that answer it ? |
| 22:29:50 | <monochrom> | Yamamoto is a very knowledgeable and responsible person, I don't think he would do FFI or "unsafe" recklessly. |
| 22:30:34 | <monochrom> | Or at least s/think/believe/ |
| 22:30:55 | <sm> | geekosaur: did you mean "I can't find stripe-core in https://www.stackage.org/lts-18.28 but after updating my stack.yaml to 18.28, I don't need stripe-core in extra-deps anymore. What's going on?" ? |
| 22:31:04 | <geekosaur> | sm, yes |
| 22:31:11 | × | srk quits (~sorki@user/srk) (Ping timeout: 252 seconds) |
| 22:31:14 | <sm> | stripe-core is in lts-18.28. But not in lts-19.23 |
| 22:31:56 | <sm> | and the stackage hoogle searches only the latter. And presents the results in a confusing way |
| 22:33:02 | → | wonko joins (~wjc@2a0e:1c80:11::50) |
| 22:33:52 | <checkum> | https://stackoverflow.com/questions/14172149/haskell-socks5-refusing-to-connect |
| 22:35:27 | <sm> | jean-paul. and anticipating your next question, it was removed because https://github.com/commercialhaskell/stackage/blob/master/build-constraints.yaml#L7041 |
| 22:36:29 | <geekosaur> | checkum, ah yes. and PortNum has been deprecated in newer versions of network as a result |
| 22:37:21 | → | srk joins (~sorki@user/srk) |
| 22:37:38 | <checkum> | see! not the typical runtime error 😉 at the time I was sho ked that my program would compile but would not run. also bamboozled by the solution, which was so simple, and my overcomplexity |
| 22:38:20 | <geekosaur> | what you weren't tiold is this goes all the way down to the C layer, which requires network byte order for a *host* operation. it's stupid |
| 22:38:31 | × | mikoto-chan quits (~mikoto-ch@164.5.249.78) (Ping timeout: 252 seconds) |
| 22:38:44 | × | perdent quits (~perdent@101.175.158.254) (Quit: Client closed) |
| 22:38:49 | <geekosaur> | if the kernel needs to have it in network byte order, let that convert it |
| 22:39:03 | <checkum> | byte order as in, a Unix vs Windows convention? |
| 22:39:17 | <geekosaur> | a CPU convention. |
| 22:39:30 | <checkum> | ah geez |
| 22:39:38 | <monochrom> | 8086 vs 68000 convention |
| 22:39:42 | <geekosaur> | originally 68020 vs. VAX |
| 22:40:14 | <geekosaur> | but continuing these days because the 68020 convention was what got standardized in the late 70s |
| 22:40:15 | darkling | cracks his eggs at the little end. |
| 22:41:33 | <geekosaur> | but, again, this stupidly got exposed at the layer of host operations. fine, wire conventions are big-endian, but the host OS should do that conversion, not the user-level programmer! |
| 22:41:50 | × | Tuplanolla quits (~Tuplanoll@91-159-69-34.elisa-laajakaista.fi) (Quit: Leaving.) |
| 22:42:21 | × | Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep) |
| 22:47:28 | → | mikoto-chan joins (~mikoto-ch@164.5.249.78) |
| 22:50:01 | <jean-paul[m]> | sm: aha. joy. I suppose I'll be re-adding extra deps someday, then :) |
| 22:50:45 | <sm> | or it might get back into stackage by then |
| 22:51:16 | <jean-paul[m]> | :) |
| 22:51:26 | <jean-paul[m]> | I'll just carefully time to upgrades to coincide with LTSs that have it |
| 22:52:00 | <sm> | your extra-deps should be customised for the resolver you're using, no big deal |
| 22:54:35 | <jackdk> | This all feels like a self-inflicted problem. What is stack getting you here? |
| 22:55:13 | <sm> | easy reproducibility |
| 22:55:22 | × | bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 244 seconds) |
| 22:58:54 | <cacke> | I really dont understand randomness, so haskell needs some inital data that determines randomness yea? so, lets say i have a function that takes a list of integers as input, and a list of numbers type Double (0-1), say i want to pick a random integer and move it to another list, what do i do? given a number between 0 and 1, how will the function |
| 22:58:54 | <cacke> | know what integer to pick and move? |
| 22:59:22 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 23:02:21 | <hpc> | it works the same as other languages |
| 23:02:27 | <jackdk> | There's some stuff in your question that doesn't really make sense in a pure language, like "move it to another list". Are you able to have another go at describing your problem? Maybe at a higher level, or by writing the type signatures that you think you want? |
| 23:02:44 | <hpc> | the initial input to the rng might be say, the current time |
| 23:02:48 | × | wonko quits (~wjc@2a0e:1c80:11::50) (Ping timeout: 264 seconds) |
| 23:03:06 | <hpc> | you can do a bit of math to change a continuous 0-1 range into an integer 0-n range |
| 23:03:14 | <hpc> | or let the library do it for you, there's some functions for that |
| 23:03:38 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 23:05:11 | × | ubert quits (~Thunderbi@77.119.210.120.wireless.dyn.drei.com) (Ping timeout: 244 seconds) |
| 23:06:38 | → | wolfshappen joins (~waff@irc.furworks.de) |
| 23:07:22 | <cacke> | remove it from the current list and add it to a new list |
| 23:07:58 | <jackdk> | You will probably want to return a pair of "old list without the selected element" and "selected element" or something |
| 23:09:43 | × | cowboy8625 quits (~cowboy@96-2-208-2-static.midco.net) (Quit: WeeChat 3.5) |
| 23:12:52 | <cacke> | the problem is that i need a random element and idk how :c |
| 23:23:21 | → | tremon joins (~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) |
| 23:25:35 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 23:27:04 | × | wz1000 quits (~zubin@static.11.113.47.78.clients.your-server.de) (Ping timeout: 268 seconds) |
| 23:29:22 | <jackdk> | You will either need to take in a random generator as input (and return the new generator with your other outputs) or make your function an IO action (i.e. return `IO (listwithoutelement, element)`) |
| 23:31:12 | → | tvandinther joins (~tvandinth@2404:4408:8740:3800:cd40:56c8:fd06:acd0) |
| 23:31:38 | → | VictorHugenay joins (~jh@user/VictorHugenay) |
| 23:32:13 | × | VictorHugenay quits (~jh@user/VictorHugenay) (Client Quit) |
| 23:32:50 | <monochrom> | Every computer needs initialization for pseudo-random generators. And yes it's pseudo only. Some languages hide this fact away. |
| 23:33:01 | <cacke> | my function takes in numbers (type Double) between 0 and 1 as its first input and a list as second input. but idk how to make it pick a random element depending on the number?? |
| 23:33:12 | <cacke> | i just dont know what to do from there |
| 23:33:55 | <hpc> | well, what random input might correspond to the first element of the list? |
| 23:33:56 | <tvandinther> | Hi, how can I load all modules into stack ghci? (Not just exported members) |
| 23:34:08 | <hpc> | say there's... 4 elements in the list |
| 23:34:33 | <jackdk> | your function (because it is a pure function) cannot initialise a random generator inside itself because that will make it do the same thing every time you call it with the same args - not random. You have two options (roughly): accept a random generator as a first argument, or return an IO action |
| 23:34:57 | <monochrom> | Is this homework? Supposedly, homework has sufficient tied-in class material. |
| 23:35:39 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 23:35:42 | <geekosaur> | tvandinther, you have to arrange for them to be bytecode-compiled. binary compiled modules have lost the information about non-exported functions and can't get it back |
| 23:36:33 | <geekosaur> | with raw ghci you can :load or :add a module with a leading asterisk to force bytecode compilation (:add *Foo.Bar). I don't know how you do it with stack ghci |
| 23:39:14 | <cacke> | hpc what do you mean? |
| 23:39:53 | <hpc> | or, alternate question |
| 23:40:03 | <hpc> | i have a list [a, b, c, d] |
| 23:40:10 | <hpc> | and the random number generator spits out 0.65 |
| 23:40:13 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds) |
| 23:40:15 | <hpc> | which element do i move? |
| 23:40:56 | <cacke> | idk. thats what im trying to find out ;_; |
| 23:41:12 | × | Colere quits (~colere@about/linux/staff/sauvin) (Ping timeout: 264 seconds) |
| 23:41:37 | <hpc> | easier question, say it spits out 0.00 |
| 23:41:41 | <hpc> | or 1.00 |
| 23:41:58 | <monochrom> | Do you realize you just have to cut up the interval [0,1] into 4 equal parts. |
| 23:42:25 | <geekosaur> | hpc is not asking the question you think he is |
| 23:42:30 | → | henninb joins (~henninb@97-116-154-134.mpls.qwest.net) |
| 23:42:33 | <monochrom> | Or n equal parts if your are selecting one out of n things. |
| 23:42:46 | <geekosaur> | he's assuming you have the random number already. now, how do you use it? |
| 23:43:23 | <monochrom> | We are all assuming that. It is now given that a Double parameter in the [0,1] interval is received. |
| 23:44:24 | <monochrom> | At which point the "knowledge" that the received number is "random" becomes actually confusing. |
| 23:44:59 | <hpc> | ah yeah, forget all the randomness for a second |
| 23:45:05 | <hpc> | that function that just takes in a number and a list |
| 23:45:25 | <hpc> | imagine putting stuff into that function by hand just to see what happens |
| 23:45:44 | <monochrom> | The secondary knowledge, though, about uniform distributions is the key. |
| 23:46:23 | <monochrom> | Every uniform distribution is pure, and mapping one uniform distribution to another is also pure. |
| 23:46:42 | × | tremon quits (~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 23:47:29 | <monochrom> | Perhaps we need to begin with measure theory. |
| 23:48:02 | <cacke> | i'm so confused |
| 23:48:37 | <hpc> | let's get even simpler? |
| 23:48:41 | <monochrom> | Oh, probability is usually taught confusingly. |
| 23:48:43 | <hpc> | say i give your function the number 0.5 |
| 23:48:46 | <hpc> | and the list [1] |
| 23:49:57 | × | jero98772 quits (~jero98772@2800:484:1d80:d8ce:3490:26c5:1782:da8c) (Ping timeout: 250 seconds) |
| 23:51:43 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::875a) |
| 23:53:10 | × | checkum quits (~checkum@2607:fb90:581:a215:c12e:2477:e1f6:4d9f) (Read error: Connection reset by peer) |
| 23:54:10 | → | checkum joins (~checkum@2604:ca00:1f9:4a43::1260:e530) |
| 23:59:26 | → | Colere joins (~colere@about/linux/staff/sauvin) |
| 23:59:35 | <Axman6> | Does anyone have a particularly good article which introduces the Reader monad? Looking at you monochrom as you know all the best things for teaching =) |
All times are in UTC on 2022-09-15.