Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 33 34 35 36 37 38 39 40 41 42 43 .. 17898
1,789,735 events total
2021-05-23 02:41:31 × td_ quits (~td@94.134.91.158) (Ping timeout: 272 seconds)
2021-05-23 02:41:40 <boxscape> hmm
2021-05-23 02:41:43 <nshepperd> you can wrap the resulting STRef in an existential container to hide the s, in which case yes, the result is in some sense different but the difference is useless
2021-05-23 02:42:08 × xkapastel quits (uid17782@id-17782.tinside.irccloud.com) (Quit: Connection closed for inactivity)
2021-05-23 02:42:39 td_ joins (~td@muedsl-82-207-238-244.citykom.de)
2021-05-23 02:44:36 <nshepperd> what i said is really just a complicated way of saying 'runST foo is referentially transparent'
2021-05-23 02:44:39 slice joins (~slice@user/slice)
2021-05-23 02:45:15 <dmwit> stToIO lets you return it without wrapping in an existential. Yes, runST foo is referentially transparent but my read of the question is that we are explicitly asking about the unsafe version where we don't use runST.
2021-05-23 02:46:40 <dmwit> Here's a better example of my objection: if you wrote `main = do { x <- stToIO (newSTRef 'a'); y <- stToIO (newSTRef 'b'); print (a == b) }` I think GHC would be within its rights to make a program that sometimes printed True and sometimes False.
2021-05-23 02:47:48 <dmwit> Okay, I had to use stToIO on two actions instead of just one. But I think this is still in the spirit of boxscape's inquiry.
2021-05-23 02:48:00 <boxscape> I think so
2021-05-23 02:49:39 <nshepperd> a == b?
2021-05-23 02:49:47 <dmwit> Yes. STRef implements Eq.
2021-05-23 02:49:52 <boxscape> x == y
2021-05-23 02:49:59 <dmwit> Oh, sorry. Yes, x == y
2021-05-23 02:50:01 <dmwit> lol
2021-05-23 02:52:09 <nshepperd> what this tells us is that it's important that the s in forall s. ST s Something is not free in Something
2021-05-23 02:52:43 <boxscape> ah, interesting
2021-05-23 02:52:48 <dmwit> Yes. That is exactly the constraint that runST enforces.
2021-05-23 02:53:27 <dmwit> If you restrict your stToIO'ing to things you could have runST'd in the first place, sure, you're safe. But then... why didn't you just runST it?
2021-05-23 02:54:09 <boxscape> because the original question was about IO :)
2021-05-23 02:54:36 <boxscape> but yeah, fair point
2021-05-23 02:54:46 <dmwit> Okay. Well, IO Something is even more emphatically not guaranteed to produce the same Something every time.
2021-05-23 02:55:00 <boxscape> yeah
2021-05-23 02:55:29 <boxscape> the question basically became, what restrictions do we have to impose to make it so
2021-05-23 02:55:57 willbush joins (~user@47.183.200.14)
2021-05-23 02:56:43 × whosit quits (~whosit@109.252.95.147) (Ping timeout: 272 seconds)
2021-05-23 02:57:24 ddellacosta joins (~ddellacos@86.106.121.108)
2021-05-23 02:58:23 <dmwit> I think it's hard to safely do much better than ST. I think there's some work out there on using concurrency as an implementation technique, but making it safe by exposing an API that only allows parallelism.
2021-05-23 02:58:46 <boxscape> I see
2021-05-23 02:58:58 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 264 seconds)
2021-05-23 03:01:26 <nshepperd> lvish, wasn't it? that whole lattice based framework for 'deterministic parallelism'
2021-05-23 03:01:49 × ddellacosta quits (~ddellacos@86.106.121.108) (Ping timeout: 244 seconds)
2021-05-23 03:02:24 <dmwit> Yeah. There's been a couple attempts, I think, though my recollection is that one is the most sophisticated of them.
2021-05-23 03:02:44 × exzeta__ quits (~exzeta@client-8-84.eduroam.oxuni.org.uk) (Ping timeout: 252 seconds)
2021-05-23 03:03:37 × willbush quits (~user@47.183.200.14) (Remote host closed the connection)
2021-05-23 03:06:49 na joins (~na@user/na)
2021-05-23 03:08:11 whosit joins (~whosit@109-252-95-147.nat.spd-mgts.ru)
2021-05-23 03:09:15 qualiaqq joins (~user@47.183.200.14)
2021-05-23 03:09:27 × boxscape quits (4ff0bb95@user/boxscape) (Quit: Ping timeout (120 seconds))
2021-05-23 03:09:46 boxscape joins (4ff0bb95@user/boxscape)
2021-05-23 03:15:46 × whosit quits (~whosit@109-252-95-147.nat.spd-mgts.ru) (Ping timeout: 264 seconds)
2021-05-23 03:15:54 × smitop quits (uid328768@user/smitop) (Quit: Connection closed for inactivity)
2021-05-23 03:16:23 whosit joins (~whosit@109.252.95.147)
2021-05-23 03:16:27 na parts (~na@user/na) (WeeChat 3.0)
2021-05-23 03:17:15 <V> liv: which V are you thinking of? :o
2021-05-23 03:17:27 Lord_of_Life joins (~Lord@46.217.220.205)
2021-05-23 03:18:54 × Lord_of_Life_ quits (~Lord@46.217.217.138) (Ping timeout: 264 seconds)
2021-05-23 03:21:01 Guest59 joins (4492768b@107.161.19.109)
2021-05-23 03:21:09 Guest59 is now known as Genius
2021-05-23 03:24:59 × pfurla quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (Quit: Textual IRC Client: www.textualapp.com)
2021-05-23 03:28:01 pfurla joins (~pfurla@ool-182ed2e2.dyn.optonline.net)
2021-05-23 03:28:22 × boxscape quits (4ff0bb95@user/boxscape) (Ping timeout: 264 seconds)
2021-05-23 03:29:03 zvijezda joins (~space-mar@c-73-239-80-24.hsd1.wa.comcast.net)
2021-05-23 03:31:37 × bitmapper quits (uid464869@id-464869.tooting.irccloud.com) (Quit: Connection closed for inactivity)
2021-05-23 03:31:58 × whosit quits (~whosit@109.252.95.147) (Ping timeout: 264 seconds)
2021-05-23 03:32:22 boxscape joins (4ff0bb95@user/boxscape)
2021-05-23 03:32:49 × hendi quits (sid489601@id-489601.tooting.irccloud.com) (Ping timeout: 272 seconds)
2021-05-23 03:32:59 × rizary_andika_ quits (sid220347@id-220347.tooting.irccloud.com) (Ping timeout: 252 seconds)
2021-05-23 03:33:39 whosit joins (~whosit@109-252-95-147.nat.spd-mgts.ru)
2021-05-23 03:34:05 × JSharp quits (sid4580@id-4580.tooting.irccloud.com) (Ping timeout: 272 seconds)
2021-05-23 03:34:05 × enemeth79 quits (sid309041@id-309041.tooting.irccloud.com) (Ping timeout: 272 seconds)
2021-05-23 03:34:05 × doc1 quits (~doc@61.68.250.44) (Quit: WeeChat 3.1)
2021-05-23 03:34:20 doc1 joins (~doc@61.68.250.44)
2021-05-23 03:34:27 <pavonia> This V perhaps: https://en.wikipedia.org/wiki/V_(character) :3
2021-05-23 03:34:58 × steve-chavez quits (~steve-cha@190.237.35.83) (Ping timeout: 264 seconds)
2021-05-23 03:35:27 JSharp joins (sid4580@id-4580.tooting.irccloud.com)
2021-05-23 03:35:31 rizary_andika_ joins (sid220347@id-220347.tooting.irccloud.com)
2021-05-23 03:35:34 hendi joins (sid489601@id-489601.tooting.irccloud.com)
2021-05-23 03:36:58 enemeth79 joins (sid309041@id-309041.tooting.irccloud.com)
2021-05-23 03:46:05 × bilegeek quits (~bilegeek@2600:1008:b01f:f38c:3168:4441:25c3:560f) (Quit: Leaving)
2021-05-23 03:46:26 × liv quits (~liv@bras-base-burlon0233w-grc-86-70-30-52-48.dsl.bell.ca) (Ping timeout: 264 seconds)
2021-05-23 03:51:58 × charukiewicz quits (~quassel@irouteince04.i.subnet.rcn.com) (Read error: Connection reset by peer)
2021-05-23 03:54:13 sm joins (~sm@172.56.44.220)
2021-05-23 03:54:13 × sm quits (~sm@172.56.44.220) (Changing host)
2021-05-23 03:54:13 sm joins (~sm@plaintextaccounting/sm)
2021-05-23 03:54:59 charukiewicz joins (~quassel@irouteince04.i.subnet.rcn.com)
2021-05-23 03:55:18 justsomeguy parts (~chris@24.96.241.90) (WeeChat 3.0.1)
2021-05-23 03:58:03 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
2021-05-23 03:59:02 × zvijezda quits (~space-mar@c-73-239-80-24.hsd1.wa.comcast.net) (Ping timeout: 264 seconds)
2021-05-23 04:01:03 MidAutumnMoon joins (~MidAutumn@user/midautumnmoon)
2021-05-23 04:02:46 ornxka_ is now known as ornxka
2021-05-23 04:05:35 bilegeek joins (~bilegeek@2600:1008:b01f:f38c:3168:4441:25c3:560f)
2021-05-23 04:07:16 × ornxka quits (~ornxka@207.246.90.152) (Changing host)
2021-05-23 04:07:16 ornxka joins (~ornxka@user/ornxka)
2021-05-23 04:08:29 sm joins (~sm@172.56.44.220)
2021-05-23 04:08:29 × sm quits (~sm@172.56.44.220) (Changing host)
2021-05-23 04:08:29 sm joins (~sm@plaintextaccounting/sm)
2021-05-23 04:13:48 × cdsmith quits (~cdsmithus@c-73-184-127-183.hsd1.ga.comcast.net) (Read error: Connection reset by peer)
2021-05-23 04:14:31 × Adran quits (~adran@user/adran) (Quit: Este é o fim.)
2021-05-23 04:14:56 × juhp quits (~juhp@128.106.188.199) (Quit: juhp)
2021-05-23 04:15:10 juhp joins (~juhp@128.106.188.199)
2021-05-23 04:15:51 × sm quits (~sm@plaintextaccounting/sm) (Read error: Connection reset by peer)
2021-05-23 04:17:59 Adran joins (~adran@user/adran)
2021-05-23 04:19:16 sm joins (~igloo@172.56.44.220)
2021-05-23 04:28:30 oats is now known as ot
2021-05-23 04:33:06 × sm quits (~igloo@172.56.44.220) ()
2021-05-23 04:34:01 sm joins (~igloo@172.56.44.220)
2021-05-23 04:34:38 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-05-23 04:37:39 × sm quits (~igloo@172.56.44.220) (Client Quit)
←Prev  Next→
Page 1 .. 33 34 35 36 37 38 39 40 41 42 43 .. 17898

All times are in UTC.