Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-21 15:26:15 × bitmagie quits (~Thunderbi@200116b8063572001499edd4f9d505b9.dip.versatel-1u1.de) (Quit: bitmagie)
2021-04-21 15:27:04 <cjay> I recently learned that you can just download a cabal.project from stackage that freezes all package versions to the stackage snapshot
2021-04-21 15:27:13 <cjay> so you can use stackage without using stack
2021-04-21 15:27:25 <carbolymer> ^ yeah I was just wondering about that
2021-04-21 15:27:31 <timCF> cjay: wow, that's cool!
2021-04-21 15:27:37 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Quit: WeeChat 3.0.1)
2021-04-21 15:27:39 <carbolymer> if it would be possible to pin the versions without causing breakage
2021-04-21 15:27:43 <carbolymer> in cabal
2021-04-21 15:27:57 <timCF> cjay: do you have any example/links how to do so?
2021-04-21 15:28:30 <cjay> you go to the stackage snapshot, and add cabal.config to the url, like with https://www.stackage.org/lts-17.9/cabal.config
2021-04-21 15:28:40 <geekosaur> cabal has freeze files that can pin versions, stackage would just be providing one that covered a particular stackage release
2021-04-21 15:29:19 Sornaensis joins (~Sornaensi@79.142.232.102.static.router4.bolignet.dk)
2021-04-21 15:29:26 <timCF> cjay: that's simple! Thanks!
2021-04-21 15:29:48 falafel_ joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net)
2021-04-21 15:29:51 × v01d4lph4 quits (~v01d4lph4@27.57.103.213) (Ping timeout: 260 seconds)
2021-04-21 15:30:09 <cjay> :)
2021-04-21 15:31:09 <timCF> also I was thinking that nix-shell with some pinned version of nixpkgs might be nice replacement for stackage. I'm using nix for builds, and stackage for local development. But maybe stack just become irrelevant if I'll switch completely to nixpkgs
2021-04-21 15:32:11 × Sorny quits (~Sornaensi@077213200034.dynamic.telenor.dk) (Ping timeout: 265 seconds)
2021-04-21 15:32:23 horatiohb joins (~horatiohb@138.197.103.32)
2021-04-21 15:32:24 timCF_ joins (~i.tkachuk@254-149-20-81.sta.estpak.ee)
2021-04-21 15:34:19 ubert joins (~Thunderbi@62-47-7-125.adsl.highway.telekom.at)
2021-04-21 15:34:21 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
2021-04-21 15:36:03 × ericsagnes quits (~ericsagne@2405:6580:0:5100:dde9:bfa7:6f37:dd87) (Ping timeout: 260 seconds)
2021-04-21 15:36:11 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 240 seconds)
2021-04-21 15:37:38 <whataday> since IO isn't a data constructor, how to express IO in value level?
2021-04-21 15:37:46 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-04-21 15:38:06 Lycurgus joins (~niemand@98.4.118.65)
2021-04-21 15:38:28 <whataday> except 'return 3' , which value would have type MaybeT IO Int?
2021-04-21 15:38:32 Deide1 joins (~Deide@217.155.19.23)
2021-04-21 15:39:29 rj joins (~x@gateway/tor-sasl/rj)
2021-04-21 15:39:38 malumore joins (~malumore@151.62.122.70)
2021-04-21 15:39:56 <Taneb> :t liftIO readLn :: MaybeT IO Int
2021-04-21 15:39:58 <lambdabot> MaybeT IO Int
2021-04-21 15:40:36 <timCF_> whataday: what's wrong with `return`? It's valid constructor for IO
2021-04-21 15:41:01 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-04-21 15:41:32 × Deide quits (~Deide@217.155.19.23) (Ping timeout: 240 seconds)
2021-04-21 15:41:53 <whataday> how I can return Nothing?
2021-04-21 15:42:15 <Taneb> :t mzero :: MaybeT IO Int
2021-04-21 15:42:17 <lambdabot> MaybeT IO Int
2021-04-21 15:42:21 <Taneb> :t MaybeT Nothing :: MaybeT IO Int
2021-04-21 15:42:23 <lambdabot> error:
2021-04-21 15:42:23 <lambdabot> • Couldn't match type ‘Maybe’ with ‘IO’
2021-04-21 15:42:23 <lambdabot> Expected type: MaybeT IO Int
2021-04-21 15:42:29 <Taneb> :t MaybeT (return Nothing) :: MaybeT IO Int
2021-04-21 15:42:31 <lambdabot> MaybeT IO Int
2021-04-21 15:42:32 × malumore_ quits (~malumore@151.62.122.70) (Ping timeout: 240 seconds)
2021-04-21 15:42:39 <Taneb> :t empty :: MaybeT IO Int
2021-04-21 15:42:41 <lambdabot> MaybeT IO Int
2021-04-21 15:42:41 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
2021-04-21 15:42:45 <Taneb> whataday: pick your favourite
2021-04-21 15:44:20 <whataday> I see
2021-04-21 15:47:34 Sorna joins (~Sornaensi@077213200034.dynamic.telenor.dk)
2021-04-21 15:48:34 ericsagnes joins (~ericsagne@2405:6580:0:5100:d0df:45b4:dde8:f059)
2021-04-21 15:48:46 × tmciver quits (~tmciver@cpe-172-101-40-226.maine.res.rr.com) (Ping timeout: 240 seconds)
2021-04-21 15:50:54 tmciver joins (~tmciver@cpe-172-101-40-226.maine.res.rr.com)
2021-04-21 15:52:01 × Sornaensis quits (~Sornaensi@79.142.232.102.static.router4.bolignet.dk) (Ping timeout: 260 seconds)
2021-04-21 15:53:43 × timCF_ quits (~i.tkachuk@254-149-20-81.sta.estpak.ee) (Quit: leaving)
2021-04-21 15:54:59 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-04-21 15:57:21 × chele quits (~chele@5.53.222.202) (Remote host closed the connection)
2021-04-21 15:58:42 nineonine joins (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944)
2021-04-21 16:04:56 × nineonine quits (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944) (Ping timeout: 245 seconds)
2021-04-21 16:06:19 × falafel_ quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 252 seconds)
2021-04-21 16:07:20 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
2021-04-21 16:07:33 falafel_ joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net)
2021-04-21 16:09:05 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-21 16:12:15 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
2021-04-21 16:13:53 × myShoggoth quits (~myShoggot@75.164.11.109) (Remote host closed the connection)
2021-04-21 16:14:12 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-21 16:14:17 myShoggoth joins (~myShoggot@75.164.11.109)
2021-04-21 16:15:35 × xsperry quits (~as@unaffiliated/xsperry) ()
2021-04-21 16:18:11 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
2021-04-21 16:19:11 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-21 16:19:40 Ccasesvilla joins (4a4fd19e@cpe-74-79-209-158.twcny.res.rr.com)
2021-04-21 16:21:18 <safinaskar> merijn: cjay: carbolymer: tomsmeding: geekosaur:  shortly after haskell foundation (hf) announcement someone wrote to hf mailing list asking to "Do something about Cabal". i. e. the poster asked hf to spend money for fixing long standing cabal problems. https://mail.haskell.org/pipermail/hf-discuss/2020-December/thread.html
2021-04-21 16:21:28 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Quit: WeeChat 3.0.1)
2021-04-21 16:22:26 <carbolymer> I think I saw that, I don't remember the outcome from this discussion though
2021-04-21 16:22:29 <sclv> well development stalled a bit as some active maintainers became inactive, but lately there's been a lot more activity again
2021-04-21 16:22:41 <sclv> with a whole new wave of people becoming involved
2021-04-21 16:22:53 <sclv> that's just the lifecycle of long running software projects
2021-04-21 16:22:54 × ram19890 quits (~ram@183.83.155.58) (Read error: No route to host)
2021-04-21 16:23:11 ram19890 joins (~ram@183.83.155.58)
2021-04-21 16:23:27 <geekosaur> I'm finding modern cabal fairly congenial, aside from lots of extra files (cabal.project cabal.project.local cabal.freeze etc.)
2021-04-21 16:23:43 × pavonia quits (~user@unaffiliated/siracusa) (Quit: Bye!)
2021-04-21 16:24:06 <sclv> yeah i mean the work that's stalled is like experience improvements 90% (better docs, easier command discoverability, convenience flags)
2021-04-21 16:24:23 <sclv> the other 10% is "power features" where there are rough edges, like hpc support being dodgy, etc
2021-04-21 16:24:37 × falafel_ quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Remote host closed the connection)
2021-04-21 16:24:43 × kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Remote host closed the connection)
2021-04-21 16:25:08 safinaskar parts (6dfc5a88@109.252.90.136) ()
2021-04-21 16:25:16 falafel_ joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net)
2021-04-21 16:26:12 × falafel_ quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Remote host closed the connection)
2021-04-21 16:26:31 falafel_ joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net)
2021-04-21 16:26:51 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
2021-04-21 16:27:38 <tomsmeding> they left :p
2021-04-21 16:27:43 michalz joins (~user@185.246.204.47)
2021-04-21 16:28:05 <dolio> That original mail doesn't seem like it's based on a realistic picture of why there are two build systems in teh first place.
2021-04-21 16:28:42 Ariakenom joins (~Ariakenom@2001:9b1:efb:fc00:4cdc:6166:590b:6cfe)
2021-04-21 16:31:33 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
2021-04-21 16:32:14 nineonine joins (~nineonine@2604:3d08:7785:9600:5c9e:8d21:d745:3944)
2021-04-21 16:32:51 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 245 seconds)
2021-04-21 16:33:45 kritzefitz joins (~kritzefit@212.86.56.80)

All times are in UTC.