Home liberachat/#haskell: Logs Calendar

Logs on 2024-08-22 (liberachat/#haskell)

00:00:57 Lumia joins (~Lumia@user/Lumia)
00:04:27 sp1ff joins (~user@c-73-11-70-111.hsd1.wa.comcast.net)
00:10:09 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:10:51 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 246 seconds)
00:14:42 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
00:14:50 × spew quits (~spew@2806:2a0:1522:8662::d568) (Remote host closed the connection)
00:18:39 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 260 seconds)
00:24:30 × sp1ff quits (~user@c-73-11-70-111.hsd1.wa.comcast.net) (Ping timeout: 246 seconds)
00:25:34 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:26:27 troojg joins (~troojg@user/troojg)
00:27:09 × forell quits (~forell@user/forell) (Ping timeout: 276 seconds)
00:29:56 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
00:40:59 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:45:35 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
00:59:42 wroathe joins (~wroathe@mobile-166-175-58-124.mycingular.net)
00:59:42 × wroathe quits (~wroathe@mobile-166-175-58-124.mycingular.net) (Changing host)
00:59:42 wroathe joins (~wroathe@user/wroathe)
01:00:34 × esnos quits (~user@176.106.34.161) (Ping timeout: 244 seconds)
01:01:28 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:02:21 Sgeo joins (~Sgeo@user/sgeo)
01:05:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
01:07:34 × tinwood quits (~tinwood@canonical/tinwood) (Read error: Connection reset by peer)
01:10:30 tinwood joins (~tinwood@general.default.akavanagh.uk0.bigv.io)
01:10:30 × tinwood quits (~tinwood@general.default.akavanagh.uk0.bigv.io) (Changing host)
01:10:30 tinwood joins (~tinwood@canonical/tinwood)
01:11:22 × machinedgod quits (~machinedg@d50-99-47-73.abhsia.telus.net) (Ping timeout: 252 seconds)
01:11:49 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
01:16:54 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:18:41 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 260 seconds)
01:20:24 ec joins (~ec@gateway/tor-sasl/ec)
01:21:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
01:25:32 × naxx quits (~brandt@177.191-pool-nas4-sc.sccoast.net) (Quit: WeeChat 4.4.1)
01:32:05 youthlic joins (~Thunderbi@user/youthlic)
01:32:20 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:37:01 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
01:42:46 <haskellbridge> <thirdofmay18081814goya> how do I recurse in this fashion?
01:42:46 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/CmOqWlcLzUZizmURmnYiHGeE (4 lines)
01:43:45 <Axman6> > iterate (f i) a
01:43:47 <lambdabot> [a,f i a,f i (f i a),f i (f i (f i a)),f i (f i (f i (f i a))),f i (f i (f i...
01:43:57 <Axman6> hmm, not quite
01:44:31 <Axman6> > scanl f i (repeat a)
01:44:33 <lambdabot> [i,f i a,f (f i a) a,f (f (f i a) a) a,f (f (f (f i a) a) a) a,f (f (f (f (f...
01:45:09 <geekosaur> > scanl (*) i (repeat a)
01:45:10 <lambdabot> [i,i * a,i * a * a,i * a * a * a,i * a * a * a * a,i * a * a * a * a * a,i *...
01:47:43 <haskellbridge> <thirdofmay18081814goya> thanks!!
01:47:45 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:52:26 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
01:56:51 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
01:57:20 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Quit: ZNC 1.8.2 - https://znc.in)
01:57:57 <haskellbridge> <thirdofmay18081814goya> out of curiosity, is there a lower level approach?
01:58:41 wroathe joins (~wroathe@user/wroathe)
01:59:04 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
01:59:29 <haskellbridge> <thirdofmay18081814goya> through an explicit call to a recursing function
02:01:21 <haskellbridge> <thirdofmay18081814goya> * a self-referential function definition
02:01:23 <Axman6> I;m not sure what you mean
02:01:41 <Axman6> sure, you could write that trivially
02:02:07 <Axman6> you could even use fix
02:02:23 <haskellbridge> <thirdofmay18081814goya> there's my excuse to learn about fix, ty!
02:03:05 <Axman6> I'm struggling to think how you'd do it with fix, but it's definitely possible
02:03:11 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:05:14 <Axman6> but they should all compile to exactly the same thing. if the scanl approach makes sense there's no good reason to use anything else
02:05:41 <monochrom> Just use fix to implement scanl.
02:06:21 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 246 seconds)
02:07:44 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
02:12:56 × td_ quits (~td@2001:9e8:19ef:c000:ffa3:e2b2:2abd:18d) (Ping timeout: 272 seconds)
02:14:25 td_ joins (~td@i53870905.versanet.de)
02:18:35 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:26:10 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
02:28:43 × youthlic quits (~Thunderbi@user/youthlic) (Ping timeout: 252 seconds)
02:29:40 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
02:34:25 × Square2 quits (~Square4@user/square) (Ping timeout: 248 seconds)
02:34:45 × ZharMeny quits (~user@user/ZharMeny) (Quit: ))
02:35:36 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:36:53 youthlic joins (~Thunderbi@user/youthlic)
02:37:11 <albet70> why [] :: [[Int]] is ok?
02:37:29 × troojg quits (~troojg@user/troojg) (Ping timeout: 260 seconds)
02:38:55 <monochrom> Why not?
02:39:13 <monochrom> [] :: [A] is ok regardless of A. Oh today A = [Int].
02:39:43 [[[[]]]] joins (~Square@user/square)
02:39:52 <albet70> like Nothing :: Maybe (Maybe a)?
02:40:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
02:40:37 drdo9 joins (~drdo@bl5-29-74.dsl.telepac.pt)
02:42:21 × drdo quits (~drdo@bl5-29-74.dsl.telepac.pt) (Ping timeout: 276 seconds)
02:42:21 drdo9 is now known as drdo
02:44:13 <albet70> I see, thanks
02:47:10 [[[[]]]] is now known as Square
02:47:14 × drdo quits (~drdo@bl5-29-74.dsl.telepac.pt) (Ping timeout: 248 seconds)
02:47:50 drdo joins (~drdo@bl5-29-74.dsl.telepac.pt)
02:51:02 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:54:50 × youthlic quits (~Thunderbi@user/youthlic) (Quit: youthlic)
02:55:16 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
02:58:18 youthlic joins (~Thunderbi@user/youthlic)
03:06:29 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:10:50 sp1ff joins (~user@c-73-11-70-111.hsd1.wa.comcast.net)
03:11:36 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
03:18:46 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
03:19:39 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
03:19:42 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 252 seconds)
03:20:08 Lord_of_Life_ is now known as Lord_of_Life
03:21:53 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:22:42 × Lumia quits (~Lumia@user/Lumia) (Quit: ,-)
03:27:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
03:32:06 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 246 seconds)
03:38:03 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:40:47 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Quit: ZNC 1.8.2 - https://znc.in)
03:41:58 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
03:42:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
03:43:14 <jle`> albet70: you could even have Nothing :: Maybe [a]
03:43:25 <jle`> the possibilities are endless
03:43:32 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Client Quit)
03:44:04 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
03:46:29 × aforemny quits (~aforemny@2001:9e8:6cd8:300:d2fa:27f2:48df:38f7) (Ping timeout: 248 seconds)
03:46:30 aforemny_ joins (~aforemny@2001:9e8:6cfb:6100:1f03:1efe:ee71:8e27)
03:53:29 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:58:13 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
04:04:13 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
04:05:07 wroathe joins (~wroathe@mobile-166-175-58-124.mycingular.net)
04:05:07 × wroathe quits (~wroathe@mobile-166-175-58-124.mycingular.net) (Changing host)
04:05:07 wroathe joins (~wroathe@user/wroathe)
04:08:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:09:31 <Inst> which does get me to thinking
04:09:48 <Inst> [] :: [a], does it imply some form of subtyping?
04:10:05 <Inst> as in, would [] :: [Int] be a subtype of [a]?
04:13:41 <Leary> Inst: With some care for your quantifiers, we have `forall a. F a` <: `F A`. Also: https://gist.github.com/LSLeary/0d3bf054f73c08910a6da2cfb49a4c28
04:13:44 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
04:16:48 <Leary> With an `exists` quantifier we would also have an upper bound: `F A` <: `exists a. F a`
04:24:21 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:24:57 × Square quits (~Square@user/square) (Ping timeout: 246 seconds)
04:28:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
04:30:22 <haskellbridge> <thirdofmay18081814goya> wrt. an implementation with "fix", it's not quite "fix (\x -> x ``f`` a)" nor "i ``f`` (fix (\x -> x ``f`` a)"
04:32:28 × youthlic quits (~Thunderbi@user/youthlic) (Ping timeout: 245 seconds)
04:32:32 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
04:35:53 <Axman6> the easiest mechanical translation would be to expand out the definition of scanl and replace all calls to scanl f z with the first argument to the lambda
04:35:56 <Axman6> @src scanl
04:35:56 <lambdabot> scanl f q ls = q : case ls of
04:35:56 <lambdabot> [] -> []
04:35:56 <lambdabot> x:xs -> scanl f (f q x) xs
04:36:37 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:41:57 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
04:45:05 shailangsa joins (~shailangs@host86-185-58-242.range86-185.btcentralplus.com)
04:46:30 michalz joins (~michalz@185.246.207.205)
04:48:21 youthlic joins (~Thunderbi@user/youthlic)
04:52:02 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:52:16 <haskellbridge> <thirdofmay18081814goya> hm i see
04:56:58 × tcard_ quits (~tcard@2400:4051:5801:7500:1e90:74c3:2754:ce8a) (Read error: Connection reset by peer)
04:56:59 tcard__ joins (~tcard@2400:4051:5801:7500:1e90:74c3:2754:ce8a)
04:56:59 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
05:02:06 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 276 seconds)
05:03:44 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
05:05:21 × rvalue quits (~rvalue@user/rvalue) (Ping timeout: 276 seconds)
05:07:28 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:11:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
05:17:18 <Axman6> > take 5 $ fix (\rec x -> x : rec (x `f` a)) i
05:17:19 <lambdabot> [i,f i a,f (f i a) a,f (f (f i a) a) a,f (f (f (f i a) a) a) a]
05:22:53 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:23:43 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
05:23:45 <haskellbridge> <thirdofmay18081814goya> Axman6: very cool! thanks
05:27:15 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
05:29:47 forell joins (~forell@user/forell)
05:30:02 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
05:30:47 × xff0x quits (~xff0x@ai080132.d.east.v6connect.net) (Ping timeout: 244 seconds)
05:31:23 × ft quits (~ft@p4fc2a393.dip0.t-ipconnect.de) (Quit: leaving)
05:37:36 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:38:16 xff0x joins (~xff0x@2405:6580:b080:900:a988:bd33:e56:4b1d)
05:41:57 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
05:43:49 × jle` quits (~jle`@2603:8001:3b02:84d4:b870:ffa:630b:cc32) (Ping timeout: 248 seconds)
05:44:53 jle` joins (~jle`@2603:8001:3b02:84d4:2809:1e29:1db7:65cb)
05:47:28 neuroevolutus joins (~neuroevol@206.217.205.48)
05:53:03 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:57:06 danse-nr3 joins (~danse-nr3@user/danse-nr3)
05:57:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
06:03:13 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
06:07:46 × m1dnight quits (~christoph@78-20-63-126.access.telenet.be) (Quit: WeeChat 4.4.1)
06:08:28 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:10:01 m1dnight joins (~christoph@78-20-63-126.access.telenet.be)
06:12:24 CiaoSen joins (~Jura@2a05:5800:2d3:fb00:ca4b:d6ff:fec1:99da)
06:12:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
06:22:35 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:27:59 cfricke joins (~cfricke@user/cfricke)
06:28:25 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:32:12 lortabac joins (~lortabac@88-125-6-227.subs.proxad.net)
06:33:05 × xal quits (~xal@mx1.xal.systems) (Quit: bye)
06:33:33 xal joins (~xal@mx1.xal.systems)
06:39:31 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
06:50:59 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:55:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
06:57:02 kuribas joins (~user@2a02:1808:2:13d8:2f9b:f5f:e070:ae5e)
07:00:53 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
07:04:39 × kuribas quits (~user@2a02:1808:2:13d8:2f9b:f5f:e070:ae5e) (Ping timeout: 260 seconds)
07:06:23 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:10:58 gmg joins (~user@user/gehmehgeh)
07:11:01 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
07:12:02 acidjnk joins (~acidjnk@p200300d6e72cfb236432b07e57e26028.dip0.t-ipconnect.de)
07:21:48 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:28:27 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net)
07:31:56 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
07:35:00 <[exa]> is there some easiest canonical way to "poke" a ByteString into memory pointed to by a Ptr?
07:35:01 machinedgod joins (~machinedg@d50-99-47-73.abhsia.telus.net)
07:36:36 <jackdk> https://hackage.haskell.org/package/bytestring-0.11.2.0/docs/Data-ByteString.html#g:25 ?
07:36:57 ubert joins (~Thunderbi@77.119.163.30.wireless.dyn.drei.com)
07:40:22 <[exa]> that copies out the CString, which is a little inconvenient
07:40:47 <[exa]> at this point I found that I can do `unsafeUseAsCStringLen` and then `copyBytes` but see, there's the `unsafe` keyword there :)
07:42:44 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:43:17 <geekosaur> sadly, I think you can't do this without using unsafe functions
07:44:14 <jackdk> At which point you're copying out the bytes, aren't you?
07:49:42 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
07:51:27 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
07:51:43 × tomku quits (~tomku@user/tomku) (Ping timeout: 264 seconds)
07:51:57 tomku joins (~tomku@user/tomku)
07:55:50 paddymahoney joins (~paddymaho@pool-99-250-30-88.cpe.net.cable.rogers.com)
07:58:16 × neuroevolutus quits (~neuroevol@206.217.205.48) (Quit: Client closed)
07:58:19 <dminuoso> [exa]: Mind my asking, what is the context?
07:59:05 <dminuoso> data ByteString = BS {-# UNPACK #-} !(ForeignPtr Word8) {-# UNPACK #-} !Int
07:59:11 <dminuoso> Is there any chance you could perhaps just use the ForeignPtr itself?
08:00:44 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:05:20 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
08:08:17 × RedFlamingos quits (~RedFlamin@user/RedFlamingos) (Ping timeout: 248 seconds)
08:12:43 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
08:13:29 gmg joins (~user@user/gehmehgeh)
08:16:09 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:21:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
08:23:39 × CiaoSen quits (~Jura@2a05:5800:2d3:fb00:ca4b:d6ff:fec1:99da) (Ping timeout: 252 seconds)
08:24:28 × danse-nr3 quits (~danse-nr3@user/danse-nr3) (Quit: on the move)
08:27:33 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 248 seconds)
08:29:23 × ThePenguin quits (~ThePengui@cust-95-80-24-166.csbnet.se) (Remote host closed the connection)
08:29:56 ThePenguin joins (~ThePengui@cust-95-80-24-166.csbnet.se)
08:30:02 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
08:32:16 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:35:27 ash3en joins (~Thunderbi@2a02:3100:7f16:9100:608a:f1cc:9baf:7491)
08:38:12 <[exa]> dminuoso: actually still working on that data structure I was asking about last time... I recall it was you sending me the custom binary writer, right? :]
08:38:32 <dminuoso> I cant quite recall, I'm sorry.
08:38:45 × youthlic quits (~Thunderbi@user/youthlic) (Quit: youthlic)
08:38:46 <[exa]> np :]
08:39:28 <[exa]> I'm writing a huge skiplist where the integer sizes vary, so I have to build it from "behind" to know how much to skip (thus knowing how much to allocate for the skips)
08:39:53 <[exa]> and sometimes there's a small binary blob in the skiplist, which is in bytestring before serialization
08:40:03 <dminuoso> Oh you mean with a reverse writer?
08:40:12 <dminuoso> That sounds like something I would have told you about.
08:40:13 youthlic joins (~Thunderbi@user/youthlic)
08:41:05 cfricke joins (~cfricke@user/cfricke)
08:41:17 <[exa]> yeah I've got a generic reverse writer, write the whole thing into a dummy one to measure the size, then actually allocate (mmap) a file and write it for the reals
08:41:29 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
08:41:57 <dminuoso> Why not just realloc?
08:42:17 <dminuoso> Oh I see, file.
08:51:16 __monty__ joins (~toonn@user/toonn)
08:52:03 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:56:18 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
09:07:26 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:11:56 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net) (Remote host closed the connection)
09:12:03 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
09:12:16 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net)
09:15:19 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:16:00 danse-nr3 joins (~danse-nr3@user/danse-nr3)
09:23:24 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
09:24:10 × tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
09:24:12 × ash3en quits (~Thunderbi@2a02:3100:7f16:9100:608a:f1cc:9baf:7491) (Quit: ash3en)
09:30:56 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
09:34:05 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:38:09 Square2 joins (~Square4@user/square)
09:42:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
09:51:57 × danse-nr3 quits (~danse-nr3@user/danse-nr3) (Read error: Connection reset by peer)
09:52:39 danse-nr3 joins (~danse-nr3@user/danse-nr3)
09:52:59 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:57:27 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
10:08:25 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:10:06 × euphores quits (~SASL_euph@user/euphores) (Ping timeout: 252 seconds)
10:13:02 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
10:14:30 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 252 seconds)
10:16:57 euphores joins (~SASL_euph@user/euphores)
10:20:20 kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be)
10:21:01 <kuribas> Anyone going to munihac?
10:23:51 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:27:49 cfricke joins (~cfricke@user/cfricke)
10:28:15 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
10:34:51 rosco joins (~rosco@175.136.158.234)
10:34:55 × scubagear quits (scubagear@gateway/vpn/protonvpn/scubagear) (Ping timeout: 252 seconds)
10:38:51 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:39:28 Smiles joins (uid551636@id-551636.lymington.irccloud.com)
10:42:31 × lortabac quits (~lortabac@88-125-6-227.subs.proxad.net) (Quit: WeeChat 4.2.2)
10:43:17 ash3en joins (~Thunderbi@2a02:3100:7f16:9100:608a:f1cc:9baf:7491)
10:43:18 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
10:43:23 × ash3en quits (~Thunderbi@2a02:3100:7f16:9100:608a:f1cc:9baf:7491) (Client Quit)
10:54:16 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:56:12 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net) (Remote host closed the connection)
10:56:32 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net)
10:56:53 <dminuoso> I probably will.
10:58:43 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
11:07:09 son0p joins (~ff@2800:e6:4000:aaf9:6089:ddea:310:b3a4)
11:09:42 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:11:24 × AlexZenon quits (~alzenon@178.34.162.175) (Ping timeout: 260 seconds)
11:11:41 × flukiluke quits (~m-7humut@2603:c023:c000:6c7e:8945:ad24:9113:a962) (Remote host closed the connection)
11:12:15 × AlexNoo quits (~AlexNoo@178.34.162.175) (Ping timeout: 252 seconds)
11:12:48 flukiluke joins (~m-7humut@2603:c023:c000:6c7e:8945:ad24:9113:a962)
11:14:22 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
11:14:23 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net) (Remote host closed the connection)
11:14:40 AlexNoo joins (~AlexNoo@178.34.162.175)
11:14:43 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net)
11:16:57 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net) (Remote host closed the connection)
11:17:16 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net)
11:21:32 lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
11:25:07 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:29:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
11:38:28 ZharMeny joins (~user@user/ZharMeny)
11:39:51 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:41:16 × sroso quits (~sroso@user/SrOso) (Quit: Leaving :))
11:42:40 AlexZenon joins (~alzenon@178.34.162.175)
11:44:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
11:55:16 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:59:37 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
12:01:02 <haskellbridge> <eldritchcookie> anyone else is really peeved that wherever there are xN functions they aren't consistent cross module? like zip/zipWith goes up to 7, curry has no variants, and liftM goes until 5
12:01:54 <dminuoso> eldritchcookie: No they are likely just the result of individual people needing a particular function extended to T and upstreaming those patches.
12:03:18 × danse-nr3 quits (~danse-nr3@user/danse-nr3) (Ping timeout: 252 seconds)
12:04:14 <haskellbridge> <eldritchcookie> well thoeretically everyone can need it up to the tuple limit of 64, which seems to be a point that we can all agree may be too much
12:04:31 <dminuoso> Funny bit, do you know why the tuple limit is at 64?
12:05:37 <haskellbridge> <eldritchcookie> because someone needed 64 valueas of 8 bits if i am not mistaken
12:06:23 Sgeo joins (~Sgeo@user/sgeo)
12:08:04 <haskellbridge> <eldritchcookie> if am i remembering correctly someone complained they couldn't you the pack/unpack primop of 64 8 bit integers so they expanded up to that
12:10:42 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:11:53 danse-nr3 joins (~danse-nr3@user/danse-nr3)
12:12:24 <kuribas> in idris (a, b, c) is equal to (a, (b, c))
12:12:29 <kuribas> I like it.
12:12:58 <dminuoso> eldritchcookie: No the limit used to be higher. But it turns out that for reasons nobody could figure out you would get segfaults if tuples had gotten longer.
12:13:10 <dminuoso> And someone decided to just stop spending their time on this, limiting them to 64.
12:13:28 <dminuoso> It's unclear whether the memory issue is still there or not, dont think anyone has tried lifting that restriction.
12:13:36 <dminuoso> There's still a note about this in one of the GHC files.
12:14:00 <danse-nr3> looks like a good idea
12:15:00 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
12:24:34 billchenchina- joins (~billchenc@103.152.35.21)
12:25:09 <lortabac> kuribas: that's also true in GHC for constraint tuples. But I guess at term-level the performance trade-off was not considered acceptable
12:26:07 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:26:07 <dminuoso> eldrichcookie: 4cf0bb2b9cb6192a212ab74aba3513ba289a47d9 is the last commit I can chase at this point.
12:26:27 <dminuoso> Some years ago I did a lot more research on this, but I cannot recall many of the details anymore.
12:30:44 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
12:31:29 × danse-nr3 quits (~danse-nr3@user/danse-nr3) (Quit: nap)
12:33:12 × ZharMeny quits (~user@user/ZharMeny) (Ping timeout: 246 seconds)
12:40:51 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:45:06 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
12:56:15 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:01:14 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
13:05:55 esnos joins (~user@176.106.34.161)
13:06:46 × AlexNoo quits (~AlexNoo@178.34.162.175) (Read error: Connection reset by peer)
13:08:54 × AlexZenon quits (~alzenon@178.34.162.175) (Ping timeout: 246 seconds)
13:10:37 AlexNoo joins (~AlexNoo@5.139.232.251)
13:11:19 × AlexNoo quits (~AlexNoo@5.139.232.251) (Read error: Connection reset by peer)
13:11:45 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:16:11 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
13:19:59 AlexNoo joins (~AlexNoo@5.139.232.251)
13:21:16 × AlexNoo quits (~AlexNoo@5.139.232.251) (Read error: Connection reset by peer)
13:22:34 ash3en joins (~Thunderbi@p200300e7b739858fffc20667e52415ac.dip0.t-ipconnect.de)
13:27:07 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:28:51 × ash3en quits (~Thunderbi@p200300e7b739858fffc20667e52415ac.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
13:30:31 <haskellbridge> <thirdofmay18081814goya> in all cases, any statement containing a "fix" of a function with no final outermost application will necessarily overflow, right? such as "fix (\x -> x + 0)"
13:30:55 ash3en joins (~Thunderbi@2a02:3100:7f16:9100:608a:f1cc:9baf:7491)
13:32:01 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
13:32:41 ZharMeny joins (~user@user/ZharMeny)
13:33:46 <ncf> depends on what you mean by "final outermost application" and "overflow"
13:34:04 <ncf> > fix (\x -> 0 : x)
13:34:06 <lambdabot> [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...
13:35:21 <haskellbridge> <thirdofmay18081814goya> ncf: I mean any function that recurses like:
13:35:21 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/GaxNZUwXFEhpyeDWiIMmZqQm (7 lines)
13:35:45 <haskellbridge> <thirdofmay18081814goya> I mean any function that recurses like:
13:35:45 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/sukGxNokHKqWuIkVwWXXdpMN (7 lines)
13:36:06 <haskellbridge> <thirdofmay18081814goya> * ``f`` a) ``f`` a) ``f``
13:36:11 <haskellbridge> <thirdofmay18081814goya> I mean any function that recurses like:
13:36:11 <haskellbridge> ... long message truncated: https://kf8nh.com/_matrix/media/v3/download/kf8nh.com/lPaKvKMdEyvIVRlpaDnkxWmc (7 lines)
13:41:40 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:45:29 <haskellbridge> <thirdofmay18081814goya> we can make a scan-like version which will not diverge, but as it is it would necessarily diverge right?
13:46:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
13:47:24 <mauke> > fix (\x -> 0 + x) :: Expr
13:47:26 <lambdabot> 0 + (0 + (0 + (0 + (0 + (0 + (0 + (0 + (0 + (0 + (0 + (0 + (0 + (0 + (0 + (0...
13:48:46 AlexNoo joins (~AlexNoo@178.34.151.160)
13:50:21 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 252 seconds)
13:51:05 × sp1ff quits (~user@c-73-11-70-111.hsd1.wa.comcast.net) (Read error: Connection reset by peer)
13:52:50 <haskellbridge> <thirdofmay18081814goya> mauke: hm where is "Expr" from?
13:53:29 <EvanR> final outermost application, maybe you mean head of the expression, or in another language tail position
13:54:02 <EvanR> what's the only other thing it could be besides application, case of?
13:55:42 <mauke> https://hackage.haskell.org/package/simple-reflect-0.3.3
13:55:46 AlexZenon joins (~alzenon@178.34.151.160)
13:56:09 × rosco quits (~rosco@175.136.158.234) (Quit: Lost terminal)
13:57:06 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:00:09 <haskellbridge> <thirdofmay18081814goya> EvanR: hm right, I'm reading on the definition, I think I mean that the function has no final tail position
14:00:29 <haskellbridge> <thirdofmay18081814goya> mauke: hm thanks, necessarily these are only printed strings that cannot be used in actual statements right?
14:00:30 <EvanR> final is a weird word for this at least in haskell
14:00:47 <EvanR> Expr isn't a string
14:02:19 wroathe joins (~wroathe@mobile-166-175-58-124.mycingular.net)
14:02:19 × wroathe quits (~wroathe@mobile-166-175-58-124.mycingular.net) (Changing host)
14:02:19 wroathe joins (~wroathe@user/wroathe)
14:02:43 <EvanR> normal order evaluation evaluates the head of the expression first, not last
14:02:50 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
14:03:02 cfricke joins (~cfricke@user/cfricke)
14:03:48 <haskellbridge> <thirdofmay18081814goya> EvanR: right, so such a function must overflow right?
14:03:59 <haskellbridge> <thirdofmay18081814goya> we never get to a statement we can evaluate
14:04:57 <EvanR> if the next top expression was always application and never a lambda or constructor, it would never terminate
14:05:06 <EvanR> but it didn't think that was your scenario
14:05:16 <EvanR> you said there was NO application
14:05:19 × wroathe quits (~wroathe@user/wroathe) (Client Quit)
14:05:44 <EvanR> s/it/I/
14:06:39 × ash3en quits (~Thunderbi@2a02:3100:7f16:9100:608a:f1cc:9baf:7491) (Ping timeout: 246 seconds)
14:06:47 <haskellbridge> <thirdofmay18081814goya> no last such application right
14:06:52 <EvanR> last?
14:07:04 <EvanR> last in time?
14:07:23 <EvanR> in an infinite loop that makes sense, no end
14:07:52 <EvanR> but you said outermost so it sounded like you were talking about space, and so I think maybe you have some fundamental misconception
14:07:53 wroathe joins (~wroathe@166.175.58.124)
14:07:53 × wroathe quits (~wroathe@166.175.58.124) (Changing host)
14:07:53 wroathe joins (~wroathe@user/wroathe)
14:07:58 <haskellbridge> <thirdofmay18081814goya> I'm not sure, I think I need to delve a bit deeper on how this all, I'm not sure I can give a strictier meaning to last from my current understanding
14:08:05 <haskellbridge> <thirdofmay18081814goya> on how this all works*
14:08:14 <haskellbridge> <thirdofmay18081814goya> to 'last'
14:08:47 <haskellbridge> <thirdofmay18081814goya> what general topic should clear this up? how an interpreter works?
14:08:51 <EvanR> in the infinite expression above 0 + (0 + (0 + (..., it's a good example to disentangle all the kinds of concepts
14:09:12 <EvanR> question, can you evaluate this expression to WHNF
14:09:22 <EvanR> what about normal form
14:09:32 <EvanR> what else do you need to know to answer
14:10:29 <EvanR> now how an interpreter works but how lazy evaluation works
14:10:51 <EvanR> and how that's different from evaluation in an eager language
14:11:11 <haskellbridge> <thirdofmay18081814goya> EvanR: will start reading on WHNF, normal form, and lazy evaluation. thanks a lot for the keywords
14:11:38 <EvanR> weak head normal form
14:12:17 <EvanR> and haskell doesn't have statements, only expressions
14:12:33 <EvanR> even do notation desugars to an expression
14:13:41 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:15:51 <haskellbridge> <mauke> Huh. Are newtypes transparent wrt WHNF?
14:16:52 <dolio> They're just the underlying thing, if that's what you mean.
14:18:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
14:19:35 <haskellbridge> <mauke> I mean you can't just say "evaluate until the outermost layer is a lambda or a constructor"
14:20:54 <EvanR> pretend newtypes don't exist
14:21:51 <EvanR> > Identity undefined `seq` 'a'
14:21:53 <lambdabot> *Exception: Prelude.undefined
14:22:26 <EvanR> > Just undefined `seq` 'a'
14:22:28 <lambdabot> 'a'
14:25:13 <EvanR> you can also point out strict fields as another caveat
14:25:55 × Leary quits (~Leary@user/Leary/x-0910699) (Ping timeout: 252 seconds)
14:29:06 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:29:29 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
14:29:36 Leary joins (~Leary@user/Leary/x-0910699)
14:30:10 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net) (Remote host closed the connection)
14:30:22 <lortabac> thirdofmay18081814goya: I'm not sure I understand your question. If you meant "do all 'fix' applications necessarily diverge?" then no
14:30:30 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net)
14:30:31 <lortabac> > fix (_ -> 0)
14:30:33 <lambdabot> error:
14:30:33 <lambdabot> Pattern syntax in expression context: _ -> 0
14:30:39 <lortabac> > fix (\_ -> 0)
14:30:41 <lambdabot> 0
14:31:07 <lortabac> in order to recurse you need to call the argument of the lambda. If you don't call it recursion doesn't happen
14:31:23 <lortabac> but maybe I misunderstood your question
14:32:02 <EvanR> I think the question is based on a complete misunderstanding of what is even being evaluated
14:33:57 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
14:35:06 nilradical joins (~nilradica@user/naso)
14:35:25 <lortabac> > fix (\f n -> if n == 1 then n else n * f (n - 1)) 10 -- factorial of 10
14:35:27 <lambdabot> 3628800
14:35:33 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
14:36:11 <lortabac> in order to stop the recursion you just don't use the recursive argument
14:37:41 <haskellbridge> <thirdofmay18081814goya> EvanR: would you say the revised haskell 98 report is a good source?
14:37:58 <haskellbridge> <thirdofmay18081814goya> lortabac: thanks for the examples, am a bit confused so I'll do more reading
14:38:03 <EvanR> that's a good read
14:38:17 <EvanR> a good source
14:38:27 × Square2 quits (~Square4@user/square) (Ping timeout: 244 seconds)
14:39:57 × tomku quits (~tomku@user/tomku) (Ping timeout: 276 seconds)
14:40:11 tomku joins (~tomku@user/tomku)
14:42:41 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:50:28 × youthlic quits (~Thunderbi@user/youthlic) (Quit: youthlic)
14:51:19 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
14:53:56 JuanDaugherty joins (~juan@user/JuanDaugherty)
14:54:11 × m1dnight quits (~christoph@78-20-63-126.access.telenet.be) (Quit: WeeChat 4.4.1)
15:02:00 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:06:26 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
15:09:41 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.2.2)
15:11:13 m1dnight joins (~christoph@78-20-63-126.access.telenet.be)
15:17:26 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:19:18 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
15:21:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
15:24:50 sp1ff joins (~user@c-73-11-70-111.hsd1.wa.comcast.net)
15:32:50 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:37:47 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
15:43:39 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:44:37 × ZharMeny quits (~user@user/ZharMeny) (Quit: :)
15:45:42 ZharMeny joins (~user@user/ZharMeny)
15:47:55 ZharMeny` joins (~user@user/ZharMeny)
15:47:59 wroathe joins (~wroathe@mobile-166-175-58-124.mycingular.net)
15:47:59 × wroathe quits (~wroathe@mobile-166-175-58-124.mycingular.net) (Changing host)
15:47:59 wroathe joins (~wroathe@user/wroathe)
15:48:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
15:48:15 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.2.2)
15:52:05 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
15:52:06 × ZharMeny quits (~user@user/ZharMeny) (Ping timeout: 252 seconds)
15:53:01 ZharMeny` is now known as ZharMeny
15:57:31 × Inst quits (~Inst@user/Inst) (Remote host closed the connection)
15:57:55 Inst joins (~Inst@user/Inst)
15:59:05 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:59:25 × kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection)
16:00:48 ash3en joins (~Thunderbi@2a02:3100:7f16:9100:608a:f1cc:9baf:7491)
16:01:14 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
16:03:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
16:05:30 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
16:06:53 ft joins (~ft@p4fc2a393.dip0.t-ipconnect.de)
16:10:09 killy joins (~killy@staticline-31-183-183-54.toya.net.pl)
16:14:38 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:18:17 ash3en1 joins (~Thunderbi@146.70.124.138)
16:18:43 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net) (Remote host closed the connection)
16:19:03 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net)
16:19:14 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
16:19:36 × esnos quits (~user@176.106.34.161) (Read error: Connection reset by peer)
16:19:39 × ash3en quits (~Thunderbi@2a02:3100:7f16:9100:608a:f1cc:9baf:7491) (Ping timeout: 246 seconds)
16:19:39 ash3en1 is now known as ash3en
16:19:50 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net) (Remote host closed the connection)
16:21:06 esnos joins (~user@176.106.34.161)
16:22:21 L29Ah joins (~L29Ah@wikipedia/L29Ah)
16:24:53 Digitteknohippie joins (~user@user/digit)
16:25:24 × Digit quits (~user@user/digit) (Ping timeout: 260 seconds)
16:30:03 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:31:46 spew joins (~spew@201.141.102.132)
16:33:13 Pixi joins (~Pixi@user/pixi)
16:34:38 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
16:39:08 × spew quits (~spew@201.141.102.132) (Remote host closed the connection)
16:39:23 spew joins (~spew@201.141.102.132)
16:43:33 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
16:44:39 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:44:47 Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
16:46:26 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-81b5-3bba-435f-d5e1.rev.sfr.net)
16:46:29 × euphores quits (~SASL_euph@user/euphores) (Quit: Leaving.)
16:49:25 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
16:53:05 tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net)
16:53:30 <haskellbridge> <mauke> Why not go for the 2010 (current) version?
16:53:57 × ubert quits (~Thunderbi@77.119.163.30.wireless.dyn.drei.com) (Ping timeout: 246 seconds)
16:59:57 × killy quits (~killy@staticline-31-183-183-54.toya.net.pl) (Quit: leaving)
17:00:06 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:04:27 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
17:10:09 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-81b5-3bba-435f-d5e1.rev.sfr.net) (Remote host closed the connection)
17:11:10 × son0p quits (~ff@2800:e6:4000:aaf9:6089:ddea:310:b3a4) (Quit: Leaving)
17:11:38 mreh joins (~matthew@host86-160-168-12.range86-160.btcentralplus.com)
17:12:12 <mreh> looks like hoogle is down
17:15:30 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:16:44 Digitteknohippie is now known as Digit
17:17:34 <davean> mreh: its restarting.
17:17:46 <davean> Its restart is like 20+ minutes :(
17:18:43 × Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Remote host closed the connection)
17:19:57 <mreh> gotta rebuild that database I guess
17:20:10 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
17:21:06 <davean> I'm sure someone could give its codebase some love and care.
17:21:28 <davean> It could use it.
17:30:57 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:31:41 wroathe joins (~wroathe@mobile-166-175-58-124.mycingular.net)
17:31:41 × wroathe quits (~wroathe@mobile-166-175-58-124.mycingular.net) (Changing host)
17:31:41 wroathe joins (~wroathe@user/wroathe)
17:35:15 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
17:37:55 euphores joins (~SASL_euph@user/euphores)
17:39:22 <haskellbridge> <thirdofmay18081814goya> mauke: ah had not seen this report was out
17:39:30 <haskellbridge> <thirdofmay18081814goya> ty
17:39:31 Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
17:45:39 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:47:05 <davean> mreh: back up
17:49:57 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
17:53:51 <haskellbridge> <thirdofmay18081814goya> only with denotational semantics can I prove a haskell function has some property, right?
17:53:55 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
17:57:21 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 260 seconds)
17:59:41 gmg joins (~user@user/gehmehgeh)
18:01:05 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:05:34 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
18:05:51 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
18:07:06 <EvanR> not the only way
18:07:37 <EvanR> but it might boil down the what the property is
18:07:51 <EvanR> but there are many modes of reasoning out there
18:08:09 <ncf> you need some kind of semantics to even *state* the property you want to prove
18:08:58 <EvanR> not necessarily, the property may be written out, and you just have to use rules of syntax to get something that matches the literal statement
18:09:41 <EvanR> which can be confusing when haskell's semantics are given as something that looks very close to the syntax
18:10:17 <EvanR> but what is the property!
18:10:39 <haskellbridge> <thirdofmay18081814goya> divergence of a recursive function
18:12:39 <EvanR> i.e. f ⊥ = ⊥ ?
18:12:47 <EvanR> f x = ⊥
18:12:52 <EvanR> for any x
18:13:15 × machinedgod quits (~machinedg@d50-99-47-73.abhsia.telus.net) (Ping timeout: 252 seconds)
18:13:54 <EvanR> you know it's semantics because ⊥ is involved
18:16:55 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
18:28:08 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:28:34 × ash3en quits (~Thunderbi@146.70.124.138) (Quit: ash3en)
18:30:14 rvalue joins (~rvalue@user/rvalue)
18:32:32 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
18:34:08 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
18:36:04 <probie> Does anyone have much experience getting TH to work when cross-compiling? The docs about how to use an "external interpreter" are a bit vague.
18:37:29 dyniec joins (~dyniec@dybiec.info)
18:42:45 × ThePenguin quits (~ThePengui@cust-95-80-24-166.csbnet.se) (Remote host closed the connection)
18:43:19 ThePenguin joins (~ThePengui@cust-95-80-24-166.csbnet.se)
18:44:18 <geekosaur> pretty sure no matter what you do, you're in for extreme pain
18:46:02 <probie> I think it's even worse because the cross compilation target is wasm
18:46:15 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 252 seconds)
18:47:03 <geekosaur> actually I'd expect that to be simpler, the ghc-iserv that is built in the wasm cross-compiler should just work with -fexternal-interpreter
18:47:32 <geekosaur> a normal cross-compiler would require you to run its ghc-iserv on a machine (or emulator therefor) compatible with the target
18:51:34 <probie> Maybe I should just try it myself and see what happens (I'm asking on behalf of someone else and haven't actually tried anything)
19:01:49 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:06:15 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
19:06:46 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 260 seconds)
19:09:45 son0p joins (~ff@2800:e2:f80:ee7::a)
19:14:33 wroathe joins (~wroathe@107.122.96.161)
19:14:33 × wroathe quits (~wroathe@107.122.96.161) (Changing host)
19:14:33 wroathe joins (~wroathe@user/wroathe)
19:17:17 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:18:21 × wroathe quits (~wroathe@user/wroathe) (Client Quit)
19:18:28 danse-nr3 joins (~danse-nr3@user/danse-nr3)
19:22:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
19:24:54 ash3en joins (~Thunderbi@146.70.124.138)
19:24:56 × Smiles quits (uid551636@id-551636.lymington.irccloud.com) (Quit: Connection closed for inactivity)
19:30:06 target_i joins (~target_i@user/target-i/x-6023099)
19:32:42 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:37:03 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
19:47:41 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:49:39 × mreh quits (~matthew@host86-160-168-12.range86-160.btcentralplus.com) (Ping timeout: 246 seconds)
19:52:17 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
19:56:36 <probie> So unless I'm doing something wrong, it doesn't build a ghc-iserv at all
20:03:06 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:04:19 × [exa] quits (~exa@user/exa/x-3587197) (Ping timeout: 264 seconds)
20:07:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
20:13:37 × ash3en quits (~Thunderbi@146.70.124.138) (Quit: ash3en)
20:18:31 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:19:51 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
20:22:35 × danse-nr3 quits (~danse-nr3@user/danse-nr3) ()
20:23:14 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
20:24:14 wroathe joins (~wroathe@c-66-41-76-89.hsd1.mn.comcast.net)
20:24:14 × wroathe quits (~wroathe@c-66-41-76-89.hsd1.mn.comcast.net) (Changing host)
20:24:14 wroathe joins (~wroathe@user/wroathe)
20:26:22 starburst joins (~starburst@2601:602:480:9390::7ddf)
20:33:57 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:35:08 × starburst quits (~starburst@2601:602:480:9390::7ddf) (Quit: Client closed)
20:35:27 × lbseale quits (~quassel@user/ep1ctetus) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
20:35:57 lbseale joins (~quassel@user/ep1ctetus)
20:36:22 × lbseale quits (~quassel@user/ep1ctetus) (Client Quit)
20:37:15 lbseale joins (~quassel@user/ep1ctetus)
20:38:18 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
20:41:38 × billchenchina- quits (~billchenc@103.152.35.21) (Quit: Leaving)
20:48:15 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
20:49:22 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:51:20 ubert joins (~Thunderbi@77.119.163.30.wireless.dyn.drei.com)
20:53:41 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
20:53:54 <dmj`> probie: I've ran ghc-iserv on an iPhone, where the build machine sent build requests to the iPhone to compile TH splices over the network. It was not fun.
20:54:41 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 260 seconds)
20:57:22 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
21:00:28 × AlexZenon quits (~alzenon@178.34.151.160) (Ping timeout: 252 seconds)
21:03:09 AlexZenon joins (~alzenon@178.34.151.160)
21:04:47 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:09:06 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
21:09:32 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
21:10:50 × Inst quits (~Inst@user/Inst) (Read error: Connection reset by peer)
21:10:56 Inst_ joins (~Inst@user/Inst)
21:11:17 AlexNoo_ joins (~AlexNoo@178.34.151.160)
21:11:26 × Inst_ quits (~Inst@user/Inst) (Max SendQ exceeded)
21:12:55 Inst_ joins (~Inst@user/Inst)
21:14:39 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
21:15:09 × AlexNoo quits (~AlexNoo@178.34.151.160) (Ping timeout: 276 seconds)
21:16:20 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 255 seconds)
21:19:42 × target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving)
21:20:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:24:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
21:28:50 × rvalue quits (~rvalue@user/rvalue) (Quit: ZNC - https://znc.in)
21:30:07 × michalz quits (~michalz@185.246.207.205) (Remote host closed the connection)
21:31:25 rvalue joins (~rvalue@user/rvalue)
21:35:40 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:40:01 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
21:51:04 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:58:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
21:59:25 × AlexNoo_ quits (~AlexNoo@178.34.151.160) (Read error: Connection reset by peer)
21:59:57 alexherbo2 joins (~alexherbo@2a02-8440-330d-60ad-949c-6a68-56ec-56cb.rev.sfr.net)
22:01:13 AlexNoo joins (~AlexNoo@5.139.232.94)
22:01:15 × AlexZenon quits (~alzenon@178.34.151.160) (Ping timeout: 246 seconds)
22:10:27 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:11:09 × Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
22:14:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
22:16:41 mynameistito joins (~mynameist@2404:4402:33ef:7000:88eb:734d:eebf:18b7)
22:24:14 × mynameistito quits (~mynameist@2404:4402:33ef:7000:88eb:734d:eebf:18b7) (Quit: Client closed)
22:25:52 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:28:20 <haskellbridge> <thirdofmay18081814goya> turns out proving a recursive function diverges is an absolute pain, you need heavy domain theory
22:30:10 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
22:30:48 AlexZenon joins (~alzenon@5.139.232.94)
22:38:00 × esnos quits (~user@176.106.34.161) (Remote host closed the connection)
22:41:17 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:42:59 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
22:44:20 wroathe joins (~wroathe@mobile-166-175-58-245.mycingular.net)
22:44:21 × wroathe quits (~wroathe@mobile-166-175-58-245.mycingular.net) (Changing host)
22:44:21 wroathe joins (~wroathe@user/wroathe)
22:45:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
22:54:53 × spew quits (~spew@201.141.102.132) (Remote host closed the connection)
22:56:43 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:00:23 × alexherbo2 quits (~alexherbo@2a02-8440-330d-60ad-949c-6a68-56ec-56cb.rev.sfr.net) (Ping timeout: 256 seconds)
23:01:29 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
23:07:33 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
23:12:09 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:16:51 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
23:20:42 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 246 seconds)
23:27:35 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:32:05 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
23:38:44 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
23:42:59 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:43:09 pavonia joins (~user@user/siracusa)
23:44:09 × acidjnk quits (~acidjnk@p200300d6e72cfb236432b07e57e26028.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
23:47:18 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
23:49:47 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
23:52:33 wroathe joins (~wroathe@mobile-166-175-58-245.mycingular.net)
23:52:33 × wroathe quits (~wroathe@mobile-166-175-58-245.mycingular.net) (Changing host)
23:52:33 wroathe joins (~wroathe@user/wroathe)
23:58:25 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)

All times are in UTC on 2024-08-22.