Home liberachat/#haskell: Logs Calendar

Logs on 2022-05-23 (liberachat/#haskell)

00:01:27 × alp quits (~alp@user/alp) (Ping timeout: 240 seconds)
00:06:09 mvk joins (~mvk@2607:fea8:5ce3:8500::ba9a)
00:06:52 abiss27 joins (~abiss27@user/abiss)
00:09:45 alp joins (~alp@user/alp)
00:19:04 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 240 seconds)
00:21:07 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
00:21:21 × derelict quits (~derelict@user/derelict) (Quit: bye)
00:21:25 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 246 seconds)
00:24:10 derelict joins (~derelict@user/derelict)
00:24:17 kitty1 joins (~kitty@096-039-147-043.res.spectrum.com)
00:38:33 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
00:38:55 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 246 seconds)
00:39:48 Lord_of_Life_ is now known as Lord_of_Life
00:49:42 off^ joins (~off@c-24-126-228-147.hsd1.ga.comcast.net)
01:04:26 <hololeap> since Monoid was split into Semigroup/Monoid, I don't see why the same shouldn't be done for Apply/Applicative
01:06:06 <hololeap> personally, I don't find Pointed to be that important or useful
01:07:02 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
01:07:07 <hololeap> I also am curious if an ApplyDo extension would be possible
01:10:40 <hololeap> brb
01:10:43 × hololeap quits (~hololeap@user/hololeap) (Quit: Bye)
01:12:54 tessier joins (~treed@98.171.210.130)
01:13:08 frost joins (~frost@user/frost)
01:13:31 <jackdk> `Pointed` doesn't seem that useful, since I'm not aware of any good laws for it. You sometimes see `Applicative` play that role, e.g. `(==>)` in https://hackage.haskell.org/package/dependent-sum
01:16:29 × Unicorn_Princess quits (~Unicorn_P@93-103-228-248.dynamic.t-2.net) (Quit: Leaving)
01:19:11 <Bulby[m]> can I get a generic instance from a GADT without pain
01:19:27 × tessier quits (~treed@98.171.210.130) (Quit: leaving)
01:19:47 tessier joins (~treed@98.171.210.130)
01:21:05 × dolio quits (~dolio@130.44.130.54) (Quit: ZNC 1.8.2 - https://znc.in)
01:21:55 dolio joins (~dolio@130.44.130.54)
01:21:58 × iqubic quits (~iqubic@2601:602:9502:c70:922d:79af:4ac2:afe3) (Ping timeout: 252 seconds)
01:24:22 × alp quits (~alp@user/alp) (Ping timeout: 260 seconds)
01:25:25 × kenaryn quits (~aurele@89-88-44-27.abo.bbox.fr) (Quit: leaving)
01:25:57 kenaryn joins (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr)
01:40:19 × kenaryn quits (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr) (Quit: leaving)
01:40:36 kenaryn joins (~aurele@89-88-44-27.abo.bbox.fr)
01:40:42 hololeap joins (~hololeap@user/hololeap)
01:40:53 × dolio quits (~dolio@130.44.130.54) (Quit: ZNC 1.8.2 - https://znc.in)
01:42:01 jmcarthur joins (~jmcarthur@c-73-29-224-10.hsd1.nj.comcast.net)
01:42:11 dolio joins (~dolio@130.44.130.54)
01:44:08 × kenaryn quits (~aurele@89-88-44-27.abo.bbox.fr) (Client Quit)
01:48:54 × YoungFrog quits (~youngfrog@2a02:a03f:c21b:f900:3182:11b3:8829:1e63) (Quit: ZNC 1.7.x-git-3-96481995 - https://znc.in)
01:49:13 YoungFrog joins (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be)
01:49:49 andrey__ joins (~andrey@p200300dbcf0986008b4668e560f4c52f.dip0.t-ipconnect.de)
01:53:08 × andrey_ quits (~andrey@p200300dbcf4855005f41c91a08d0b9aa.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
01:59:02 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 244 seconds)
02:03:59 × lemonsnicks quits (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) (Quit: ZNC 1.8.2 - https://znc.in)
02:04:35 × jmcarthur quits (~jmcarthur@c-73-29-224-10.hsd1.nj.comcast.net) (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
02:05:08 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
02:08:59 × off^ quits (~off@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 256 seconds)
02:09:06 notzmv joins (~zmv@user/notzmv)
02:14:06 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 276 seconds)
02:16:10 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
02:16:43 EvanR_ joins (~EvanR@user/evanr)
02:17:22 × EvanR_ quits (~EvanR@user/evanr) (Client Quit)
02:17:30 off^ joins (~off@c-24-126-228-147.hsd1.ga.comcast.net)
02:19:52 lemonsnicks joins (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net)
02:25:06 jargon joins (~jargon@174-22-206-112.phnx.qwest.net)
02:27:39 AlexNoo_ joins (~AlexNoo@94.233.241.107)
02:28:26 <energizer> in some languages you can do things like configuration settings for computations in a context. like in python you can probably set the rounding mode with a context manager `with`
02:28:42 <energizer> what's the haskelly version of that?
02:30:17 × AlexZenon quits (~alzenon@178.34.161.170) (Ping timeout: 260 seconds)
02:30:30 × Alex_test quits (~al_test@178.34.161.170) (Ping timeout: 240 seconds)
02:31:27 × AlexNoo quits (~AlexNoo@178.34.161.170) (Ping timeout: 260 seconds)
02:33:28 <jackdk> energizer: Passing arguments to functions. When doing this by hand becomes too tiresome, automating some of it by using a type like `newtype Reader r a = Reader (r -> a)` and giving it `Functor`/`Applicative`/`Monad` instances that thread the `r` for us. (`runReader :: Reader r a -> r -> a` is how you pass in the `r` for the whole computation.
02:33:56 AlexZenon joins (~alzenon@94.233.241.107)
02:34:30 <jackdk> The other use of `with` I remember from my Python days is things like `with open(..) as f:`, and we tend to use higher-order functions for that: `withFoo :: some -> args -> (foo -> x) -> x` or whatever
02:34:49 Alex_test joins (~al_test@94.233.241.107)
02:36:36 <energizer> ok
02:41:42 <jackdk> > :t withFile -- energizer : concrete example --v
02:41:44 <lambdabot> <hint>:1:1: error: parse error on input ‘:’
02:41:56 <jackdk> ah, lambdabot doesn't do :t
02:42:15 <jackdk> anyway, energizer: `withFile :: FilePath -> IOMode -> (Handle -> IO r) -> IO r` is a concrete example
02:43:33 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
02:44:49 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
02:50:25 ensyd joins (~ensyd@2600:1700:2050:1040:5c50:f8af:f694:5fda)
02:50:45 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
02:53:04 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
02:53:19 <EvanR> specifically the rounding mode might be tough
02:53:48 <EvanR> is that per-OS-thread or
02:55:03 × ensyd quits (~ensyd@2600:1700:2050:1040:5c50:f8af:f694:5fda) (Quit: Leaving)
02:55:23 × abiss27 quits (~abiss27@user/abiss) (Quit: hasta la vista... tchau!)
02:56:33 _PSY_ joins (~PSY@2600:1700:2050:1040:5c50:f8af:f694:5fda)
02:56:34 <energizer> it's a "context variable" in python, which is a thread or more generally "task" (in async land)
02:57:55 <energizer> i'm guessing python inherits this from some 1980s fortran interpretation of ieee 754
02:58:35 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:58:35 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:58:35 finn_elija is now known as FinnElija
02:58:41 hololeap joins (~hololeap@user/hololeap)
02:59:20 <energizer> The context is defined by the following parameters: precisionhttp://speleotrove.com/decimal/damodel.html rounding flags and trap-enablers
02:59:42 <energizer> oops. http://speleotrove.com/decimal/damodel.html The context is defined by the following parameters: precision, rounding, flags, and trap-enablers
02:59:56 <dolio> Doing things that way isn't going to be very nicely behaved.
03:00:18 <dolio> They're stateful flags that affect results of supposedly pure functions.
03:02:13 <dolio> Probably fine if you only set them once, but if you're switching them around frequently, then that could lead to problems.
03:02:55 <energizer> roundTo' takes the rounding mode as an argument
03:09:02 × sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Remote host closed the connection)
03:09:57 × shapr quits (~user@pool-173-73-44-186.washdc.fios.verizon.net) (Ping timeout: 260 seconds)
03:14:31 <Axman6> quick uniz question, is there an easy way to find a file which contains two strings anywhere within them?
03:15:30 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 244 seconds)
03:16:07 <Axman6> unix even
03:16:20 <jackdk> grep -l for each pattern, sort and combine file lists with comm?
03:16:31 <jackdk> dunno about unizzzzzz, only GNU/Linux
03:19:09 <dragestil> why is the dominant license of haskell packages bsd3?
03:19:31 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
03:19:58 <dragestil> when i tried some older versions of `cabal init` the default choice was also bsd3, why?
03:20:43 justsomeguy joins (~justsomeg@user/justsomeguy)
03:22:44 <sclv> bsd3 is the standard "pretty nonrestrictive license that indemnifies the producer of the library"
03:23:15 <sclv> its a very common choice for when people want to release open source software that doesn't make commercial use and modification difficult.
03:23:42 × dcleonarski quits (~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea) (Ping timeout: 272 seconds)
03:24:04 <dragestil> i see
03:24:10 <sclv> and its "more standard" than similar licenses than mit because largely of historical accident, but also arguably because of ghc's roots in academia
03:24:23 <sclv> s/than mit/like mit/
03:25:46 <dragestil> well i'm glad newer cabal-install does not default to it but lets people put their own in .cabal file
03:25:47 <sclv> in my experience there's almost always no particularly good reason that anyone would want to pick anything except either a gpl-family license (with strong free software/copyleft protection) or bsd.
03:26:31 <sclv> certain versions of cabal-install only "defaulted" because cabal init was made noninteractive by default, which turned out to be a very bad UI choice and was reverted
03:26:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
03:26:58 <sclv> the people who made that choice insisted it was "easier" and it was impossible to convince them that most users wanted to consciously pick at least a few things carefully
03:27:04 stoned is now known as Hash
03:27:14 <sclv> so a cabal version was released that had noninteractive init
03:27:17 <dragestil> oh I thought only interactive cabal init defaults to bsd
03:27:26 <sclv> and enough people yelled that it was changed
03:28:08 × kitty1 quits (~kitty@096-039-147-043.res.spectrum.com) (Ping timeout: 272 seconds)
03:28:36 <sclv> oh fair enough. noninteractive just leaves it blank
03:29:00 <sclv> and now it does have NONE as the "recommeneded" option instead of bsd.
03:29:11 <sclv> i suppose i mixed up to UI issues
03:29:15 <sclv> two UI issues
03:29:19 <dragestil> ok
03:29:30 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
03:29:45 <sclv> i don't remember a discussion over having a preferred license choice in cabal, maybe there's one somewhere in the tickets..
03:30:20 <jackdk> sclv: I see a bit of dual-licensed BSD-3-Clause and Apache-2.0 so people can have the patent protection if they want
03:30:44 <dragestil> would be interesting if there were such discussions
03:33:33 <jackdk> yes, especially with the new concerns about your creative output getting slurped up into some ML algo's training set
03:33:53 <hololeap> I always default to bsd-2, but that's mostly because I really don't understand all the legal stuff, and bsd-2 was presented as the most free and unrestricted
03:34:04 <sclv> oleg made the change, but looks like it was just a merge, not a pr (we don't do merges without prs anymore) so not much discussion https://github.com/haskell/cabal/commit/2fa83023606e89f933bfe0d8779ea805f44b08eb
03:34:53 <sclv> i think it was part of a general cleanup when we moved to use the official SPDX license format and list, while the old behavior was done sort of unthinkingly at the dawn of cabal
03:35:16 <dragestil> jackdk: i thought ms wouldn't care about the license of the training set if you are talking about copilot
03:35:36 <dragestil> I always default to agpl3+ because it offers best protection for the community
03:36:17 shapr joins (~user@pool-173-73-44-186.washdc.fios.verizon.net)
03:38:54 × mvk quits (~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 272 seconds)
03:46:14 vicfred joins (~vicfred@user/vicfred)
03:55:17 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 244 seconds)
03:55:18 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
04:01:59 × Flow quits (~none@gentoo/developer/flow) (Ping timeout: 240 seconds)
04:05:56 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
04:08:50 × justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 240 seconds)
04:15:08 yw5 joins (~yw@2.58.65.178)
04:15:54 × yw5 quits (~yw@2.58.65.178) (Client Quit)
04:20:30 steve[m] joins (~stevetrou@2001:470:69fc:105::e0b)
04:30:03 takuan joins (~takuan@178-116-218-225.access.telenet.be)
04:31:10 iqubic joins (~iqubic@2601:602:9502:c70:9f8f:3357:c54c:ede)
04:31:28 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
04:31:37 Lycurgus joins (~juan@user/Lycurgus)
04:36:28 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
04:39:37 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
04:41:02 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Exeunt)
04:42:35 chomwitt joins (~chomwitt@2a02:587:dc1e:cc00:8ece:d1c3:481c:8e10)
04:52:41 × zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection)
04:55:11 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
04:58:04 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 272 seconds)
04:58:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
04:58:50 × Kaiepi quits (~Kaiepi@156.34.47.253) (Ping timeout: 244 seconds)
05:09:11 zaquest joins (~notzaques@5.130.79.72)
05:10:31 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
05:16:55 × foul_owl quits (~kerry@23.82.193.87) (Ping timeout: 244 seconds)
05:21:33 phma joins (phma@2001:5b0:2172:f278:a6dd:b379:f2aa:e443)
05:21:35 coot joins (~coot@213.134.190.95)
05:25:34 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
05:32:04 foul_owl joins (~kerry@23.82.193.89)
05:34:15 × benin quits (~benin@183.82.31.141) (Ping timeout: 260 seconds)
05:35:25 benin joins (~benin@183.82.31.141)
05:36:02 × _PSY_ quits (~PSY@2600:1700:2050:1040:5c50:f8af:f694:5fda) (Quit: .)
05:36:30 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
05:42:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
06:00:45 _xor joins (~xor@72.49.198.103)
06:07:06 × mtjm quits (~mutantmel@2604:a880:2:d0::208b:d001) (*.net *.split)
06:07:06 × pierrot quits (~pi@user/pierrot) (*.net *.split)
06:07:06 × texasmynsted quits (~texasmyns@99.96.221.112) (*.net *.split)
06:07:06 × elmyr quits (sid3438@user/dy) (*.net *.split)
06:07:06 × flukiluke quits (~m-7humut@2603:c023:c000:6c7e:8945:ad24:9113:a962) (*.net *.split)
06:07:06 × ajb_ quits (~ajb@mimas.whatbox.ca) (*.net *.split)
06:07:06 × dragestil quits (~znc@user/dragestil) (*.net *.split)
06:07:06 × robertm quits (robertm@lattice.rojoma.com) (*.net *.split)
06:07:06 × hendi quits (sid489601@id-489601.lymington.irccloud.com) (*.net *.split)
06:07:06 × hook54321 quits (sid149355@user/hook54321) (*.net *.split)
06:07:06 × sclv quits (sid39734@haskell/developer/sclv) (*.net *.split)
06:07:06 × lisq quits (~quassel@lis.moe) (*.net *.split)
06:07:06 × danso quits (danso@danso.ca) (*.net *.split)
06:07:06 × Raito_Bezarius quits (~Raito@wireguard/tunneler/raito-bezarius) (*.net *.split)
06:07:06 × T_S_ quits (sid501726@id-501726.uxbridge.irccloud.com) (*.net *.split)
06:07:06 × caasih quits (sid13241@id-13241.ilkley.irccloud.com) (*.net *.split)
06:07:06 × SethTisue quits (sid14912@id-14912.ilkley.irccloud.com) (*.net *.split)
06:07:06 × AndreasK quits (sid320732@id-320732.uxbridge.irccloud.com) (*.net *.split)
06:07:06 × peutri quits (~peutri@bobo.desast.re) (*.net *.split)
06:07:06 × bbhoss quits (sid18216@id-18216.tinside.irccloud.com) (*.net *.split)
06:07:06 × aristid quits (sid1599@id-1599.uxbridge.irccloud.com) (*.net *.split)
06:07:06 × acertain quits (sid470584@id-470584.hampstead.irccloud.com) (*.net *.split)
06:07:06 × ProofTechnique quits (sid79547@id-79547.ilkley.irccloud.com) (*.net *.split)
06:07:06 × mrianbloom quits (sid350277@id-350277.ilkley.irccloud.com) (*.net *.split)
06:07:06 × teehemkay_ quits (sid14792@id-14792.lymington.irccloud.com) (*.net *.split)
06:07:06 × taktoa[c] quits (sid282096@id-282096.tinside.irccloud.com) (*.net *.split)
06:07:06 × hays quits (rootvegeta@fsf/member/hays) (*.net *.split)
06:07:06 × landonf quits (landonf@mac68k.info) (*.net *.split)
06:07:06 × PHO` quits (~pho@akari.cielonegro.org) (*.net *.split)
06:07:06 × greenbourne277 quits (~greenbour@2001:4b98:dc2:45:216:3eff:fe8a:bbf0) (*.net *.split)
06:07:06 × bastelfreak quits (~bastelfre@basteles-bastelknecht.bastelfreak.org) (*.net *.split)
06:07:06 × s4msung quits (iMiZICJOVw@user/s4msung) (*.net *.split)
06:07:06 × burakcank quits (~burakcank@has.arrived.and.is.ready-to.party) (*.net *.split)
06:07:06 × nonzen_ quits (~nonzen@user/nonzen) (*.net *.split)
06:07:06 × _\_ quits (~o@user/offon) (*.net *.split)
06:07:06 × edr quits (~edr@user/edr) (*.net *.split)
06:07:06 × kst quits (~krjst@2604:a880:800:c1::16b:8001) (*.net *.split)
06:07:06 × arkeet quits (~arkeet@moriya.ca) (*.net *.split)
06:07:06 × glowcoil quits (sid3405@id-3405.tinside.irccloud.com) (*.net *.split)
06:07:06 × NemesisD quits (sid24071@id-24071.lymington.irccloud.com) (*.net *.split)
06:07:06 × degraafk quits (sid71464@id-71464.lymington.irccloud.com) (*.net *.split)
06:07:06 × saolsen quits (sid26430@id-26430.lymington.irccloud.com) (*.net *.split)
06:07:06 × tnks quits (sid412124@id-412124.helmsley.irccloud.com) (*.net *.split)
06:07:06 × gregberns__ quits (sid315709@id-315709.helmsley.irccloud.com) (*.net *.split)
06:07:06 × bjobjo quits (~bjobjo@user/bjobjo) (*.net *.split)
06:07:06 × thebnq quits (~bnq@66-37-19-52.phx.onelemur.com) (*.net *.split)
06:07:06 × Hecate quits (~mariposa@user/hecate) (*.net *.split)
06:07:06 × emergence quits (emergence@2607:5300:60:5910:dcad:beff:feef:5bc) (*.net *.split)
06:07:15 peutri joins (~peutri@bobo.desast.re)
06:07:15 landonf joins (landonf@mac68k.info)
06:07:17 arkeet joins (arkeet@moriya.ca)
06:07:17 PHO` joins (~pho@akari.cielonegro.org)
06:07:17 ajb joins (~ajb@mimas.whatbox.ca)
06:07:18 SethTisue joins (sid14912@id-14912.ilkley.irccloud.com)
06:07:19 edr joins (~edr@enlo.co)
06:07:22 Hecate joins (~mariposa@user/hecate)
06:07:24 bjobjo joins (~bjobjo@user/bjobjo)
06:07:24 lisq joins (~quassel@lis.moe)
06:07:27 sclv joins (sid39734@haskell/developer/sclv)
06:07:30 teehemkay_ joins (sid14792@id-14792.lymington.irccloud.com)
06:07:30 aristid joins (sid1599@id-1599.uxbridge.irccloud.com)
06:07:31 glowcoil joins (sid3405@2a03:5180:f::d4d)
06:07:38 bastelfreak joins (~bastelfre@basteles-bastelknecht.bastelfreak.org)
06:07:38 greenbourne277 joins (~greenbour@2001:4b98:dc2:45:216:3eff:fe8a:bbf0)
06:07:38 robertm joins (robertm@lattice.rojoma.com)
06:07:40 gregberns__ joins (sid315709@2a03:5180:f:1::4:d13d)
06:07:48 michalz joins (~michalz@185.246.204.122)
06:07:48 emergence joins (emergence@2607:5300:60:5910:dcad:beff:feef:5bc)
06:07:48 mrianbloom joins (sid350277@2a03:5180:f:3::5:5845)
06:07:50 AndreasK joins (sid320732@2a03:5180:f:5::4:e4dc)
06:07:52 texasmynsted joins (~texasmyns@99.96.221.112)
06:07:56 bbhoss joins (sid18216@2a03:5180:f::4728)
06:08:05 Raito_Bezarius joins (~Raito@2a01:e0a:5f9:9681:a0a0:bb76:611f:9da7)
06:08:07 × edr quits (~edr@enlo.co) (Changing host)
06:08:07 edr joins (~edr@user/edr)
06:08:07 hays joins (rootvegeta@fsf/member/hays)
06:08:10 T_S_ joins (sid501726@2a03:5180:f:5::7:a7de)
06:08:10 tnks joins (sid412124@id-412124.helmsley.irccloud.com)
06:08:10 danso joins (danso@danso.ca)
06:08:11 taktoa[c] joins (sid282096@2a03:5180:f::4:4df0)
06:08:14 saolsen joins (sid26430@id-26430.lymington.irccloud.com)
06:08:16 NemesisD joins (sid24071@id-24071.lymington.irccloud.com)
06:08:16 ProofTechnique joins (sid79547@id-79547.ilkley.irccloud.com)
06:08:16 elmyr joins (sid3438@2a03:5180:f:1::d6e)
06:08:17 degraafk joins (sid71464@2a03:5180:f:2::1:1728)
06:08:19 caasih joins (sid13241@id-13241.ilkley.irccloud.com)
06:08:21 acertain joins (sid470584@id-470584.hampstead.irccloud.com)
06:08:23 hendi joins (sid489601@id-489601.lymington.irccloud.com)
06:08:29 × elmyr quits (sid3438@2a03:5180:f:1::d6e) (Changing host)
06:08:29 elmyr joins (sid3438@user/dy)
06:08:45 pierrot joins (~pi@user/pierrot)
06:08:46 flukiluke joins (~m-7humut@2603:c023:c000:6c7e:8945:ad24:9113:a962)
06:08:46 mtjm joins (~mutantmel@2604:a880:2:d0::208b:d001)
06:08:47 _\_ joins (~o@user/offon)
06:08:48 dragestil joins (~znc@user/dragestil)
06:08:48 nonzen joins (~nonzen@user/nonzen)
06:08:55 s4msung joins (anUIaa0rBw@user/s4msung)
06:09:34 hook54321 joins (sid149355@user/hook54321)
06:10:03 kst joins (~krjst@2604:a880:800:c1::16b:8001)
06:10:27 kitty1 joins (~kitty@096-039-147-043.res.spectrum.com)
06:10:30 burakcank joins (~burakcank@has.arrived.and.is.ready-to.party)
06:10:57 <markasoftware> Say I'm memoizing a function using a Map. Certain arguments to the function are illegal and will cause it to `error`, but such illegal arguments won't be provided during normal operation.
06:12:32 <markasoftware> actually let's say not a Map, just a list, using say `memoizeResults = map (myFn) [1..]`, then access results by doing `memoizeResults !! n`
06:12:57 <markasoftware> am I guaranteed that Haskell won't "optimize" my code and try to randomly evaluate certain elements of the list?
06:13:14 <markasoftware> ie, is laziness guaranteed
06:14:20 <markasoftware> but I can imagine that for example if my code reads a few contiguous elements, Haskell might think it can speed things up by preloading a few more elements, but that might read an element which causes an `error`
06:16:51 <opqdonut> yeah, you can rely on that
06:17:24 <opqdonut> (even if Haskell would do eager evaluation beforehand, it would not propagate the error until you try to "evaluate" the value, to ensure lazy _semantics_)
06:18:30 × gdd quits (~gdd@129.199.146.230) (*.net *.split)
06:18:30 × Ranhir quits (~Ranhir@157.97.53.139) (*.net *.split)
06:18:30 × ringo__ quits (~ringo@157.230.117.128) (*.net *.split)
06:18:30 × tapas quits (sid467876@id-467876.ilkley.irccloud.com) (*.net *.split)
06:18:30 × tritlo quits (sid58727@user/tritlo) (*.net *.split)
06:18:30 × gaze___ quits (sid387101@id-387101.helmsley.irccloud.com) (*.net *.split)
06:18:30 × pjlsergeant quits (sid143467@id-143467.hampstead.irccloud.com) (*.net *.split)
06:18:30 × h2t quits (~h2t@user/h2t) (*.net *.split)
06:18:30 × shane quits (~shane@ana.rch.ist) (*.net *.split)
06:18:30 × SIben quits (~SIben@ns3106586.ip-5-135-191.eu) (*.net *.split)
06:18:30 × robbert-vdh quits (~robbert@robbertvanderhelm.nl) (*.net *.split)
06:18:30 × polux quits (~polux@51-15-169-172.rev.poneytelecom.eu) (*.net *.split)
06:18:30 × andjjj23_ quits (~irc@107.170.228.47) (*.net *.split)
06:18:30 × sabx quits (~sabbas@user/sabbas) (*.net *.split)
06:18:30 × melonai quits (~mel@rnrd.eu) (*.net *.split)
06:18:30 × acacia quits (~alloca@user/suppi) (*.net *.split)
06:18:30 × micro quits (~micro@user/micro) (*.net *.split)
06:18:30 × ente quits (~daemon@inferno.barfooze.de) (*.net *.split)
06:18:30 × glider quits (~glider@user/glider) (*.net *.split)
06:18:37 SIben joins (~SIben@ns3106586.ip-5-135-191.eu)
06:18:40 ente joins (~daemon@inferno.barfooze.de)
06:18:40 shane joins (~shane@ana.rch.ist)
06:18:42 pjlsergeant joins (sid143467@id-143467.hampstead.irccloud.com)
06:18:43 micro joins (~micro@a9.lence.net)
06:18:44 × micro quits (~micro@a9.lence.net) (Changing host)
06:18:44 micro joins (~micro@user/micro)
06:18:45 melonai joins (~mel@rnrd.eu)
06:18:48 gaze___ joins (sid387101@id-387101.helmsley.irccloud.com)
06:18:48 tapas joins (sid467876@id-467876.ilkley.irccloud.com)
06:18:58 Ranhir joins (~Ranhir@157.97.53.139)
06:18:59 sabx joins (~sabbas@user/sabbas)
06:19:02 polux joins (~polux@51-15-169-172.rev.poneytelecom.eu)
06:19:02 acacia joins (~alloca@2a03:4000:f:7ca:7407:d1ff:fe34:8cd0)
06:19:02 × acacia quits (~alloca@2a03:4000:f:7ca:7407:d1ff:fe34:8cd0) (Signing in (acacia))
06:19:02 acacia joins (~alloca@user/suppi)
06:19:14 h2t joins (~h2t@user/h2t)
06:19:22 glider joins (~glider@user/glider)
06:19:24 tritlo joins (sid58727@user/tritlo)
06:19:26 ringo__ joins (~ringo@157.230.117.128)
06:19:27 andjjj23_ joins (~irc@107.170.228.47)
06:19:35 robbert-vdh joins (~robbert@robbertvanderhelm.nl)
06:19:38 gdd joins (~gdd@129.199.146.230)
06:21:14 cfricke joins (~cfricke@user/cfricke)
06:23:00 × Sgeo_ quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
06:26:58 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
06:28:52 × statusbot quits (~statusbot@ec2-34-198-122-184.compute-1.amazonaws.com) (Remote host closed the connection)
06:29:06 statusbot joins (~statusbot@ec2-34-198-122-184.compute-1.amazonaws.com)
06:30:37 × hololeap quits (~hololeap@user/hololeap) (Excess Flood)
06:31:23 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
06:31:39 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
06:32:34 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
06:33:07 × jargon quits (~jargon@174-22-206-112.phnx.qwest.net) (Ping timeout: 246 seconds)
06:33:25 jakalx joins (~jakalx@base.jakalx.net)
06:34:55 jpds joins (~jpds@gateway/tor-sasl/jpds)
06:36:11 hololeap joins (~hololeap@user/hololeap)
06:42:58 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
06:45:42 acidjnk joins (~acidjnk@p200300d0c7068b30946f0a093f217873.dip0.t-ipconnect.de)
06:50:07 <EvanR> markasoftware, haskell can only "evaluate ahead of time on your behalf" if it can determine it won't change non-strict semantics. I.e. crashing or freezing on something you don't need to evaluate would be illegal
06:51:09 jgeerds joins (~jgeerds@d53604b0.access.ecotel.net)
06:51:16 <EvanR> what described does happen in clojure... you just want to take the first element of a stream, but it evaluates like 16 elements anyway "for speed"
06:51:37 <EvanR> which could cause an unexpected exception
06:53:00 gehmehgeh joins (~user@user/gehmehgeh)
06:57:26 lortabac joins (~lortabac@2a01:e0a:541:b8f0:241a:a3fc:41aa:ea0c)
07:02:22 mncheck joins (~mncheck@193.224.205.254)
07:08:42 × raym quits (~raym@user/raym) (Quit: No space left on device)
07:10:45 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
07:14:23 mbuf joins (~Shakthi@31.32.33.168)
07:17:35 romesrf joins (~romes@185.5.8.134)
07:20:00 × shriekingnoise quits (~shrieking@201.231.16.156) (Quit: Quit)
07:22:52 alp joins (~alp@user/alp)
07:25:11 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
07:26:10 × wz1000 quits (~zubin@static.11.113.47.78.clients.your-server.de) (Ping timeout: 240 seconds)
07:29:12 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
07:29:29 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
07:31:09 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
07:31:26 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
07:33:06 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
07:33:15 × acidjnk quits (~acidjnk@p200300d0c7068b30946f0a093f217873.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
07:33:23 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
07:33:39 acidjnk joins (~acidjnk@p200300d0c7068b300490c12b3f46476e.dip0.t-ipconnect.de)
07:35:10 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 240 seconds)
07:37:16 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
07:37:33 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
07:41:18 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
07:41:35 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
07:45:01 sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
07:45:07 × jgeerds quits (~jgeerds@d53604b0.access.ecotel.net) (Ping timeout: 240 seconds)
07:46:06 Flow joins (~none@gentoo/developer/flow)
07:46:17 christiansen joins (~christian@83-95-137-75-dynamic.dk.customer.tdc.net)
07:48:58 machinedgod joins (~machinedg@24.105.81.50)
07:51:56 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
07:52:13 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
07:53:53 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
07:54:10 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
07:57:48 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
07:58:05 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:01:50 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:02:07 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:03:47 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:04:04 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:05:46 Inst joins (~Inst@2601:6c4:4080:3f80:8111:3b07:3cb:440e)
08:06:22 <tomsmeding> sm: https://github.com/tomsmeding/ircbrowse/commit/47653df8493fd0a49a42bc775dda6d5dc92b4be1
08:09:57 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:10:14 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:11:54 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:12:11 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:14:44 × romesrf quits (~romes@185.5.8.134) (Ping timeout: 252 seconds)
08:17:58 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:18:15 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:19:18 ubert joins (~Thunderbi@p200300ecdf3b99c36d3ba42fb5eab692.dip0.t-ipconnect.de)
08:22:00 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:22:17 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:23:02 zeenk joins (~zeenk@2a02:2f04:a104:ef00:10:581:f80f:b980)
08:23:25 gurkenglas joins (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de)
08:24:43 ccntrq joins (~Thunderbi@172.209.94.92.rev.sfr.net)
08:24:57 xff0x joins (~xff0x@b133147.ppp.asahi-net.or.jp)
08:28:14 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:28:31 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:29:21 <dminuoso_> Can you depend on multiple specific components of another package?
08:29:58 <merijn> Yes, if you don't plan to rely on hackage anytime soon :p
08:30:14 <dminuoso_> Gah, I see.
08:31:23 romesrf joins (~romes@2001:4c80:50:16:1c22:2d7f:5a44:106)
08:34:28 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:34:45 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:35:31 <merijn> hackage doesn't support exposing more than one library externally atm
08:35:51 <merijn> afaik cabal does support depending on foo:lib:internal foo:lib:other
08:35:59 <merijn> (exact syntax I'm unsure about)
08:38:30 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:38:47 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:40:13 mattil joins (~mattil@helsinki.portalify.com)
08:42:32 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:42:49 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:43:21 akegalj joins (~akegalj@93-136-120-160.adsl.net.t-com.hr)
08:46:09 <maerwald> no one is sure about cabal syntax
08:47:43 <merijn> maerwald: I'm sure having "foo:lib:internal" be a string in YAML or toml would solve this issue and no one would have to know the syntax... >.>
08:50:30 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 272 seconds)
08:51:54 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
08:51:54 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
08:51:54 wroathe joins (~wroathe@user/wroathe)
08:55:27 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:55:44 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
08:56:22 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
08:59:24 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
08:59:41 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:00:06 × ArshiaAghaei[m] quits (~arshiaagh@2001:470:69fc:105::1:c382) (Quit: You have been kicked for being idle)
09:01:10 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 240 seconds)
09:01:58 CiaoSen joins (~Jura@p200300c9571e4b002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
09:03:20 Guest4 joins (~Guest4@95.167.122.98)
09:03:38 × Guest4 quits (~Guest4@95.167.122.98) (Client Quit)
09:05:38 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:05:55 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:07:35 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:07:38 × frost quits (~frost@user/frost) (Ping timeout: 252 seconds)
09:07:52 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:08:44 <maerwald> merijn: nah, better come up with a custom underdocumented format for which there exists only one parser implementation :p
09:09:22 frost joins (~frost@user/frost)
09:09:27 × romesrf quits (~romes@2001:4c80:50:16:1c22:2d7f:5a44:106) (Ping timeout: 258 seconds)
09:11:30 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:11:47 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:13:47 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:14:04 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:15:44 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:15:55 romesrf joins (~romes@2001:4c80:50:16:583c:4b4a:b5f9:34c6)
09:16:01 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:16:58 <dminuoso_> Even the cabal-install component parser code is somewhat spaghetti and not well documented.
09:21:10 × romesrf quits (~romes@2001:4c80:50:16:583c:4b4a:b5f9:34c6) (Ping timeout: 260 seconds)
09:21:39 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
09:24:20 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:24:38 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:26:28 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Remote host closed the connection)
09:27:20 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
09:27:29 × frost quits (~frost@user/frost) (Quit: Client closed)
09:30:22 × iqubic quits (~iqubic@2601:602:9502:c70:9f8f:3357:c54c:ede) (Ping timeout: 252 seconds)
09:31:41 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 258 seconds)
09:37:10 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:37:27 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:39:07 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:39:24 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:39:37 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 260 seconds)
09:39:39 king_gs joins (~Thunderbi@2806:103e:29:5eb8:48de:d3eb:9d44:3d55)
09:42:33 jgeerds joins (~jgeerds@d53604b0.access.ecotel.net)
09:43:32 jakalx parts (~jakalx@base.jakalx.net) ()
09:45:21 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
09:46:49 jakalx joins (~jakalx@base.jakalx.net)
09:48:51 __monty__ joins (~toonn@user/toonn)
09:51:50 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:52:07 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:52:18 × off^ quits (~off@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 244 seconds)
09:53:58 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
09:54:15 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
09:55:02 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:94c1:4c92:9000:ac28) (Remote host closed the connection)
09:57:29 off^ joins (~off@c-24-126-228-147.hsd1.ga.comcast.net)
10:02:28 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:02:45 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
10:03:32 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 260 seconds)
10:08:42 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:08:59 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
10:09:15 Kaiepi joins (~Kaiepi@156.34.47.253)
10:11:47 × akegalj quits (~akegalj@93-136-120-160.adsl.net.t-com.hr) (Quit: leaving)
10:14:42 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
10:15:32 delYsid joins (~user@user/delYsid)
10:17:02 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Remote host closed the connection)
10:18:04 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
10:18:52 × off^ quits (~off@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 246 seconds)
10:21:32 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:21:32 × mcglk quits (~mcglk@131.191.49.120) (Read error: Connection reset by peer)
10:21:49 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
10:23:03 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 258 seconds)
10:25:34 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:25:51 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
10:27:31 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:27:49 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
10:29:29 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:29:46 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
10:32:12 raym joins (~raym@user/raym)
10:33:52 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:34:09 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
10:34:09 romesrf joins (~romes@185.5.8.134)
10:35:49 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:36:06 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
10:37:17 frost joins (~frost@user/frost)
10:38:30 jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
10:44:10 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
10:50:10 × merijn quits (~merijn@c-001-001-011.client.esciencecenter.eduvpn.nl) (Ping timeout: 244 seconds)
10:52:32 × jmd_ quits (~jmdaemon@user/jmdaemon) (Ping timeout: 260 seconds)
10:54:53 kuribas joins (~user@ptr-17d51eo3ilbab6gzrol.18120a2.ip6.access.telenet.be)
10:55:26 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:94c1:4c92:9000:ac28)
10:59:40 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
10:59:53 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:94c1:4c92:9000:ac28) (Ping timeout: 255 seconds)
10:59:58 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:01:38 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:01:56 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:03:36 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:03:53 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:05:04 × benin quits (~benin@183.82.31.141) (Ping timeout: 246 seconds)
11:07:26 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
11:08:24 × jgeerds quits (~jgeerds@d53604b0.access.ecotel.net) (Ping timeout: 276 seconds)
11:10:04 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:10:14 <anon15041149> I'm having some trouble getting stack to work, this is the error I am getting https://paste.tomsmeding.com/v70TeJQT I checked under stack.yaml and under packages it has packages: - /Users/sr/.cabal
11:10:22 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:10:58 <anon15041149> previously it was packages: - /Users/sr/ I'm not sure if it makes difference, I tried running it both times
11:11:07 × acidjnk quits (~acidjnk@p200300d0c7068b300490c12b3f46476e.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
11:15:11 × alp quits (~alp@user/alp) (Remote host closed the connection)
11:15:30 alp joins (~alp@user/alp)
11:17:02 merijn joins (~merijn@c-001-001-011.client.esciencecenter.eduvpn.nl)
11:17:39 <jackdk> I think `packages: ` is the list of packages in your project, not some system repository. I wouldn't expect to see it pointed at `$HOME` or `$HOME/.cabal`, but rather something more like `.`
11:19:17 benin joins (~benin@183.82.30.29)
11:20:28 Infinite joins (~Infinite@49.39.120.50)
11:21:09 <anon15041149> I changed it to . but I get this https://paste.tomsmeding.com/f55JSWep
11:22:49 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:23:06 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:24:46 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:25:04 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:27:04 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:27:22 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:29:02 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:29:20 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:33:29 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
11:35:14 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:35:31 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:37:29 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:37:46 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:38:15 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Ping timeout: 260 seconds)
11:41:28 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:41:34 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
11:41:45 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:42:51 titibandit joins (~thibaut@2a00:8a60:c000:1:8a13:bf74:b2:8d47)
11:43:32 jpds joins (~jpds@gateway/tor-sasl/jpds)
11:47:42 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:47:59 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:49:36 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
11:51:32 acidjnk joins (~acidjnk@p200300d0c7068b3094d4e311b1284971.dip0.t-ipconnect.de)
11:51:54 × causal quits (~user@50.35.83.177) (Quit: WeeChat 3.5)
11:53:56 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
11:54:13 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
11:55:12 × Infinite quits (~Infinite@49.39.120.50) (Ping timeout: 252 seconds)
11:56:08 <Philonous> A dependency (singletons) in one of my packages was split into multiple packages, is there a way to have a single .cabal file that handles both situations? e.g. »singletons < 3.0 || (singletons > 3.0 + singletons-th + singletons-base)« ?
11:56:33 quitebk joins (~quietbk@79-77-94-188.dynamic.dsl.as9105.com)
11:56:35 <geekosaur> use a flag
11:56:36 <Philonous> (singletons >= 3.0, I meant)
11:56:53 <merijn> Philonous: Use an automatic flag
11:57:01 <merijn> I think I even have a simple-ish example
11:57:16 <geekosaur> I was looking for one from the split-base days
11:57:32 <merijn> Philonous: https://github.com/merijn/Belewitte/blob/master/plotting/plotting.cabal
11:57:42 <Philonous> Oh, that would be helpful. I know how to use flags, but ideally the flag would automatically bet set depending on the stackage LTS
11:57:45 <Philonous> Thanks
11:57:52 <merijn> Philonous: Basically, cabal will automatically toggle flags if it is unable to find a build plan
11:58:27 <Philonous> Oh? That's great!
11:58:28 <merijn> Philonous: stackage goes out of it's way to encourage people to use flags other than intended, breaking their initial use case (this), so, uh...SOL
11:58:48 <dminuoso_> merijn: what exact part of this is the "automatic flag" part?
11:59:34 <merijn> dminuoso_: "manual: False" (which should be the default, but some old cabal versions had a bug where flags weren't automatic by default as they're supposed to)
12:00:13 <dminuoso_> Ah cool, good to know.
12:00:24 <dminuoso_> How will this fail if cairo is unavailable?
12:00:37 <dminuoso_> With illegible constraint solver messages as usual?
12:00:48 <quitebk> @help
12:00:48 <lambdabot> help <command>. Ask for help for <command>. Try 'list' for all commands
12:01:01 <quitebk> @help list
12:01:02 <lambdabot> list [module|command]. Show commands for [module] or the module providing [command].
12:01:03 <dminuoso_> Hah, dont fall for this trap.
12:01:09 <dminuoso_> Nobody knows how to use lambdabot.
12:01:17 <merijn> dminuoso_: I use "cabal build all", which will silently skip unbuildable components
12:01:25 <dminuoso_> We all just know specific invocations of lambdabot commands becausee someone else has used them before.
12:01:34 <dminuoso_> It's utterly non-self documenting.
12:01:43 <quitebk> Thanks for the heads up haha
12:01:47 <merijn> dminuoso_: It's basically a trick to ensure things don't fail when I build on cluster with no cairo
12:02:13 <maerwald[m]> dminuoso_ cabal or lamdabot? 😁
12:02:18 <dminuoso_> maerwald[m]: hahah
12:02:29 <dminuoso_> I was just about to write `all` is a valid target? uh
12:02:48 <maerwald[m]> dminuoso_: unless your package is called 'all'
12:02:50 <dminuoso_> quitebk: https://wiki.haskell.org/Lambdabot has a few examples that may be helpful
12:02:52 <maerwald[m]> Good luck
12:03:15 <dminuoso_> maerwald[m]: haha, I totally tripped a coworker since one of my transitive components was named `test`
12:03:21 <dminuoso_> and they tried `cabal run test` constantly
12:03:35 <merijn> dminuoso_: If you have a cabal.project with multiple packages, "all" builds all of them
12:03:54 <maerwald[m]> This is what happens with programs that constantly follow user feature requests
12:03:56 <dminuoso_> Let me dig into the source code again. Im not sure how this could work
12:04:22 <dminuoso_> I know cabal-install has the notion of an implicit project, but multiple projects I wasnt aware of
12:04:39 <merijn> dminuoso_: multiple *packages* in a single project
12:04:45 <dminuoso_> Yeah I understand
12:05:07 <merijn> dminuoso_: There's no implicit project in my example, though
12:05:13 <maerwald[m]> Multiple projects would be fun... now you need a merge strategy for cabal.project files
12:05:37 × titibandit quits (~thibaut@2a00:8a60:c000:1:8a13:bf74:b2:8d47) (Read error: Connection reset by peer)
12:06:45 <dminuoso_> merijn: Right we have this often as well in git repos with a bunch of packages in nested directories like servant
12:08:45 <maerwald[m]> There's funny bugs with subdir in cabal.project
12:08:57 <merijn> maerwald[m]: What's that?
12:09:44 <dminuoso_> So far its worked out just fine, aside from the occasional mistake of adding the package both into cabal.project and cabal.project.local
12:09:49 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Remote host closed the connection)
12:10:01 <dminuoso_> Which I never could make sense of until I understood that packages are added together. Kept thinking that .local overrode it
12:10:34 <maerwald[m]> merijn: https://github.com/haskell/cabal/issues/7131
12:11:18 <maerwald[m]> That's what you get from undocumented file formats
12:12:04 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
12:13:44 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
12:14:02 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
12:14:44 × zeenk quits (~zeenk@2a02:2f04:a104:ef00:10:581:f80f:b980) (Quit: Konversation terminated!)
12:15:54 dcleonarski joins (~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea)
12:16:03 zeenk joins (~zeenk@2a02:2f04:a104:ef00:10:581:f80f:b980)
12:16:30 × mbuf quits (~Shakthi@31.32.33.168) (Quit: Leaving)
12:16:50 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 255 seconds)
12:19:58 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
12:20:16 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
12:21:51 quietbk joins (~quietbk@79-77-94-188.dynamic.dsl.as9105.com)
12:21:56 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
12:22:02 × quietbk quits (~quietbk@79-77-94-188.dynamic.dsl.as9105.com) (Client Quit)
12:22:57 ubert1 joins (~Thunderbi@p200300ecdf3b99c379a3c0fc7254b6b7.dip0.t-ipconnect.de)
12:23:23 titibandit joins (~thibaut@2a00:8a60:c000:1:8a13:bf74:b2:8d47)
12:24:27 × quitebk quits (~quietbk@79-77-94-188.dynamic.dsl.as9105.com) (Quit: Leaving)
12:24:55 quietbk joins (~quietbk@79-77-94-188.dynamic.dsl.as9105.com)
12:26:35 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
12:26:52 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
12:27:51 <geekosaur> I thought that was documented, just unclear. ("Monoidal")
12:28:18 <geekosaur> I even mentioned that obliquely last night
12:28:32 <geekosaur> and you provided the last piece of the puzzle in question
12:30:36 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
12:30:53 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
12:31:22 kenaryn joins (~aurele@89-88-44-27.abo.bbox.fr)
12:33:26 wz1000 joins (~zubin@static.11.113.47.78.clients.your-server.de)
12:34:04 polyphem joins (~polyphem@2a02:810d:840:8754:f931:96f6:617b:dade)
12:35:03 × raym quits (~raym@user/raym) (Ping timeout: 244 seconds)
12:35:06 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
12:35:37 notzmv joins (~zmv@user/notzmv)
12:36:05 raym joins (~raym@user/raym)
12:36:51 renzhi joins (~xp@2607:fa49:6500:b100::2dea)
12:38:30 × ncf quits (~n@monade.li) (Quit: Fairfarren.)
12:38:44 ncf joins (~n@monade.li)
12:39:42 quietbk parts (~quietbk@79-77-94-188.dynamic.dsl.as9105.com) (Leaving)
12:42:30 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
12:43:14 quitebk joins (~quietbk@79-77-94-188.dynamic.dsl.as9105.com)
12:45:38 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
12:45:56 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
12:47:11 × renzhi quits (~xp@2607:fa49:6500:b100::2dea) (Ping timeout: 258 seconds)
12:47:41 × quitebk quits (~quietbk@79-77-94-188.dynamic.dsl.as9105.com) (Quit: Leaving)
12:49:44 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
12:50:49 y04nn joins (~y04nn@2001:ac8:28:95::a17e)
12:51:29 × CiaoSen quits (~Jura@p200300c9571e4b002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
12:52:02 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
12:52:25 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
12:52:41 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
12:54:58 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
12:56:53 × titibandit quits (~thibaut@2a00:8a60:c000:1:8a13:bf74:b2:8d47) (Quit: Leaving.)
12:58:33 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
12:58:51 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
12:59:58 Unicorn_Princess joins (~Unicorn_P@93-103-228-248.dynamic.t-2.net)
13:00:40 × acidjnk quits (~acidjnk@p200300d0c7068b3094d4e311b1284971.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
13:02:30 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
13:02:48 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
13:04:15 × mattil quits (~mattil@helsinki.portalify.com) (Read error: Connection reset by peer)
13:06:32 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
13:06:50 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
13:08:28 AlexNoo_ is now known as AlexNoo
13:10:36 delYsid parts (~user@user/delYsid) (ERC 5.4 (IRC client for GNU Emacs 28.1.50))
13:12:04 × asivitz quits (uid178348@id-178348.tinside.irccloud.com) (Quit: Connection closed for inactivity)
13:14:44 <Philonous> Oh, so aeson decided to break its API, I guess the next week I'll be writing a lot of CPP macros...
13:15:45 <dminuoso_> Philonous: What do you mean by break its api?
13:15:51 <Philonous> Just pinning all package versions and never updating anything every again suddenly seems very attractive.
13:15:53 <geekosaur> aeson 2, I presume
13:16:34 <Philonous> Yes
13:16:42 <dminuoso_> I wish I could avoid aeson altogether. :(
13:17:07 <Philonous> They changed away from HashMaps to an abstract representation and now use some abstract "Key" type instead of Text
13:17:11 <dminuoso_> It would be nice if we could have a builtin JSON implementation, one that doesnt artificially introduce 40 transitive dependencies.
13:17:27 <dminuoso_> While there exist such solutions on Hackage, the reality is aeson pops up quite frequently
13:18:19 gastus joins (~gastus@mawercer.de)
13:18:21 <merijn> dminuoso_: cabal-install has a minimal one it uses
13:19:35 <dminuoso_> merijn: Sure, but then you want to use hasql/postgresql-simple, and you suddenly have aeson whether you want it or not.
13:19:44 Sgeo joins (~Sgeo@user/sgeo)
13:20:32 <dminuoso_> In the past few weeks Ive become mindful of dependency tree baggage. It feels like dependency trees have becoming larger and larger on hackage over the past few years
13:20:44 <maerwald> you're using the wrong language then
13:20:55 <dminuoso_> Which other language doesnt suffer from this problem?
13:20:57 <dminuoso_> C?
13:21:37 <geekosaur> you might actually get your wish re json, since one of the future directions of ghc is to use json for communication between it and other programs (such as cabal, but also HLS and the like)
13:21:56 <geekosaur> which may mean a minimalish JSON impl shipped along with it in the future
13:22:00 <maerwald> Go has json in its stdlib
13:22:20 <dminuoso_> maerwald: the dependency blowup is quite prevalent in go as well.
13:22:31 <dminuoso_> But yeah, go brings a lot of basic goodies in its stdlib, which helps
13:22:53 <dminuoso_> geekosaur: that would be nice I guess.
13:22:58 <maerwald> there's a sufficient ecosystem of *real* libraries in Go
13:22:59 <geekosaur> C has the same blowup, it's just less obvious because so many distros ship gnome which is kinda maximum dep blowup
13:23:14 <geekosaur> so they're all already installed
13:24:01 <dminuoso_> C has much less fragmentation, though. I mean in Haskell packages its not uncommon to have 5 different parsing libraries, 4 IP library implementations, 7 different container types, all of different magical flavors, and then half the kmettiverse..
13:24:15 <gastus> https://dpaste.com/FM5NNG6TH Line 115 is seen as tt1 line 43 should have introduced it ScopedTypeVariables is used.
13:25:01 <dminuoso_> gastus: can you share the full diagnostic, perhaps?
13:25:02 <maerwald> dminuoso_: well, PVP/semver have a negative effect on ecosystems. People experiment more because you can't break anyone's code after all, right?
13:26:01 <gastus> https://dpaste.com/3F9DC7YJC
13:26:49 <[exa]> dminuoso_: C fragmentation is just much less visible because there's no cackage. Did you try googling for json libraries in C? :D
13:27:12 <dminuoso_> [exa]: In C its not uncommon for libraries to just bring a handcrafted JSON implementation.
13:27:19 <maerwald> [exa]: is there one that doesn't have memory bugs? :D
13:27:52 <[exa]> maerwald: challenging question!
13:28:03 <dminuoso_> gastus: Add type signatures to statechanged, run, prog, sumV. If that doesnt help nail it down, split stateChanged into more bindings.
13:28:42 <merijn> maerwald[m]: I'm gonna go ahead and assume "no" :p
13:28:43 <dminuoso_> Or at least type annotate the let-bindings inside stateChanged
13:28:44 <[exa]> but I meant pretty much everything. There's more allocators, lex generators, widget toolkits, UI libraries, image libraries, jpeglib clones, container libraries ... than I can count
13:29:50 <gastus> dminuoso_: I can try, but the problem is that the tt bottom is not the tt in forall which ScopedTypeVariables should solve AFAIK.
13:30:05 <dminuoso_> gastus: Ive looked at the error message and your code, and I cant make heads or tails of it.
13:30:23 <dminuoso_> The fact you're getting the diagnostics means one or more of your assumptions are wrong.
13:30:57 <dminuoso_> 40 lines of complex code without a single annotation gives ghc *a lot* of inference room
13:31:21 <dminuoso_> It's going to be near impossible to understand the type error unless you can simultaneously juggle *all* types of *all* bindings used in your head.
13:31:29 × kuribas quits (~user@ptr-17d51eo3ilbab6gzrol.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
13:33:07 <dminuoso_> maerwald: But I guess you have a point. Perhaps this is just what programming really means.
13:33:22 <dminuoso_> Its becoming less and less of a creative task, its more of a "plumb things that you dont understand together"
13:33:38 <dminuoso_> Libraries where you have some vague idea of a) what they do, b) how to use them. Not audited of course.
13:34:06 <albet70> it could be possible to install ghc on linux without root privilege?
13:34:20 <dminuoso_> shouldnt ghcup be able to do this?
13:34:24 <geekosaur> it's even normal these days: ghcup doesn't require root at all
13:34:49 <geekosaur> anything involving your package manager, on the other hand, will require root
13:35:45 <Philonous> »nix-shell -p ghc« doesn't require root
13:36:01 <geekosaur> but installing nix to begin with does
13:36:05 <Philonous> OK, not helping, sorry
13:36:16 <albet70> and does ghc package manager need root privileges? cabal? stack?
13:36:24 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
13:36:26 <geekosaur> last I heard there was no way to use nix without creating /nix and it couldn't even be a symlink
13:36:36 <geekosaur> albet70, none of them
13:36:44 <dminuoso_> geekosaur: no you can use nix without creating /nix *just* *fine*
13:36:52 <dminuoso_> IT has just a slight undesirable consequence
13:37:07 <dminuoso_> Namely that you cant use paths off most binary caches anymore
13:37:09 <geekosaur> even ghc-pkg --global needs only the permissions you needed to install ghc, which with ghcup will be your normal perms
13:37:16 <dminuoso_> Which means you have to recompile *everything* from scratch
13:38:16 <Philonous> I used to do that on FreeBSD anyway. It's manageable.
13:38:34 <merijn> geekosaur, dminuoso_: You can use nix without creating /nix, you "just" have to compile it from scratch (after chasing down all the dependencies needed to build it)
13:38:41 <merijn> Rather defeating the purpose
13:38:51 <dminuoso_> not sure about "the purpose"
13:38:58 <dminuoso_> It doesnt really defeat "the purpose"
13:39:23 <merijn> dminuoso_: The purpose of "being able to install things without manually chasing down all dependencies"
13:39:29 <dminuoso_> As long as the build processes are deterministic, which nix makes much much simpler to do, this will work out fine.
13:39:47 <merijn> You just replace the process of "chasing down dependencies of stuff you want" with "chasing down Nix dependencies"
13:40:25 <dminuoso_> I think this is a mischaracterization
13:40:43 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
13:41:10 <dminuoso_> Imagine the nix store to be a big lazy thing, where "evaluating" values amounts to compiling them. As long as the act itself is pure, you can defer the evaluation to someone else, and that's hydra that feeds cache.nixos.org
13:41:18 <dminuoso_> Whether you evaluate it, or nix, doesnt really matter
13:41:29 <dminuoso_> Imagine the copying off the cache to be just an optimization from saving you some time
13:41:35 <merijn> dminuoso_: It is not for practical purposes
13:41:38 justsomeguy joins (~justsomeg@user/justsomeguy)
13:41:56 <dminuoso_> gentoo users will agree that compiling things from scratch on todays machine is, for most software, not a big deal
13:42:06 <dminuoso_> seems to be practical enough for them
13:42:08 <merijn> dminuoso_: If you wanna use it without compiling from scratch AND without /nix, you have to setup a whole ass chroot environment
13:42:25 <merijn> It's too much work to be usable in the settings I want it
13:42:57 <dminuoso_> merijn: depending on the scale, you can simply set up a hydra yourself to prepare a cache
13:43:23 bgamari_ joins (~bgamari@68.238.49.134)
13:43:24 <merijn> dminuoso_: That already assumes more hardware than I have control over (i.e. non-zero, as opposed zero)
13:43:36 <merijn> dminuoso_: I want something that just needs disk space and a shell
13:44:01 <merijn> See: ghc & cabal
13:44:15 × bgamari quits (~bgamari@2001:470:e438::1) (Ping timeout: 260 seconds)
13:44:33 <dminuoso_> Yeah, that just wont work for nix currently
13:44:42 <dminuoso_> Im not sure whether this can be solved at all
13:45:02 <dminuoso_> Other than chroot trickery
13:45:08 mbuf joins (~Shakthi@31.32.33.168)
13:46:47 <merijn> dminuoso_: Right, hence why Nix is useless for all usecases I'd actually find it useful
13:47:16 <dminuoso_> merijn: well you *can* just build it once and push closures onto some arbitrary cache host
13:47:20 × polyphem quits (~polyphem@2a02:810d:840:8754:f931:96f6:617b:dade) (Read error: Connection reset by peer)
13:47:30 <dminuoso_> I think there are pragmatic solutions to reduce the impact
13:48:03 <merijn> dminuoso_: "you can build" <- yeah, my entire goal was not to build (as in program, setup, configure) anything at all
13:48:13 <dminuoso_> Well, you wouldnt really?
13:48:26 <dminuoso_> You'd just type `nix build ...` or `nix-shell -p ghc` or whatever, and then just *wait*
13:49:09 <dminuoso_> Then when your system has build the entire closure, you can just nix-copy-closure it onto a cache host, and point nix to use it. The next time you can simply point nix towards the cache host, and it will grab the store paths off it
13:49:40 <dminuoso_> The building happens completely transparently. A cache miss merely translates into waiting until your local machine has produced the exact store paths it would otherwise have copied off the cache
13:50:35 × phma quits (phma@2001:5b0:2172:f278:a6dd:b379:f2aa:e443) (Read error: Connection reset by peer)
13:51:20 <dragestil> how I do inspect / trace things from libraries with no Show, like TypecheckedModule and DynFlags in GHC?
13:51:24 <maerwald> cache miss results in build failure xD
13:51:43 phma joins (~phma@2001:5b0:211f:4ad8:221f:e8:88e7:7008)
13:51:45 <dminuoso_> dragestil: StandaloneDeriving tends to work nicely
13:52:03 <geekosaur> maybe not in ghc
13:52:28 <geekosaur> note that ghc has its own alternative to Show though, used by the ppr* functions (Outputable)
13:53:16 <dminuoso_> As long as they are exposed in modules
13:53:42 <dminuoso_> I think Ive seen some TH library exposing a kind of justShowItDamnit
13:53:45 <dminuoso_> Cant recall its name
13:54:34 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Remote host closed the connection)
13:55:20 <dragestil> still reading about standalone derivation on haskell wiki. i swear it's the hardest wiki to read
13:56:17 <[Leary]> gastus: Due to plain Haskell's implicit foralls, STVs syntax is a bundle of ad hoc nonsense (imo it should have just gotten a new keyword).
13:56:20 <dminuoso_> Mmm for GHC types it probably will be tedious, as you'd have to transitively do this on every nested type
13:56:37 <dragestil> yeah the ghc types are huge
13:56:49 <dminuoso_> [Leary]: Or they should have just made a breaking change bringing them always into scope.
13:57:02 <dminuoso_> With some extension to turn it off, rather than the opposite.
13:57:05 <[Leary]> Your trouble is this: "The type variable is quantified by the single, syntactically visible, outermost forall of the type signature."
13:57:18 jgeerds joins (~jgeerds@d53604b0.access.ecotel.net)
13:57:26 <gastus> https://dpaste.com/3JCVZLXBP
13:57:48 <[Leary]> So "forall label . forall tt . forall a ." only brings `label` into scope.
13:58:10 <gastus> That makes sense cause tt2 is the first issue.
13:59:47 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
14:00:12 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:00:19 <gastus> Yes, if i change the order eg putting tt first I get the same error with label
14:00:44 vicfred joins (~vicfred@user/vicfred)
14:01:17 <dminuoso_> [Leary]: Uh really?
14:01:21 <gastus> @ [Leary] looks like you identified the problem. Still don't understadn how to solve it.
14:01:22 <dragestil> Well TypeCheckedModule is not an Outputabble
14:01:27 <dminuoso_> I did not expect that. :(
14:01:34 <[Leary]> gastus: forall label tt a.
14:01:51 <geekosaur> I would suspect there's not much chance of a usable Show instance for it either
14:02:02 <geekosaur> I don't think the AST can have a Show instance
14:02:08 <dragestil> why not?
14:02:13 <gastus> :-) :-) :-)
14:02:40 <dragestil> how do you learn about these things if they don't show
14:03:13 <dminuoso_> https://hackage.haskell.org/package/haskell-src-exts-1.23.1/docs/Language-Haskell-Exts-Syntax.html
14:03:16 <geekosaur> TTG complicates things, iirc the AST is higher order
14:03:18 <dminuoso_> haskell-src-exts can do Show
14:03:57 <[Leary]> dminuoso_: Yes, unfortunately. I didn't know this myself until I looked over the STVs manual entry just now.
14:04:02 motherfsck joins (~motherfsc@user/motherfsck)
14:04:25 <[Leary]> A breaking change would have been better than this. Ad hoc hurts.
14:05:04 <dragestil> dminuoso_: do you mean h-s-e can do show for TypecheckedModule?
14:05:26 <dminuoso_> No
14:05:52 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Remote host closed the connection)
14:06:47 <dragestil> AST is just a tree, why can't it have a show
14:06:47 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
14:08:14 <geekosaur[m]> Because of Trees That Grow which means it changes dynamically
14:08:34 × remexre quits (~remexre@user/remexre) (Ping timeout: 250 seconds)
14:08:38 <geekosaur[m]> It's a higher order tree
14:08:53 × y04nn quits (~y04nn@2001:ac8:28:95::a17e) (Ping timeout: 255 seconds)
14:09:31 remexre joins (~remexre@user/remexre)
14:09:57 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
14:11:09 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 244 seconds)
14:11:40 <dragestil> but isn't ttg a later stage than typecheck?
14:15:15 zebrag joins (~chris@user/zebrag)
14:15:32 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.5)
14:18:29 <geekosaur[m]> It's used by all stages, it's built into the structure of tree nodes
14:18:33 <lortabac> dragestil: TTG is a design pattern, maybe you are getting confused with STG
14:18:58 <dragestil> lortabac: you are right
14:19:23 × jgeerds quits (~jgeerds@d53604b0.access.ecotel.net) (Ping timeout: 252 seconds)
14:20:19 Infinite joins (~Infinite@49.39.114.62)
14:20:22 <geekosaur[m]> And it makes tree nodes in effect dynamically typed
14:22:09 × ubert1 quits (~Thunderbi@p200300ecdf3b99c379a3c0fc7254b6b7.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
14:23:01 × raym quits (~raym@user/raym) (Ping timeout: 258 seconds)
14:23:11 <lortabac> IMHO Haskell lacks a universal 'trace' primitive that can print any runtime expression
14:23:24 <lortabac> something that triggers a warning if you forget to remove it
14:23:37 raym joins (~raym@user/raym)
14:25:42 <geekosaur> the main problem with that is it means carrying around type information of some kind. which is the main part of what Show does
14:25:48 <geekosaur> (or Outputable, etc.)
14:25:58 <geekosaur> the other big problem is that functions are values
14:28:11 <geekosaur> there's somethingin TH which can do it to some extent, as I think someone mentioned earlier, but it's cheating and digging the type information out at compile time to use at run time, which has both performance and memory costs
14:29:35 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
14:32:24 y04nn joins (~y04nn@2001:ac8:28:95::a17e)
14:34:26 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Remote host closed the connection)
14:35:42 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
14:35:47 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
14:35:54 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
14:36:11 <exarkun> My Eithers keep stacking up. I have an idea that `Either a (Either a c) -> Either a c` might help somehow. Is that a reasonable idea? Is that an existing function somewhere?
14:36:33 <exarkun> Or something vaguely that shape, at least
14:36:36 <[Leary]> join?
14:36:38 × phma quits (~phma@2001:5b0:211f:4ad8:221f:e8:88e7:7008) (Read error: Connection reset by peer)
14:36:55 <geekosaur> sounds monadic, at least
14:38:42 <exarkun> Hm join seems plausible but it doesn't do to `Left` what I might have guessed
14:39:11 <exarkun> but thinking about join helps clarify my thinking about this problem, I think
14:40:12 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Ping timeout: 250 seconds)
14:40:37 phma joins (phma@2001:5b0:212a:9768:c758:4004:47ac:81b8)
14:41:48 <merijn> exarkun: What would you have expected to do on Left, then?
14:42:43 <geekosaur> there are alternatives to Either that might serve your needs better, depending on the answer to that question
14:42:50 <geekosaur> (These, Chronicle, etc.)
14:43:20 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Remote host closed the connection)
14:43:56 <merijn> Validation
14:44:06 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
14:44:06 <merijn> Chronicle is just TheseT, no?
14:44:11 off^ joins (~off@c-24-126-228-147.hsd1.ga.comcast.net)
14:44:29 <merijn> It is
14:44:50 <geekosaur> and a bunch of helpers, plus has the ability to distinguish between "warning" type `Left`s and "error" type
14:45:15 <merijn> geekosaur: It's literally TheseT, though? They come from the same package...
14:45:25 <geekosaur> and fail immediately vs. fail at end
14:45:40 <geekosaur> Chronicle is kinda the swiss army knife version of TheseT
14:46:07 <maerwald> gimme an open sum type version of TheseT :p
14:47:07 <exarkun> Hm, more thought required, it seems.
14:48:38 <sm> anon15041149: figured it out ?
14:48:52 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 250 seconds)
14:49:14 <anon15041149> sm: yes, I managed to fix it, thank you
14:54:14 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
14:54:32 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
14:55:58 × frost quits (~frost@user/frost) (Ping timeout: 252 seconds)
14:58:47 shriekingnoise joins (~shrieking@201.231.16.156)
14:59:07 k` joins (~user@152.1.137.158)
14:59:57 <k`> Is there a class like `MonadTrans t => MapTrans t where mapTrans :: (forall x. m x -> n x) -> t m a -> t n a` ?
15:00:56 cosimone joins (~user@2001:b07:ae5:db26:c56d:943d:e8f4:b662)
15:02:35 × y04nn quits (~y04nn@2001:ac8:28:95::a17e) (Remote host closed the connection)
15:02:47 y04nn joins (~y04nn@2001:ac8:28:95::a17e)
15:06:29 <merijn> k`: You want natural transformations
15:06:32 <merijn> @hackage mmorph
15:06:33 <lambdabot> https://hackage.haskell.org/package/mmorph
15:07:07 <merijn> :t hoist -- not sure if lambdabot has mmorph
15:07:08 <lambdabot> error: Variable not in scope: hoist
15:07:41 <k`> I'm looking at it now on Hoogle. Thanks!
15:09:22 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
15:09:25 <merijn> @hoogle hoist
15:09:25 <lambdabot> Pipes hoist :: (MFunctor t, Monad m) => (forall a . () => m a -> n a) -> t m b -> t n b
15:09:25 <lambdabot> Control.Monad.Morph hoist :: (MFunctor t, Monad m) => (forall a . m a -> n a) -> t m b -> t n b
15:09:25 <lambdabot> Streaming hoist :: (MFunctor t, Monad m) => (forall a . () => m a -> n a) -> t m b -> t n b
15:09:30 <merijn> Ah, see, there we go :)
15:09:40 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
15:11:04 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
15:13:15 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Remote host closed the connection)
15:13:34 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
15:14:03 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
15:15:43 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
15:15:56 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:241a:a3fc:41aa:ea0c) (Quit: WeeChat 2.8)
15:16:01 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
15:16:15 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 244 seconds)
15:18:35 mvk joins (~mvk@2607:fea8:5ce3:8500::ba9a)
15:18:55 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
15:23:24 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
15:24:34 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
15:25:47 P1RATEZ joins (piratez@user/p1ratez)
15:26:39 × king_gs quits (~Thunderbi@2806:103e:29:5eb8:48de:d3eb:9d44:3d55) (Ping timeout: 258 seconds)
15:28:58 × merijn quits (~merijn@c-001-001-011.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
15:28:58 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
15:29:08 _ht joins (~quassel@231-169-21-31.ftth.glasoperator.nl)
15:29:42 × Infinite quits (~Infinite@49.39.114.62) (Ping timeout: 252 seconds)
15:31:00 × hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Quit: Konversation terminated!)
15:32:45 hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com)
15:32:53 CiaoSen joins (~Jura@p200300c9571e4b002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
15:33:49 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 244 seconds)
15:34:03 ardell joins (~ardell@user/ardell)
15:35:55 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
15:38:59 × remexre quits (~remexre@user/remexre) (Ping timeout: 244 seconds)
15:39:19 remexre joins (~remexre@user/remexre)
15:40:40 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
15:40:50 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 258 seconds)
15:40:58 Vajb joins (~Vajb@2001:999:42:1446:8c2:e3f9:b580:2e45)
15:43:17 × ardell quits (~ardell@user/ardell) (Quit: WeeChat 3.5)
15:43:36 mcglk joins (~mcglk@131.191.49.120)
15:46:02 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
15:46:20 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
15:48:12 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
15:48:30 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
15:48:43 king_gs joins (~Thunderbi@187.201.97.18)
15:49:35 Sinbad joins (~Sinbad@user/sinbad)
15:52:16 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
15:52:34 albertoCCz joins (~albertoCC@nat-cvi-a-5070.ugr.es)
15:55:42 merijn joins (~merijn@c-001-001-011.client.esciencecenter.eduvpn.nl)
15:58:31 × Sinbad quits (~Sinbad@user/sinbad) (Quit: WeeChat 3.5)
16:00:30 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
16:01:36 <k`> Would it make sense to add a `WrapMonadTrans` newtype to `Control.Monad.Trans.Class` to allow `deriving via` for lifted transformer classes?
16:02:14 <k`> Or does the presence of methods that aren't lifts make that pointless?
16:03:22 Sinbad joins (~Sinbad@user/sinbad)
16:03:44 × mbuf quits (~Shakthi@31.32.33.168) (Quit: Leaving)
16:03:57 <k`> Looks like making an `MFunctor` instance would make deriving MonadReader, MonadWriter &c. possible.
16:04:06 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Remote host closed the connection)
16:04:18 Hildegunst joins (~luc@80.248.12.109.rev.sfr.net)
16:06:39 <Sinbad> I trying to get the git commit hash into version info of an application. When running the app with cabal exe, it works as expected. But after cabal install, the app shows UNKNOWN. How can achieve what I want?
16:08:31 <geekosaur> you need to fetch and embed it at compile time, you typically can't retrieve it at runtime. I think there's a module on hackage for this, using TH
16:08:32 × king_gs quits (~Thunderbi@187.201.97.18) (Read error: Connection reset by peer)
16:09:15 <Sinbad> I am using the gitrev package and cabal 3.6.2
16:09:38 <Sinbad> this package uses template haskell
16:09:39 <geekosaur> https://hackage.haskell.org/package/githash might work better
16:10:59 king_gs joins (~Thunderbi@187.201.97.18)
16:12:07 jargon joins (~jargon@174-22-206-112.phnx.qwest.net)
16:14:04 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
16:14:58 × phma quits (phma@2001:5b0:212a:9768:c758:4004:47ac:81b8) (Read error: Connection reset by peer)
16:16:12 phma joins (~phma@2001:5b0:211b:ffd8:e239:d8f:6c89:25ef)
16:17:11 <Sinbad> that looks the same as gitrev, and have the same problem. cabal install build the executable differently, I think that is the problem.
16:17:57 × albertoCCz quits (~albertoCC@nat-cvi-a-5070.ugr.es) (Remote host closed the connection)
16:18:50 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
16:21:30 <geekosaur> hm. Snoyman usually knows what he's doing
16:21:57 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
16:23:07 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
16:23:13 <geekosaur> mm, looks like it's a known issue and both cabal v2+ and stack v2+ have it
16:23:26 <geekosaur> and it's not really fixable because they build outside the git repo
16:24:28 <geekosaur> https://github.com/snoyberg/githash/issues/18
16:24:44 <geekosaur> the discussion is about stack but cabal v2 does the same thing for the same reason
16:24:58 × justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 244 seconds)
16:27:03 <geekosaur> suggested workaround is to include the relevant information under .git in extra-source-files in the cabal file
16:27:18 <geekosaur> the README discusses where the information it needs lives
16:29:46 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
16:30:50 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
16:35:05 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Remote host closed the connection)
16:35:06 × Vajb quits (~Vajb@2001:999:42:1446:8c2:e3f9:b580:2e45) (Read error: Connection reset by peer)
16:35:41 × cosimone quits (~user@2001:b07:ae5:db26:c56d:943d:e8f4:b662) (Remote host closed the connection)
16:37:51 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
16:38:22 <maerwald> Sinbad: 'cabal install' does not what you think it does :p
16:48:16 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Remote host closed the connection)
16:48:35 Feuermagier joins (~Feuermagi@user/feuermagier)
16:49:26 werneta joins (~werneta@137.79.219.99)
16:51:16 <Sinbad> geekosaur: thanks for your help.
16:52:05 <geekosaur> also what maerwald said: both modes compile the same way, cabal install just drops a symlink to the result somewhere accessible
16:52:33 <geekosaur> the `cabal build` stage should be identical for both cases
16:52:54 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
16:53:01 geekosaur got sucked down a wormhole checking ghc's issues for something else
16:53:05 × Hildegunst quits (~luc@80.248.12.109.rev.sfr.net) (Quit: leaving)
16:53:24 <Sinbad> geekosaur: no, I use copy mode and the binaries are not the same.
16:54:12 <geekosaur> sure that doesn't mean it's been stripped?
16:56:00 iteratee joins (~kyle@162.218.222.107)
16:56:00 × king_gs quits (~Thunderbi@187.201.97.18) (Read error: Connection reset by peer)
16:56:10 × iteratee quits (~kyle@162.218.222.107) (Client Quit)
16:56:43 iteratee joins (~kyle@162.218.222.107)
16:56:47 king_gs joins (~Thunderbi@2806:103e:29:5eb8:48de:d3eb:9d44:3d55)
16:56:50 <Sinbad> no, it is not stripped.
16:58:16 × CiaoSen quits (~Jura@p200300c9571e4b002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 258 seconds)
16:59:49 <Sinbad> simply, the two executable are not build in the same environment in respect to .git/, that is all.
17:00:07 × alp quits (~alp@user/alp) (Ping timeout: 240 seconds)
17:00:28 econo joins (uid147250@user/econo)
17:01:14 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
17:01:34 nate1 joins (~nate@98.45.169.16)
17:06:47 <k`> Kind of confusing how `cabal -v2 test` and `cabal v2-test` are completely different.
17:06:57 cosimone joins (~user@2001:b07:ae5:db26:d65d:394e:5e03:ecd7)
17:07:36 kenaryn_ joins (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr)
17:08:14 × mvk quits (~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 258 seconds)
17:09:04 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
17:12:07 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
17:20:53 × king_gs quits (~Thunderbi@2806:103e:29:5eb8:48de:d3eb:9d44:3d55) (Ping timeout: 258 seconds)
17:23:57 king_gs joins (~Thunderbi@187.201.97.18)
17:27:29 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
17:27:29 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
17:27:29 wroathe joins (~wroathe@user/wroathe)
17:27:57 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
17:28:46 freefiree joins (~fi@102.156.249.68)
17:32:29 × off^ quits (~off@c-24-126-228-147.hsd1.ga.comcast.net) (Remote host closed the connection)
17:37:44 <adamCS> I'm trying to write a type-indexed expression type (sort of like in Richard Eisenberg's "STITCh" paper). And, I think, I was hoping to use recursion schemes to evaluate the AST (into Text; this is for a DSL to write code in another language). But the GADT I have now is not a functor, or even a higher-order functor as in the "compdata" package, because the type-index is of a kind other than "Type".
17:38:58 <adamCS> Am I missing something obvious that might make such a thing recursion-schemes amenable?
17:40:13 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
17:41:49 × phma quits (~phma@2001:5b0:211b:ffd8:e239:d8f:6c89:25ef) (Read error: Connection reset by peer)
17:42:34 <adamCS> https://pastebin.com/qbNydPLT
17:45:02 × king_gs quits (~Thunderbi@187.201.97.18) (Quit: king_gs)
17:45:21 × Sinbad quits (~Sinbad@user/sinbad) (Quit: WeeChat 3.5)
17:46:52 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
17:48:44 × freefiree quits (~fi@102.156.249.68) (K-Lined)
17:52:03 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 276 seconds)
17:53:41 jgeerds joins (~jgeerds@d53604b0.access.ecotel.net)
18:02:53 × christiansen quits (~christian@83-95-137-75-dynamic.dk.customer.tdc.net) (Ping timeout: 255 seconds)
18:03:47 × nate1 quits (~nate@98.45.169.16) (Ping timeout: 240 seconds)
18:06:51 jakalx parts (~jakalx@base.jakalx.net) ()
18:07:30 jakalx joins (~jakalx@base.jakalx.net)
18:10:19 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Remote host closed the connection)
18:11:21 × zeenk quits (~zeenk@2a02:2f04:a104:ef00:10:581:f80f:b980) (Quit: Konversation terminated!)
18:13:44 × ccntrq quits (~Thunderbi@172.209.94.92.rev.sfr.net) (Remote host closed the connection)
18:15:57 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
18:16:03 mvk joins (~mvk@2607:fea8:5ce3:8500::ba9a)
18:21:28 × mjs2600_ quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
18:22:04 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
18:23:08 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
18:24:51 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Client Quit)
18:26:24 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
18:32:21 <[Leary]> adamCS: I don't know about existing machinery, but you can do something like this: https://gist.github.com/LSLeary/f6ab06b3a7b0a78104f385c5b8f540ae
18:34:21 Infinite joins (~Infinite@49.39.113.101)
18:34:38 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
18:36:25 × _xor quits (~xor@72.49.198.103) (Quit: bbiab)
18:41:14 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
18:43:53 jmdaemon joins (~jmdaemon@user/jmdaemon)
18:46:10 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Remote host closed the connection)
18:48:09 phma joins (~phma@host-67-44-209-30.hnremote.net)
18:54:29 Guest|57 joins (~Guest|57@cpc81750-swin18-2-0-cust183.3-1.cable.virginm.net)
18:57:17 × Guest|57 quits (~Guest|57@cpc81750-swin18-2-0-cust183.3-1.cable.virginm.net) (Client Quit)
18:58:20 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
18:58:25 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 244 seconds)
19:01:03 CiaoSen joins (~Jura@p200300c9571e4b002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
19:03:47 zincy joins (~zincy@2a00:23c8:970c:4801:5ce3:174f:85c3:8411)
19:04:03 × zincy quits (~zincy@2a00:23c8:970c:4801:5ce3:174f:85c3:8411) (Remote host closed the connection)
19:08:49 Atrx joins (~Atrx@122.171.246.163)
19:09:13 <Atrx> Hello
19:11:10 × oo_miguel quits (~pi@77.252.47.226) (Quit: WeeChat 2.3)
19:12:30 × Atrx quits (~Atrx@122.171.246.163) (Client Quit)
19:18:46 k8yun joins (~k8yun@user/k8yun)
19:19:44 × k8yun quits (~k8yun@user/k8yun) (Client Quit)
19:21:47 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds)
19:21:56 × y04nn quits (~y04nn@2001:ac8:28:95::a17e) (Ping timeout: 272 seconds)
19:32:41 k8yun joins (~k8yun@user/k8yun)
19:36:14 wootehfoot joins (~wootehfoo@user/wootehfoot)
19:37:50 y04nn joins (~y04nn@2001:ac8:28:95::a17e)
19:39:22 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:39:28 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Remote host closed the connection)
19:39:52 × jgeerds quits (~jgeerds@d53604b0.access.ecotel.net) (Ping timeout: 260 seconds)
19:41:03 acidjnk joins (~acidjnk@p200300d0c7068b30b098d604dddded4a.dip0.t-ipconnect.de)
19:41:57 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
19:46:34 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
19:47:25 kenran joins (~kenran@200116b82b30e6001495bd294984be31.dip.versatel-1u1.de)
19:48:39 Tuplanolla joins (~Tuplanoll@91-159-68-39.elisa-laajakaista.fi)
19:49:03 × Sauvin quits (~sauvin@about/linux/staff/sauvin) (Ping timeout: 244 seconds)
19:49:34 × kenaryn quits (~aurele@89-88-44-27.abo.bbox.fr) (Quit: leaving)
19:49:41 × kenaryn_ quits (~aurele@cre71-h03-89-88-44-27.dsl.sta.abo.bbox.fr) (Quit: leaving)
19:49:58 kenaryn joins (~aurele@89-88-44-27.abo.bbox.fr)
19:50:14 Sauvin joins (~sauvin@about/linux/staff/sauvin)
19:50:14 <[Leary]> adamCS: I had the wrong variety of functor. I've revised the gist.
19:50:53 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Ping timeout: 255 seconds)
19:53:44 × kenran quits (~kenran@200116b82b30e6001495bd294984be31.dip.versatel-1u1.de) (Quit: WeeChat info:version)
20:10:43 MajorBiscuit joins (~MajorBisc@80.146.187.107)
20:13:57 × _ht quits (~quassel@231-169-21-31.ftth.glasoperator.nl) (Remote host closed the connection)
20:18:14 × kenaryn quits (~aurele@89-88-44-27.abo.bbox.fr) (Quit: leaving)
20:18:30 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
20:19:59 vjoki joins (~vjoki@2a00:d880:3:1::fea1:9ae)
20:23:32 × cosimone quits (~user@2001:b07:ae5:db26:d65d:394e:5e03:ecd7) (Remote host closed the connection)
20:24:54 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
20:25:55 × vjoki quits (~vjoki@2a00:d880:3:1::fea1:9ae) (Quit: ...)
20:26:03 <adamCS> [Leary]: THanks! That's super helpful.
20:26:24 vjoki joins (~vjoki@2a00:d880:3:1::fea1:9ae)
20:26:42 × Infinite quits (~Infinite@49.39.113.101) (Ping timeout: 252 seconds)
20:31:07 stackdroid18 joins (14094@user/stackdroid)
20:33:46 dsrt^ joins (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net)
20:35:24 × cyphase quits (~cyphase@user/cyphase) (Ping timeout: 272 seconds)
20:36:58 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
20:40:13 cyphase joins (~cyphase@user/cyphase)
20:40:52 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
20:43:04 × cyphase quits (~cyphase@user/cyphase) (Excess Flood)
20:43:20 cyphase joins (~cyphase@user/cyphase)
20:45:57 Everything joins (~Everythin@37.115.210.35)
20:49:30 × shapr quits (~user@pool-173-73-44-186.washdc.fios.verizon.net) (Remote host closed the connection)
20:52:40 flinner joins (~flinner@user/flinner)
21:07:33 pavonia joins (~user@user/siracusa)
21:07:38 machinedgod joins (~machinedg@24.105.81.50)
21:09:14 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
21:13:07 Pickchea joins (~private@user/pickchea)
21:17:53 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
21:20:26 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
21:21:44 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
21:22:07 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
21:22:50 × zebrag quits (~chris@user/zebrag) (Ping timeout: 240 seconds)
21:23:34 zebrag joins (~chris@user/zebrag)
21:24:38 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
21:26:49 zeenk joins (~zeenk@2a02:2f04:a104:ef00:10:581:f80f:b980)
21:35:46 × MajorBiscuit quits (~MajorBisc@80.146.187.107) (Ping timeout: 246 seconds)
21:38:03 MajorBiscuit joins (~MajorBisc@80.146.187.107)
21:40:19 × k8yun quits (~k8yun@user/k8yun) (Ping timeout: 246 seconds)
21:48:09 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
21:48:46 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
21:51:38 renzhi joins (~xp@2607:fa49:6500:b100::2dea)
21:53:05 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Ping timeout: 260 seconds)
21:55:44 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 258 seconds)
21:58:56 acat joins (~acat__@132.255.9.33)
21:59:37 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
22:00:11 × phma quits (~phma@host-67-44-209-30.hnremote.net) (Read error: Connection reset by peer)
22:00:25 × flinner quits (~flinner@user/flinner) (Remote host closed the connection)
22:03:10 × michalz quits (~michalz@185.246.204.122) (Remote host closed the connection)
22:04:41 × CiaoSen quits (~Jura@p200300c9571e4b002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
22:05:28 phma joins (~phma@2001:5b0:211f:4558:378e:f00c:29a5:2a62)
22:06:29 × MajorBiscuit quits (~MajorBisc@80.146.187.107) (Ping timeout: 244 seconds)
22:08:00 × renzhi quits (~xp@2607:fa49:6500:b100::2dea) (Ping timeout: 258 seconds)
22:08:02 × chomwitt quits (~chomwitt@2a02:587:dc1e:cc00:8ece:d1c3:481c:8e10) (Ping timeout: 260 seconds)
22:08:18 MajorBiscuit joins (~MajorBisc@c-001-015-032.client.tudelft.eduvpn.nl)
22:08:35 × acat quits (~acat__@132.255.9.33) (Quit: Leaving)
22:13:34 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
22:20:31 × coot quits (~coot@213.134.190.95) (Ping timeout: 276 seconds)
22:21:08 × phma quits (~phma@2001:5b0:211f:4558:378e:f00c:29a5:2a62) (Read error: Connection reset by peer)
22:22:50 × romesrf quits (~romes@185.5.8.134) (Quit: WeeChat 3.4.1)
22:24:09 phma joins (~phma@2001:5b0:212a:cf68:bd21:e2c6:dbfb:9709)
22:24:41 × phma quits (~phma@2001:5b0:212a:cf68:bd21:e2c6:dbfb:9709) (Read error: Connection reset by peer)
22:25:10 × acidjnk quits (~acidjnk@p200300d0c7068b30b098d604dddded4a.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
22:29:00 × Everything quits (~Everythin@37.115.210.35) (Quit: leaving)
22:31:56 × MajorBiscuit quits (~MajorBisc@c-001-015-032.client.tudelft.eduvpn.nl) (Ping timeout: 272 seconds)
22:31:59 × merijn quits (~merijn@c-001-001-011.client.esciencecenter.eduvpn.nl) (Ping timeout: 255 seconds)
22:34:07 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 256 seconds)
22:34:27 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:40:36 phma joins (phma@2001:5b0:211f:99c8:1e56:814f:39a7:4c4f)
22:40:54 × anon15041149 quits (~anon15041@host-80-41-95-245.as13285.net) (Ping timeout: 252 seconds)
22:41:47 × dsrt^ quits (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net) (Ping timeout: 240 seconds)
22:41:49 × phma quits (phma@2001:5b0:211f:99c8:1e56:814f:39a7:4c4f) (Read error: Connection reset by peer)
22:42:13 phma joins (~phma@host-67-44-208-37.hnremote.net)
22:43:36 dsrt^ joins (~dsrt@c-24-126-228-147.hsd1.ga.comcast.net)
22:47:06 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
22:50:10 × werneta quits (~werneta@137.79.219.99) (Ping timeout: 258 seconds)
22:50:49 × ubert quits (~Thunderbi@p200300ecdf3b99c36d3ba42fb5eab692.dip0.t-ipconnect.de) (Quit: ubert)
22:50:59 werneta joins (~werneta@137.78.30.207)
22:55:31 × zeenk quits (~zeenk@2a02:2f04:a104:ef00:10:581:f80f:b980) (Quit: Konversation terminated!)
22:57:14 × Tuplanolla quits (~Tuplanoll@91-159-68-39.elisa-laajakaista.fi) (Quit: Leaving.)
23:07:23 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Remote host closed the connection)
23:07:47 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
23:08:34 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds)
23:12:29 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 255 seconds)
23:14:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
23:14:42 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
23:16:22 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:16:52 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 260 seconds)
23:19:22 yauhsien joins (~yauhsien@61-231-39-34.dynamic-ip.hinet.net)
23:23:54 × yauhsien quits (~yauhsien@61-231-39-34.dynamic-ip.hinet.net) (Ping timeout: 258 seconds)
23:24:32 × jrm quits (~jrm@156.34.173.250) (Quit: ciao)
23:24:50 jrm joins (~jrm@156.34.173.250)
23:26:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
23:26:35 <Axman6> o/
23:28:27 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
23:29:27 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:37:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
23:38:29 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
23:38:29 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
23:38:29 wroathe joins (~wroathe@user/wroathe)
23:39:10 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:42:59 <EvanR> \o
23:43:29 <geekosaur> \o/
23:43:42 <Axman6> Connection established!
23:47:05 <hpc> lmao
23:48:34 alx741 joins (~alx741@host-186-3-154-11.netlife.ec)
23:50:28 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575)
23:50:47 × alx741 quits (~alx741@host-186-3-154-11.netlife.ec) (Read error: Connection reset by peer)
23:51:23 anon15041149 joins (~anon15041@host-80-41-95-245.as13285.net)
23:54:47 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f100:eba8:305a:4575) (Ping timeout: 255 seconds)
23:59:56 <dragestil> does anyone know if integer-gmp has a source forge link? https://hackage.haskell.org/package/integer-gmp

All times are in UTC on 2022-05-23.