Home liberachat/#haskell: Logs Calendar

Logs on 2021-11-07 (liberachat/#haskell)

00:06:16 <sm> gentauro: 20.5 hours ?
00:06:46 syntactic_sugar joins (~amoljha@2601:644:8601:2e30::822c)
00:07:06 <geekosaur> there was a time when I was young and could pull that kind of shit off
00:07:21 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
00:07:42 <maerwald> I'm glad when I can code for 4 hours straight lol
00:08:10 <sm> that's too long
00:08:40 <maerwald> yeah... I mean, I used to do it for 12 hours straight
00:09:51 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
00:09:58 darkstardev13 joins (~darkstard@89.47.234.174)
00:11:09 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 276 seconds)
00:11:11 × aqua0210 quits (~user@101.85.11.168) (Ping timeout: 264 seconds)
00:12:26 × darkstarx quits (~darkstard@50.39.114.152) (Ping timeout: 260 seconds)
00:13:01 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
00:13:47 zebrag joins (~chris@user/zebrag)
00:14:47 sm imagines the impact of 20 straight productive, on-target hours
00:15:54 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
00:16:19 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
00:17:13 × LiaoTao quits (~LiaoTao@gateway/tor-sasl/liaotao) (Remote host closed the connection)
00:17:29 LiaoTao joins (~LiaoTao@gateway/tor-sasl/liaotao)
00:20:15 × ByronJohnson quits (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
00:20:16 <maerwald> 1 ibuprophen per 4 hours... so 5 in total
00:22:41 × mc47 quits (~mc47@xmonad/TheMC47) (Read error: Connection reset by peer)
00:24:35 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
00:24:55 mc47 joins (~mc47@xmonad/TheMC47)
00:24:58 ByronJohnson joins (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net)
00:25:06 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 260 seconds)
00:25:53 Lord_of_Life_ is now known as Lord_of_Life
00:28:26 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 245 seconds)
00:28:54 <sm> I mean, on the backlog
00:29:33 <sm> fantasising a little. There are some people who can maintain perspective and stay on target and productive for long periods..
00:30:41 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
00:34:03 × kupi quits (uid212005@id-212005.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
00:34:26 × mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 260 seconds)
00:35:17 × TranquilEcho quits (~grom@user/tranquilecho) (Quit: WeeChat 2.8)
00:35:58 × aeke quits (~a@p200300ef973db1af4086f0a6a24fc4dd.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
00:36:25 × gg quits (~gg@88.160.100.84) (Remote host closed the connection)
00:42:51 × fuzzypixelz quits (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net) (Ping timeout: 256 seconds)
00:46:56 <justsomeguy> The problem that I run into is that I never know what tasks I have to do until I start trying to solve a problem, then they just arise as I break things down, ususally in a fractal kind of way. I guess that's where experience and organization come into play.
00:48:45 aqua0210 joins (~user@101.85.11.168)
00:53:58 × aqua0210 quits (~user@101.85.11.168) (Ping timeout: 260 seconds)
00:57:14 SeungheonOh joins (~Thunderbi@2600:1700:5168:1400:d4ca:d37:8a2:b653)
00:59:43 × SeungheonOh quits (~Thunderbi@2600:1700:5168:1400:d4ca:d37:8a2:b653) (Client Quit)
01:00:36 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3)
01:01:10 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
01:03:23 × Gurkenglas quits (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de) (Ping timeout: 264 seconds)
01:09:02 gdown joins (~gavin@h69-11-248-109.kndrid.broadband.dynamic.tds.net)
01:12:41 <koala_man> what's the preferred practice for choosing a Stack resolver? I'm about to push a new version of ShellCheck and it's currently using lts-13.26
01:13:25 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
01:14:31 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection)
01:15:47 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
01:16:49 × hiruji quits (~hiruji@user/hiruji) (Ping timeout: 256 seconds)
01:19:17 <dsal> I guess it got complicated. I used to just take whatever latest LTS was, but it seems like the haskell.nix stuff may have drifted form something sensible. I don't know the details, though.
01:19:32 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving)
01:24:50 khanred joins (~khanred@user/khanred)
01:34:27 hiruji joins (~hiruji@user/hiruji)
01:34:29 × hiruji quits (~hiruji@user/hiruji) (Remote host closed the connection)
01:34:47 hiruji joins (~hiruji@user/hiruji)
01:34:52 × hiruji quits (~hiruji@user/hiruji) (Remote host closed the connection)
01:35:17 hiruji joins (~hiruji@user/hiruji)
01:35:24 × hiruji quits (~hiruji@user/hiruji) (Remote host closed the connection)
01:35:30 × xff0x quits (~xff0x@2001:1a81:52b1:3000:7ef:3640:6d4d:8cb8) (Ping timeout: 260 seconds)
01:36:19 xff0x joins (~xff0x@2001:1a81:52b1:3000:4e58:263b:7745:5105)
01:37:59 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:40:50 <sm> koala_man: do you mean in the stack.yaml in the source tree ? that matters only to contributors, right ?
01:41:33 <koala_man> anyone who builds from source using stack presumably
01:42:49 <sm> yes, some version of the latest lts is a good choice
01:44:04 machinedgod joins (~machinedg@24.105.81.50)
01:44:06 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:44:08 hiruji joins (~hiruji@user/hiruji)
01:44:40 <sm> if you're actively developing and updating, a recent nightly is also a decent choice, that way you're always ready to be in stackage
01:45:18 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
01:49:32 aqua0210 joins (~user@101.85.11.168)
01:51:13 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 268 seconds)
01:53:21 darkstarx joins (~darkstard@gateway/vpn/pia/darkstardevx)
01:53:49 Lycurgus joins (~juan@98.4.112.204)
01:54:42 <Inst> does anyone use capi here?
01:54:47 × aqua0210 quits (~user@101.85.11.168) (Ping timeout: 256 seconds)
01:55:55 × darkstardev13 quits (~darkstard@89.47.234.174) (Ping timeout: 256 seconds)
01:56:05 <Inst> capi ffi? or is anyone in general familiar with capi ffi?
02:12:48 × xff0x quits (~xff0x@2001:1a81:52b1:3000:4e58:263b:7745:5105) (Ping timeout: 268 seconds)
02:13:30 xff0x joins (~xff0x@2001:1a81:52b1:3000:5297:4b75:9c14:f5c1)
02:16:10 × zer0bitz quits (~zer0bitz@dsl-hkibng31-54fae3-116.dhcp.inet.fi) (Ping timeout: 260 seconds)
02:16:25 aqua0210 joins (~user@101.85.11.168)
02:18:58 × darkstarx quits (~darkstard@gateway/vpn/pia/darkstardevx) (Remote host closed the connection)
02:19:21 darkstarx joins (~darkstard@gateway/vpn/pia/darkstardevx)
02:19:22 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
02:19:43 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
02:24:43 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
02:28:48 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
02:30:02 × aqua0210 quits (~user@101.85.11.168) (Remote host closed the connection)
02:41:03 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
02:41:04 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
02:41:04 wroathe joins (~wroathe@user/wroathe)
02:44:06 × xff0x quits (~xff0x@2001:1a81:52b1:3000:5297:4b75:9c14:f5c1) (Ping timeout: 260 seconds)
02:45:42 xff0x joins (~xff0x@2001:1a81:52ec:e600:32d8:d60b:eef6:92ba)
02:45:56 × mmhat quits (~mmh@55d4b9d8.access.ecotel.net) (Ping timeout: 245 seconds)
02:57:11 × neurocyte0132889 quits (~neurocyte@user/neurocyte) (Ping timeout: 245 seconds)
03:00:17 mmhat joins (~mmh@55d4aeaa.access.ecotel.net)
03:04:35 × shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
03:10:07 × mmhat quits (~mmh@55d4aeaa.access.ecotel.net) (Quit: WeeChat 3.3)
03:30:19 <arahael> Is it possible to have a Text type contain haskell code, which I then interpret and produce a result?
03:30:31 <arahael> Basically I want to do: print foo; eval foo.
03:32:57 <koala_man> what does lambdabot do?
03:34:31 × khanred quits (~khanred@user/khanred) (Ping timeout: 256 seconds)
03:36:47 <arahael> koala_man: Ok, ok, I'm aware it's /possible/. But is there an easy, convenient way to do this?
03:37:15 <koala_man> looks like it uses 'mueval', and is meant for sandboxing and not arbitrary use
03:38:18 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
03:38:18 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
03:38:18 finn_elija is now known as FinnElija
03:38:38 × shailangsa quits (~shailangs@host86-185-98-19.range86-185.btcentralplus.com) ()
03:39:43 <koala_man> arahael: what kind of context and interop are you hoping for?
03:40:36 <arahael> koala_man: Literally the two functions I was suggesting. Ideally, 'eval foo' would modify the current program, registering any new functions, so probably would require template haskell.
03:42:35 <koala_man> I don't know what I'm talking about, but I imagine that's only an option in an interpreted mode like with ghci
03:46:12 ees joins (~user@pool-108-18-30-46.washdc.fios.verizon.net)
03:50:04 <arahael> I suppose I could always give this a play: https://hackage.haskell.org/package/plugins-1.6.0/docs/System-Eval-Haskell.html
03:50:35 × syntactic_sugar quits (~amoljha@2601:644:8601:2e30::822c) (Quit: WeeChat 3.3)
03:53:20 dsrt^ joins (~dsrt@h50.174.139.63.static.ip.windstream.net)
03:54:21 × Lycurgus quits (~juan@98.4.112.204) (Ping timeout: 256 seconds)
03:54:41 <koala_man> doesn't look like it'll let you modify a running program, but I'd be interested to know how it goes
03:55:36 <arahael> It seems it does - at least, it'll register the new code.
03:56:22 <arahael> Ah, probably not, but even so, hopefully it returns a function I can call.
03:56:56 <koala_man> that seems more likely, yes
03:57:45 × ees quits (~user@pool-108-18-30-46.washdc.fios.verizon.net) (Ping timeout: 256 seconds)
03:58:40 <arahael> Alternatively, I could just load the module source, strip out the imports, and use that as the string.
03:59:04 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
03:59:24 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
04:00:40 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
04:01:27 <arahael> What I want to do is literate programming with haskell, but not with the usual html output.
04:05:22 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
04:05:48 × x6C697370 quits (~michael@2600:1700:7c02:3180::44) (Read error: Connection reset by peer)
04:06:01 <arahael> Well, sorta - I also want to have the program output interpsersed with that literate code.
04:09:09 kupi joins (uid212005@id-212005.hampstead.irccloud.com)
04:11:17 <arahael> Nice - found this: https://hackage.haskell.org/package/markdown-unlit (which is almost what I want), now I mostly just need to figure out how to evaluate the code so that the output is shown in the markdown output.
04:12:35 <arahael> Perhaps I should have a mulitple-stage build? 1. Compile program, 2. Generate literate documents, with placeholders 3. Post-process those as a template and update them filling in the placeholders...
04:14:26 lavaman joins (~lavaman@98.38.249.169)
04:15:56 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
04:16:37 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
04:23:02 <koala_man> that's definitely sounds more straight forward than full eval support
04:25:15 <arahael> Hmm, ok!
04:31:41 ubikium joins (~ubikium@i223-218-66-82.s41.a013.ap.plala.or.jp)
04:34:16 beka joins (~beka@104-244-24-117.PUBLIC.monkeybrains.net)
04:34:56 <sm> waay easier
04:36:59 <sm> I believe there's a tool that'll insert program output and maybe test it for you, but that's all I remember
04:38:50 <sm> maybe https://hackage.haskell.org/package/readme-lhs is one
04:39:53 smunix joins (~smunix@lnsm1-montreal02-142-122-74-243.internet.virginmobile.ca)
04:43:24 <sm> quite hard to get your head around this, but I suspect it's good
04:43:30 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 276 seconds)
04:44:10 ChaiTRex joins (~ChaiTRex@user/chaitrex)
04:44:13 × ByronJohnson quits (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net) (Ping timeout: 256 seconds)
04:45:26 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
04:46:06 <sm> https://hackage.haskell.org/package/numhask, interesting
04:46:54 ByronJohnson joins (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net)
04:47:28 <c_wraith> that has the typical problem mathematically accurate class hierarchies usually do
04:47:41 shailangsa joins (~shailangs@host86-185-98-19.range86-185.btcentralplus.com)
04:48:16 <c_wraith> It has classes which have laws but no members
04:48:52 <EvanR> as god intended
04:49:00 <c_wraith> while that's not a huge conceptual problem, it does result in inference reporting the wrong thing
04:50:06 <EvanR> i thought you were going to say it was the unicode operators
04:50:11 <EvanR> (⊕) :: a -> a -> a
04:50:27 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
04:50:42 <arahael> sm: That looks like what I want, might be worth playing with that.
04:53:51 <sm> c_wraith: https://hackage.haskell.org/package/numhask-0.8.1.0/docs/NumHask.html#g:4 seems to be touching on that (inference)
04:54:28 <c_wraith> sm: that's not what I'm talking about.
04:54:36 <sm> ah
04:55:22 <c_wraith> I mean: what's the type of (1 + 2) * 3?
04:55:47 <c_wraith> You really want it to be Ring a => a
04:55:53 <c_wraith> But that isn't what it will infer
04:58:28 <c_wraith> And because the Ring class adds laws, there's a difference in expectation between something that says it is a ring and something that says it's a multiplicative group and an additive group
05:12:08 Everything joins (~Everythin@37.115.210.35)
05:15:19 × gdown quits (~gavin@h69-11-248-109.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection)
05:23:18 × acowley quits (~acowley@c-68-83-22-43.hsd1.nj.comcast.net) (Ping timeout: 260 seconds)
05:26:24 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
05:26:45 × smunix quits (~smunix@lnsm1-montreal02-142-122-74-243.internet.virginmobile.ca) (Remote host closed the connection)
05:30:17 smunix joins (~smunix@static.26.70.12.49.clients.your-server.de)
05:34:48 Guest55 joins (~Guest55@lnsm1-montreal02-142-122-74-243.internet.virginmobile.ca)
05:41:26 × EvanR quits (~evan@2600:1700:ba69:10:75fc:f740:4c21:d03d) (Ping timeout: 260 seconds)
05:43:00 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
05:47:23 mbuf joins (~Shakthi@122.178.124.224)
05:51:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
05:51:34 × LiaoTao quits (~LiaoTao@gateway/tor-sasl/liaotao) (Remote host closed the connection)
05:51:56 LiaoTao joins (~LiaoTao@gateway/tor-sasl/liaotao)
05:52:35 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
05:53:38 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
05:56:38 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 268 seconds)
05:56:48 × Guest55 quits (~Guest55@lnsm1-montreal02-142-122-74-243.internet.virginmobile.ca) (Ping timeout: 256 seconds)
06:00:53 <mjrosenb> @dj Maybe a -> [a]
06:00:53 <lambdabot> Maybe you meant: djinn djinn-add djinn-clr djinn-del djinn-env djinn-names djinn-ver do
06:01:03 <mjrosenb> @djinn Maybe a -> [a]
06:01:03 <lambdabot> Error: Undefined type []
06:01:26 <mjrosenb> this is probably just a library function that I should use hoogle for.
06:02:28 <mjrosenb> maybeToList... what a name.
06:05:17 × hiruji quits (~hiruji@user/hiruji) (Ping timeout: 268 seconds)
06:11:31 <arahael> mjrosenb: Heh, indeed. Makes sense though!
06:13:27 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
06:13:27 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
06:13:27 wroathe joins (~wroathe@user/wroathe)
06:18:17 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
06:19:39 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Quit: WeeChat 3.3)
06:22:53 <ubikium> From typeclassopedia https://wiki.haskell.org/Typeclassopedia#Definition_5 , I read this line: sconcat reduces a nonempty list using (<>). For most instances, this is the same as foldr1 (<>), but it can be constant-time for idempotent semigroups.
06:23:23 <ubikium> Is it wrong? The constant time optimization should be for `stimes` right?
06:26:14 × johnjay quits (~pi@192.142.100.50) (Ping timeout: 260 seconds)
06:29:09 johnjay joins (~pi@192.142.100.50)
06:35:38 × johnjay quits (~pi@192.142.100.50) (Ping timeout: 260 seconds)
06:38:45 johnjay joins (~pi@192.142.100.50)
06:39:17 <mjrosenb> I could imagine there being degenerate semigroups that sconcat is constant time for
06:39:29 <mjrosenb> but I'm not too sure why you would use them for anything.
06:39:57 <mjrosenb> and the definition of idempotent semigroup definitely fits with stimes being constant time
06:41:04 <mjrosenb> since x*x == x implies stimes n x = x
06:41:19 <mjrosenb> although what is stimes 0?
06:41:46 × beka quits (~beka@104-244-24-117.PUBLIC.monkeybrains.net) (Ping timeout: 245 seconds)
06:42:17 <mjrosenb> and it looks like the docs linked agree.
06:46:31 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
06:49:33 <c_wraith> degerate like First?
06:49:45 <c_wraith> err. *degenerate
06:50:07 <c_wraith> But the thing is... foldr1 (<>) over a list of First is also constant-time
06:50:43 <ubikium> For n <= 0, it errors out: https://hackage.haskell.org/package/base-4.9.0.0/docs/src/Data.Semigroup.html#stimesIdempotent
06:51:31 <mjrosenb> what is First?
06:51:35 <ubikium> I'll go ahead and edit it. Btw, there are so many dead links in the typeclassopedia
06:52:20 <c_wraith> mjrosenb: defined in the same module as Semigroup: https://hackage.haskell.org/package/base-4.16.0.0/docs/Data-Semigroup.html#t:First
06:52:56 <ubikium> ok, I have to go through the mailing list for wiki account creation. Maybe someone with an account can help with this.
06:57:19 vysn joins (~vysn@user/vysn)
06:57:45 <mjrosenb> is it just sconcat [First 1, First 2, First 3,...] == 1
06:58:27 <c_wraith> yes, more or less. (There's a First on the output)
06:59:12 <ubikium> but foldr1 (<>) on First (Maybe a) is not constant time?
06:59:27 <c_wraith> On the First from Semigroup, it is
06:59:34 <c_wraith> (Not on the First from Monoid)
07:01:32 <ubikium> oh, I see
07:03:17 <mjrosenb> why is the First from Monoid different?
07:03:30 <mjrosenb> the only difference is that it has mempty, right?
07:03:35 <c_wraith> it's a different type
07:04:01 <c_wraith> Data.Semigroup.First a is a wrapper for a. Data.Monoid.First a is a wrapper for Maybe a
07:04:11 <mjrosenb> ahh. that would do it.
07:08:28 <mjrosenb> it can be constant if the first element is Just, but it can also take linear time if it has N Nothings at the head of the list, right?
07:09:04 <ubikium> But the wiki line is still wrong? Not all idempotent semigroups have constant `sconcat`?
07:09:41 <ubikium> They all have constant time `stimes`, so maybe it's a mistake.
07:12:39 beka joins (~beka@104.193.170.240)
07:15:27 × orhan89_ quits (~orhan89@151.91.188.35.bc.googleusercontent.com) (Ping timeout: 260 seconds)
07:15:56 × xff0x quits (~xff0x@2001:1a81:52ec:e600:32d8:d60b:eef6:92ba) (Ping timeout: 245 seconds)
07:16:55 xff0x joins (~xff0x@port-92-193-130-240.dynamic.as20676.net)
07:17:24 Sgeo joins (~Sgeo@user/sgeo)
07:17:47 × Sgeo_ quits (~Sgeo@user/sgeo) (Ping timeout: 264 seconds)
07:21:07 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
07:21:25 mei3 joins (~mei@user/mei)
07:22:12 x6C697370 joins (~michael@2600:1700:7c02:3180::44)
07:23:53 Lycurgus joins (~juan@98.4.112.204)
07:24:11 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
07:28:14 × Lycurgus quits (~juan@98.4.112.204) (Client Quit)
07:50:43 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
07:51:29 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Remote host closed the connection)
07:52:04 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
07:52:16 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection)
07:56:01 × ubikium quits (~ubikium@i223-218-66-82.s41.a013.ap.plala.or.jp) (Quit: Leaving)
08:00:20 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
08:03:53 Sgeo_ joins (~Sgeo@user/sgeo)
08:05:46 alzgh joins (~alzgh@user/alzgh)
08:06:45 × Sgeo quits (~Sgeo@user/sgeo) (Ping timeout: 268 seconds)
08:13:02 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
08:15:03 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Remote host closed the connection)
08:15:40 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
08:20:41 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
08:24:46 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
08:25:05 Lycurgus joins (~juan@98.4.112.204)
08:29:16 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 245 seconds)
08:30:57 gehmehgeh joins (~user@user/gehmehgeh)
08:32:35 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
08:39:58 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
08:45:25 × x6C697370 quits (~michael@2600:1700:7c02:3180::44) (Quit: WeeChat 3.3)
08:53:57 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
08:56:07 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
08:56:21 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 245 seconds)
08:57:24 Lord_of_Life_ is now known as Lord_of_Life
09:05:29 hendursa1 joins (~weechat@user/hendursaga)
09:08:42 × hendursaga quits (~weechat@user/hendursaga) (Ping timeout: 276 seconds)
09:10:16 v01d4lph4 joins (~v01d4lph4@122.177.85.95)
09:10:16 × v01d4lph4 quits (~v01d4lph4@122.177.85.95) (Changing host)
09:10:16 v01d4lph4 joins (~v01d4lph4@user/v01d4lph4)
09:10:19 mc47 joins (~mc47@xmonad/TheMC47)
09:10:58 <mc47> Hey, just to be sure, is STM supposed to work with forkProcess? (probably not, right?)
09:11:15 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
09:11:29 kuribas joins (~user@ptr-25vy0i9stc21zae4wv3.18120a2.ip6.access.telenet.be)
09:11:52 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection)
09:13:40 hiruji joins (~hiruji@user/hiruji)
09:14:34 johnny_sitar joins (~artur@078088015209.bialystok.vectranet.pl)
09:15:25 acidjnk joins (~acidjnk@p200300d0c72635825cb0fefbc648f0e4.dip0.t-ipconnect.de)
09:15:36 × Sgeo_ quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
09:25:17 × beka quits (~beka@104.193.170.240) (Ping timeout: 256 seconds)
09:27:42 Tuplanolla joins (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi)
09:29:38 × vysn quits (~vysn@user/vysn) (Read error: Connection reset by peer)
09:30:38 MoC joins (~moc@user/moc)
09:38:49 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
09:43:14 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Ping timeout: 260 seconds)
09:45:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
09:47:04 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
09:52:06 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
09:53:45 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
09:54:12 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 276 seconds)
09:54:30 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
09:54:51 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 276 seconds)
09:55:03 ec joins (~ec@gateway/tor-sasl/ec)
09:55:47 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
09:57:51 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
09:58:47 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
09:59:11 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds)
10:00:04 trainlag1602 joins (~saroa@user/trainlag1602)
10:00:07 × justUnited quits (~justache@user/justache) (Remote host closed the connection)
10:00:34 × Lycurgus quits (~juan@98.4.112.204) (Quit: Exeunt)
10:01:03 justUnited joins (~justache@user/justache)
10:01:28 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
10:03:04 mc47 joins (~mc47@xmonad/TheMC47)
10:04:48 cosimone joins (~user@93-47-231-203.ip115.fastwebnet.it)
10:06:06 aeke joins (~a@p200300ef973db1af4086f0a6a24fc4dd.dip0.t-ipconnect.de)
10:07:59 fendor joins (~fendor@178.165.196.101.wireless.dyn.drei.com)
10:17:58 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
10:22:31 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Ping timeout: 256 seconds)
10:27:37 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
10:27:52 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
10:28:24 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
10:29:28 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
10:31:20 mc47 joins (~mc47@xmonad/TheMC47)
10:31:26 × fr33domlover1 quits (~fr33domlo@angeley.es) (Remote host closed the connection)
10:32:54 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
10:34:37 mmhat joins (~mmh@55d4aeaa.access.ecotel.net)
10:35:00 mc47 joins (~mc47@xmonad/TheMC47)
10:35:30 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds)
10:37:01 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
10:37:12 __monty__ joins (~toonn@user/toonn)
10:43:22 × whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
10:45:56 bliminse joins (~bliminse@host86-185-253-43.range86-185.btcentralplus.com)
10:46:59 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
10:47:36 Vajb joins (~Vajb@85-76-35-211-nat.elisa-mobile.fi)
10:47:38 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
10:49:16 mc47 joins (~mc47@xmonad/TheMC47)
10:49:17 × Vajb quits (~Vajb@85-76-35-211-nat.elisa-mobile.fi) (Read error: Connection reset by peer)
10:50:10 × bliminse quits (~bliminse@host86-185-253-43.range86-185.btcentralplus.com) (Client Quit)
10:50:15 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
10:52:41 bliminse joins (~bliminse@host86-185-253-43.range86-185.btcentralplus.com)
10:53:07 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
10:53:47 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:53:50 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
10:58:19 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
10:59:47 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
11:00:51 alx741 joins (~alx741@181.196.69.19)
11:02:38 × kupi quits (uid212005@id-212005.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
11:06:37 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
11:09:16 × zmt01 quits (~zmt00@user/zmt00) (Ping timeout: 245 seconds)
11:12:56 AlexNoo_ joins (~AlexNoo@94.233.240.96)
11:15:56 × AlexZenon quits (~alzenon@94.233.241.187) (Ping timeout: 245 seconds)
11:16:06 × Alex_test quits (~al_test@94.233.241.187) (Ping timeout: 260 seconds)
11:16:34 × AlexNoo quits (~AlexNoo@94.233.241.187) (Ping timeout: 260 seconds)
11:19:02 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
11:20:01 Alex_test joins (~al_test@94.233.240.96)
11:20:10 AlexZenon joins (~alzenon@94.233.240.96)
11:25:50 × betelgeuse quits (~betelgeus@94-225-47-8.access.telenet.be) (Ping timeout: 260 seconds)
11:26:42 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:30:31 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
11:30:39 × haskl quits (~haskl@user/haskl) (Read error: Connection reset by peer)
11:31:39 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
11:33:00 haskl joins (~haskl@user/haskl)
11:36:23 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
11:36:41 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
11:36:43 Neuromancer joins (~Neuromanc@user/neuromancer)
11:37:31 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
11:38:09 hololeap joins (~hololeap@user/hololeap)
11:39:27 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
11:41:21 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 268 seconds)
11:47:49 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
11:48:35 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection)
11:50:01 × trainlag1602 quits (~saroa@user/trainlag1602) (Quit: Leaving.)
11:54:06 fef joins (~thedawn@user/thedawn)
11:56:33 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
11:56:35 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
12:00:16 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
12:00:31 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
12:00:56 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 245 seconds)
12:01:55 deadmarshal joins (~deadmarsh@95.38.117.144)
12:03:33 × unmanbearpig quits (~unmanbear@user/unmanbearpig) (Ping timeout: 268 seconds)
12:04:29 unmanbearpig joins (~unmanbear@user/unmanbearpig)
12:04:34 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
12:06:53 × MoC quits (~moc@user/moc) (Quit: Konversation terminated!)
12:07:30 <deadmarshal> How can i use read :: Int here? https://paste.tomsmeding.com/am0cThuf
12:09:08 <Rembane_> > map read $ map fst $ map (span (isDigit)) $ words "72olle 103doo 100ya"
12:09:09 <lambdabot> [*Exception: Prelude.read: no parse
12:09:28 <Rembane_> > map fst $ map (span (isDigit)) $ words "72olle 103doo 100ya"
12:09:29 <lambdabot> ["72","103","100"]
12:09:41 <Rembane_> > map (read :: String -> Int) $ map fst $ map (span (isDigit)) $ words "72olle 103doo 100ya"
12:09:42 <lambdabot> [72,103,100]
12:10:38 <Rembane_> deadmarshal: Like that. :D
12:10:40 <gentauro> maerwald: do you also get this warning message when you build for the M1? -> `'apple-a7' is not a recognized processor for this target (ignoring processor)`
12:10:54 fuzzypixelz joins (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
12:10:54 <Rembane_> deadmarshal: Sometimes read needs some help to figure out which type is needed.
12:11:08 <maerwald> gentauro: not sure... I only build on CI
12:11:26 <gentauro> maerwald: roger that
12:13:35 × deadmarshal quits (~deadmarsh@95.38.117.144) (Ping timeout: 256 seconds)
12:20:39 AlexNoo_ is now known as AlexNoo
12:22:29 deadmarshal joins (~deadmarsh@95.38.117.144)
12:24:36 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
12:29:22 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Ping timeout: 260 seconds)
12:32:38 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
12:36:49 × deadmarshal quits (~deadmarsh@95.38.117.144) (Ping timeout: 256 seconds)
12:38:41 wonko joins (~wjc@user/wonko)
12:38:56 Nolrai2 joins (~Nolrai2@c-76-27-202-218.hsd1.or.comcast.net)
12:43:57 deadmarshal joins (~deadmarsh@95.38.117.144)
12:48:24 EvanR joins (~evan@2600:1700:ba69:10:f8b2:4afa:5a7f:3188)
12:48:31 slowButPresent joins (~slowButPr@user/slowbutpresent)
12:52:59 machinedgod joins (~machinedg@24.105.81.50)
12:53:06 × EvanR quits (~evan@2600:1700:ba69:10:f8b2:4afa:5a7f:3188) (Ping timeout: 260 seconds)
12:54:07 × bjobjo quits (~bjobjo@user/bjobjo) (Ping timeout: 268 seconds)
12:58:15 <hpc> deadmarshal: you can also just use acme-php, which has instance Num String :D
13:10:40 bjobjo joins (~bjobjo@user/bjobjo)
13:11:18 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Ping timeout: 260 seconds)
13:15:42 × bjobjo quits (~bjobjo@user/bjobjo) (Ping timeout: 268 seconds)
13:17:05 bjobjo joins (~bjobjo@user/bjobjo)
13:18:54 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
13:23:56 <gentauro> hpc: `…-php`? That sounds horrible xD
13:28:53 deadmarshal_ joins (~deadmarsh@95.38.113.241)
13:28:57 × deadmarshal quits (~deadmarsh@95.38.117.144) (Ping timeout: 256 seconds)
13:32:53 <hpc> give it a look, but don't read the hackage docs because they contain spoilers :D
13:34:27 <geekosaur> it says something about haskell that you can stretch it that far :)
13:36:58 <hpc> i think it says more about haskell that it can only be stretched that far
13:37:03 <gentauro> hpc: this? https://hackage.haskell.org/package/acme-php-0.0.5/src/docs.html
13:37:06 <gentauro> is it a joke?
13:37:49 <geekosaur> the whole acme- hierarchy is jokes
13:38:19 <gentauro> geekosaur: that's a lot of jokes -> https://hackage.haskell.org/packages/#cat:Acme
13:38:22 <gentauro> :o
13:38:38 <geekosaur> yep
13:39:02 <hpc> acme-schoenfinkel is my favorite, unless there have been any new ones lately
13:40:01 <gentauro> https://hackage.haskell.org/package/acme-io-0.1.0.1/docs/src/System-IO-Unsafe-Really-IMeanIt.html#reallyReallyAbsurdlyUnsafePerformIOShameOnYou
13:40:04 <gentauro> WTF
13:40:29 <hpc> okay, acme-mutable is my new favorite
13:40:49 <hpc> er, acme-mutable-package
13:43:28 <gentauro> hpc: now that is bad
13:43:46 <gentauro> no wonder SPJ moved to Epic Games to play Fortnite all day
13:44:10 <hpc> gentauro: acme-io is a reference to https://hoogle.haskell.org/?hoogle=reallyUnsafe
13:44:34 <hpc> which manage to be even worse than unsafeCoerce
13:44:48 × dsrt^ quits (~dsrt@h50.174.139.63.static.ip.windstream.net) (Remote host closed the connection)
13:45:32 <gentauro> hpc: I <3 that it is `SAFE` inferred xD https://hackage.haskell.org/package/acme-io-0.1.0.1/docs/System-IO-Unsafe-Really-IMeanIt.html
13:45:49 <gentauro> Haskell, more like HaskLEL, packages are a shit show right?
13:45:57 lbseale joins (~lbseale@user/ep1ctetus)
13:46:49 <gentauro> would love to see some `semantic / syntactic` versioning on the `AST` of the libraries.
13:47:23 <gentauro> a bit like `elm`, but not being superficial (baed signatures)
13:47:39 × wonko quits (~wjc@user/wonko) (Ping timeout: 256 seconds)
13:48:40 wonko joins (~wjc@user/wonko)
13:52:45 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Ping timeout: 256 seconds)
13:52:53 _ht_ joins (~quassel@193.9.114.4)
13:58:14 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
14:00:17 × lbseale quits (~lbseale@user/ep1ctetus) (Quit: Leaving)
14:00:41 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
14:01:58 × bjobjo quits (~bjobjo@user/bjobjo) (Ping timeout: 268 seconds)
14:02:57 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
14:02:58 × Everything quits (~Everythin@37.115.210.35) (Quit: leaving)
14:08:10 bjobjo joins (~bjobjo@user/bjobjo)
14:11:19 shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net)
14:11:19 × bjobjo quits (~bjobjo@user/bjobjo) (Read error: Connection reset by peer)
14:12:29 <maerwald> cabal says 'rejecting: network-3.1.2.5, network-3.1.2.2 (constraint from user target requires ==3.1.2.1)', although 1. there's no upper bound in .cabal and 2. there's a 'network ==3.1.2.5' constraint in cabal.project.freeze
14:13:10 bjobjo joins (~bjobjo@user/bjobjo)
14:14:25 <geekosaur> usually means some dependency of your target needs 3.1.2.1. cabal's kinda bad at reporting those things, mostly because it's too busy trying to solve goals to try to track where all the constraints come from
14:15:23 <geekosaur> cabal's trying to be a general constraint solver without having a real constraint solver at its disposal
14:15:43 <maerwald> well, cabal.project contains 'allow-newer: *'
14:16:07 <maerwald> so this makes no sense
14:17:27 <gentauro> maerwald: I added that to my `stack.yaml`
14:18:23 <maerwald> what even is "user target"
14:19:08 <maerwald> so the solver is broken and allow-newer is broken too?
14:20:57 aleator joins (~aleator@178-55-209-25.bb.dnainternet.fi)
14:22:17 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
14:26:09 × hendursa1 quits (~weechat@user/hendursaga) (Remote host closed the connection)
14:26:54 hendursa1 joins (~weechat@user/hendursaga)
14:30:08 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
14:30:23 × aleator quits (~aleator@178-55-209-25.bb.dnainternet.fi) (Ping timeout: 260 seconds)
14:32:11 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
14:32:59 jpds1 is now known as jpds
14:33:44 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
14:33:59 × kuribas quits (~user@ptr-25vy0i9stc21zae4wv3.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
14:38:39 × justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 256 seconds)
14:40:31 f-a joins (f2a@f2a.jujube.ircnow.org)
14:41:01 <f-a> t:cabal where are translations files (.po, .msg, etc.) going? in extra-source-files?
14:41:25 × bjobjo quits (~bjobjo@user/bjobjo) (Ping timeout: 268 seconds)
14:45:35 jakalx joins (~jakalx@base.jakalx.net)
14:47:06 unit73e joins (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291)
14:50:18 × deadmarshal_ quits (~deadmarsh@95.38.113.241) (Ping timeout: 260 seconds)
14:52:32 × euandreh quits (~euandreh@2804:14c:65c9:5161:4d0f:6b02:d329:b5d2) (Ping timeout: 268 seconds)
14:54:36 neurocyte0132889 joins (~neurocyte@45.14.190.246)
14:54:36 × neurocyte0132889 quits (~neurocyte@45.14.190.246) (Changing host)
14:54:36 neurocyte0132889 joins (~neurocyte@user/neurocyte)
14:54:55 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
14:55:11 <[exa]> f-a: you might check reverse dependencies of i18n package, they should have the files managed somehow
14:55:50 <f-a> sensible idea
14:56:09 <[exa]> not that I'd know how to find the revdeps.. :D
14:56:19 <maerwald> I have ~/.cabal/store/ghc-8.10.7/pandoc-2.10.1-48ded60d178790735dbd0b77b1694f289c1776562a1f42674a2e135256d36a1d/share/data/translations
14:57:04 <maerwald> pandoc.cabal specifies 'data/translations/*.yaml' in data-files
14:57:11 × neurocyte0132889 quits (~neurocyte@user/neurocyte) (Client Quit)
14:57:20 <maerwald> so data-files go to share
14:57:25 sprout joins (~quassel@2a02:a467:ccd6:1:907f:6d38:50a3:cb6a)
14:57:27 <geekosaur> https://packdeps.haskellers.com/reverse
14:57:32 <f-a> he put in in data files yeah
14:57:50 <[exa]> geekosaur: oo nice
14:58:00 bjobjo joins (~bjobjo@user/bjobjo)
14:58:21 <maerwald> extra-source files don't get installed I think, that's just for sdist to include them
14:59:50 <unit73e> I remember reading that recently
15:01:01 neurocyte0132889 joins (~neurocyte@45.14.190.246)
15:01:01 × neurocyte0132889 quits (~neurocyte@45.14.190.246) (Changing host)
15:01:01 neurocyte0132889 joins (~neurocyte@user/neurocyte)
15:01:10 × sprout_ quits (~quassel@2a02:a467:ccd6:1:49b2:5c3a:dea0:5ca1) (Ping timeout: 268 seconds)
15:01:40 <unit73e> I read all that here: https://cabal.readthedocs.io/en/3.6/cabal-project.html
15:01:46 <unit73e> because other-modules wasn't collaborating
15:02:11 × bjobjo quits (~bjobjo@user/bjobjo) (Ping timeout: 245 seconds)
15:03:11 bjobjo joins (~bjobjo@user/bjobjo)
15:04:05 × neurocyte0132889 quits (~neurocyte@user/neurocyte) (Client Quit)
15:04:52 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
15:04:54 EvanR joins (~evan@2600:1700:ba69:10:8ec:144d:564b:ca12)
15:05:02 × EvanR quits (~evan@2600:1700:ba69:10:8ec:144d:564b:ca12) (Changing host)
15:05:02 EvanR joins (~evan@user/evanr)
15:05:04 be1m0nt joins (~be1m0nt@pool-100-37-244-180.nycmny.fios.verizon.net)
15:05:27 be1m0nt parts (~be1m0nt@pool-100-37-244-180.nycmny.fios.verizon.net) ()
15:05:39 neurocyte0132889 joins (~neurocyte@45.14.190.246)
15:05:39 × neurocyte0132889 quits (~neurocyte@45.14.190.246) (Changing host)
15:05:39 neurocyte0132889 joins (~neurocyte@user/neurocyte)
15:10:18 × aeke quits (~a@p200300ef973db1af4086f0a6a24fc4dd.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
15:10:41 aeke joins (~a@p200300ef973db1424086f0a6a24fc4dd.dip0.t-ipconnect.de)
15:13:53 <fryguybob> mc47: In case no one else answered you question, STM does not work across processes.
15:15:06 × _ht_ quits (~quassel@193.9.114.4) (Ping timeout: 245 seconds)
15:15:38 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
15:15:53 justsomeguy joins (~justsomeg@user/justsomeguy)
15:22:40 <maerwald> gentauro: https://gitlab.haskell.org/maerwald/stack/-/jobs/849239/artifacts/browse/.local/bin/
15:22:49 <maerwald> there's a stack M1 binary
15:29:41 CiaoSen joins (~Jura@p200300c95730dd002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
15:34:25 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
15:34:26 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
15:34:26 wroathe joins (~wroathe@user/wroathe)
15:35:00 carbolymer_ is now known as carbolymer
15:35:05 <gentauro> maerwald: nice !!!
15:35:51 <gentauro> maerwald: any chance that `fpco` will merge this in version `2.5.x`?
15:36:01 <gentauro> :)
15:36:27 <maerwald> merge what?
15:37:07 <gentauro> maerwald: your changes into their branch -> https://gitlab.haskell.org/maerwald/stack/-/commit/948db274fce49c3fa9607dcfea7d446e9ffdf223
15:37:23 <maerwald> oh lol, probably not
15:37:29 <gentauro> maerwald: xD
15:38:15 timCF joins (~timCF@m91-129-97-132.cust.tele2.ee)
15:38:57 <gentauro> could you try to do a `stack install haskell-language-server` to see if it builds :)
15:39:23 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 268 seconds)
15:40:43 <timCF> Hello! Let's say I do have `newtype A = A B`, and module does not export A constructor. Can I still implement somehow Coercible inside the module, to be able to use `coerce :: A -> B` outside of the module?
15:42:08 <hpc> yes
15:43:18 <dmj`> instances in Haskell are always exported and imported between modules
15:48:00 justUnited is now known as justCity
15:48:20 dsrt^ joins (~dsrt@h50.174.139.63.static.ip.windstream.net)
15:49:27 × cosimone quits (~user@93-47-231-203.ip115.fastwebnet.it) (Quit: ERC (IRC client for Emacs 27.1))
15:50:08 cosimone joins (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20)
15:51:38 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
15:51:38 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
15:51:38 wroathe joins (~wroathe@user/wroathe)
15:52:50 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds)
15:54:10 fendor_ joins (~fendor@77.119.198.57.wireless.dyn.drei.com)
15:56:39 × fendor quits (~fendor@178.165.196.101.wireless.dyn.drei.com) (Ping timeout: 268 seconds)
15:58:43 kadir joins (~kadir@78.178.105.36)
15:58:50 × acidjnk quits (~acidjnk@p200300d0c72635825cb0fefbc648f0e4.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
16:00:08 × mbuf quits (~Shakthi@122.178.124.224) (Quit: Leaving)
16:00:35 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
16:03:04 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
16:03:07 <mc47> fryguybob: thank you, I should've read the docs more closely
16:03:40 <mc47> one of the few times where a haskell program complies but doesn't do what you think it does
16:07:37 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
16:10:01 <geekosaur> uh, wait. Coercible is not implementable, it's generated by the typechecker. and one of the rules for generation is the ocnstructor must be in scope
16:10:50 <geekosaur> I believe yoou will get an error if you write instance Coercible A where
16:12:34 peutri_ is now known as peutri
16:15:04 <lyxia> Yeah, Coercible is not a regular class, it's its own construct with special semantics.
16:17:10 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
16:18:15 <timCF> I guess than I just have to use exported function-accessor instead of coerce
16:19:35 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 264 seconds)
16:20:00 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
16:24:23 × justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 264 seconds)
16:24:28 × Nolrai2 quits (~Nolrai2@c-76-27-202-218.hsd1.or.comcast.net) (Quit: Client closed)
16:26:07 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
16:26:46 zmt00 joins (~zmt00@user/zmt00)
16:31:35 srk_ joins (~sorki@user/srk)
16:32:26 × srk quits (~sorki@user/srk) (Ping timeout: 260 seconds)
16:32:30 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Remote host closed the connection)
16:33:08 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
16:34:13 srk_ is now known as srk
16:34:52 kadir parts (~kadir@78.178.105.36) (WeeChat 3.3)
16:36:22 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
16:36:22 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
16:36:22 wroathe joins (~wroathe@user/wroathe)
16:37:05 fluffyballoon joins (~user@131.93.208.196)
16:37:46 × neurocyte0132889 quits (~neurocyte@user/neurocyte) (Quit: The Lounge - https://thelounge.chat)
16:40:12 sprout_ joins (~quassel@2a02:a467:ccd6:1:e9:abf1:b887:13fa)
16:40:26 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
16:40:50 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 260 seconds)
16:40:52 neurocyte0132889 joins (~neurocyte@45.14.190.246)
16:40:53 × neurocyte0132889 quits (~neurocyte@45.14.190.246) (Changing host)
16:40:53 neurocyte0132889 joins (~neurocyte@user/neurocyte)
16:41:13 mei32 joins (~mei@user/mei)
16:42:25 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
16:42:55 × sprout quits (~quassel@2a02:a467:ccd6:1:907f:6d38:50a3:cb6a) (Ping timeout: 268 seconds)
16:43:53 hololeap joins (~hololeap@user/hololeap)
16:44:47 × mei3 quits (~mei@user/mei) (Ping timeout: 264 seconds)
16:44:47 mei32 is now known as mei3
16:45:09 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 244 seconds)
16:45:10 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:51:32 × CiaoSen quits (~Jura@p200300c95730dd002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
16:57:50 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Remote host closed the connection)
16:58:26 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
16:58:30 zincy joins (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65)
17:05:07 × Ram-Z quits (~Ram-Z@li1814-254.members.linode.com) (Ping timeout: 268 seconds)
17:05:19 × zincy quits (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65) (Remote host closed the connection)
17:06:28 zincy joins (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65)
17:08:38 Ram-Z joins (~Ram-Z@li1814-254.members.linode.com)
17:10:05 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Remote host closed the connection)
17:10:35 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 264 seconds)
17:10:56 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
17:15:54 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
17:21:59 × zincy quits (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65) (Remote host closed the connection)
17:22:21 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
17:22:21 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
17:22:21 wroathe joins (~wroathe@user/wroathe)
17:22:36 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:23:02 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
17:23:10 vysn joins (~vysn@user/vysn)
17:24:21 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
17:26:10 Vajb joins (~Vajb@2001:999:66:281c:27a0:1549:39e5:8b1a)
17:26:42 × aeke quits (~a@p200300ef973db1424086f0a6a24fc4dd.dip0.t-ipconnect.de) (Quit: WeeChat 3.0.1)
17:28:07 zincy joins (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65)
17:30:01 kuribas joins (~user@ptr-25vy0i98iduiysh23zp.18120a2.ip6.access.telenet.be)
17:30:01 × Vajb quits (~Vajb@2001:999:66:281c:27a0:1549:39e5:8b1a) (Read error: Connection reset by peer)
17:30:10 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
17:31:13 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
17:33:05 pfurla joins (~pfurla@189.122.164.244)
17:33:16 × zincy quits (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65) (Remote host closed the connection)
17:36:22 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
17:36:28 <awpr> timCF: do you want _only_ `A -> B` and not the other direction, e.g. because `A` has extra invariants?
17:37:36 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection)
17:39:20 bitmapper joins (uid464869@id-464869.lymington.irccloud.com)
17:42:26 × pfurla quits (~pfurla@189.122.164.244) (Quit: gone to sleep. ZZZzzz…)
17:44:42 takuan joins (~takuan@178-116-218-225.access.telenet.be)
17:45:39 mark___ joins (~a@p200300ef973db1424086f0a6a24fc4dd.dip0.t-ipconnect.de)
17:45:54 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
17:47:01 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
17:48:36 deadmarshal joins (~deadmarsh@95.38.113.241)
17:48:38 <mark___> Is ghc-vis maintained? When I try simple stuff like view ("hello" :: String) "hello" the repl dies and it says "double free or corruption (fasttop)"
17:50:16 <Inst> i'm just
17:50:23 <Inst> going to admit i'm embarrassed
17:50:32 f-a parts (f2a@f2a.jujube.ircnow.org) ()
17:50:47 Guest2727 joins (~Guest27@2601:281:d480:2ce0::93bd)
17:50:49 <Inst> i can't get foreign import capi "toyfunction" to work
17:51:59 aleator joins (~aleator@37-136-225-173.rev.dnainternet.fi)
17:52:39 thblt joins (~thblt@user/thblt)
17:54:02 <Guest2727> When using the Continuation monad is there ever a reason to replace the 'r' in 'Cont r a' with a specific type?
17:54:34 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 260 seconds)
17:54:43 <int-e> :t runCont
17:54:44 <lambdabot> Cont r a -> (a -> r) -> r
17:56:48 <int-e> Not usually, no. Though it is worth noting that newtype ContT r m a = ContT {runContT :: (a -> m r) -> m r} is based on replacing `r` by the more specific `m r`.
17:57:14 <int-e> and that allows you access to effects from m
17:58:07 <hpc> sometimes if you're doing something domain-specific you might want a specific r
17:58:40 <hpc> but i don't think i could come up with an example
17:59:19 econo joins (uid147250@user/econo)
17:59:26 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
17:59:27 <Guest2727> OK, thanks for the answers
18:00:23 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
18:00:23 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
18:00:23 wroathe joins (~wroathe@user/wroathe)
18:00:32 <thblt> Google is failing me: is there an easy way, with cabal or stack, to generate complete documentation for a project's dependencies? To have them in one place, browsable offline?
18:03:34 <sm> stack haddock --open
18:03:35 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
18:03:41 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 244 seconds)
18:04:35 × aleator quits (~aleator@37-136-225-173.rev.dnainternet.fi) (Ping timeout: 260 seconds)
18:05:29 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
18:09:59 <Inst> i've been at it for like 24 hours, and i give up
18:10:27 <monochrom> I use Cont for shift/reset http://www.vex.net/~trebla/haskell/cont.xhtml so r gets monomorphized all the time.
18:10:35 <Inst> if someone would like to help me get a native file dialog written in C FFI-ed into Haskell
18:10:35 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
18:10:44 <monochrom> I no longer use callCC in fact.
18:10:45 <Inst> please query me, if you want money, I can pay for it
18:10:54 <thblt> sm: indeed, thanks. cabal was unhappy with my executable-only package, stack is less picky.
18:11:14 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
18:11:14 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
18:11:14 wroathe joins (~wroathe@user/wroathe)
18:11:58 <kronicmage> hey folks, I've implemented a pretty naive implementation of extended euclidean algorithm using hylo from recursion-schemes here: https://paste.tomsmeding.com/fc3bcFyu
18:12:01 <Guest2727> monochrom: interesting, I'll check out that page
18:12:09 <kronicmage> my question is: is there a better way to do this, without needing the extra data type?
18:15:20 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
18:15:34 Sgeo joins (~Sgeo@user/sgeo)
18:16:05 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 244 seconds)
18:16:05 Codaraxis_ joins (~Codaraxis@user/codaraxis)
18:18:48 khanred joins (~khanred@user/khanred)
18:18:53 khanred parts (~khanred@user/khanred) ()
18:18:59 × kuribas quits (~user@ptr-25vy0i98iduiysh23zp.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
18:19:30 She joins (~she@user/thedaemoness)
18:19:39 × Codaraxis quits (~Codaraxis@user/codaraxis) (Ping timeout: 256 seconds)
18:19:56 pfurla joins (~pfurla@189.122.164.244)
18:20:05 × pfurla quits (~pfurla@189.122.164.244) (Client Quit)
18:20:33 CiaoSen joins (~Jura@p200300c95730dd002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
18:20:44 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Ping timeout: 244 seconds)
18:21:16 pfurla joins (~pfurla@189.122.164.244)
18:21:57 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
18:24:00 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
18:25:52 beka joins (~beka@104.193.170.240)
18:30:34 × mark___ quits (~a@p200300ef973db1424086f0a6a24fc4dd.dip0.t-ipconnect.de) (Quit: WeeChat 3.0.1)
18:30:54 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
18:31:55 × pfurla quits (~pfurla@189.122.164.244) (Quit: Textual IRC Client: www.textualapp.com)
18:32:09 hololeap joins (~hololeap@user/hololeap)
18:33:36 yauhsien joins (~yauhsien@118-167-41-229.dynamic-ip.hinet.net)
18:35:01 <dolio> kronicmage: You could just define EuclideanStructureF, since that's all you use, right? And then that can technically be assembled out of other functors, although it might not be a lot nicer.
18:36:11 <dolio> The value case is `Const Natural` and the sum case is `(,,) Natural Natural`
18:36:38 <dolio> So you just need a + on functors.
18:36:43 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
18:37:26 <awpr> GHC.Generics.:+:
18:37:45 <awpr> or Data.Functor.Sum.Sum
18:38:23 slack1256 joins (~slack1256@191.125.227.73)
18:39:19 thblt parts (~thblt@user/thblt) (i)
18:41:11 × yauhsien quits (~yauhsien@118-167-41-229.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
18:41:33 Guest41 joins (~Guest41@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
18:41:46 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
18:51:33 × _xor quits (~xor@72.49.199.147) (Read error: Connection reset by peer)
18:54:52 × EvanR quits (~evan@user/evanr) (Ping timeout: 268 seconds)
18:55:59 _xor joins (~xor@72.49.199.147)
18:57:32 betelgeuse joins (~betelgeus@94-225-47-8.access.telenet.be)
19:01:03 × Guest2727 quits (~Guest27@2601:281:d480:2ce0::93bd) (Ping timeout: 256 seconds)
19:03:12 gehmehgeh joins (~user@user/gehmehgeh)
19:04:41 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 245 seconds)
19:04:44 × deadmarshal quits (~deadmarsh@95.38.113.241) (Ping timeout: 268 seconds)
19:07:36 × CiaoSen quits (~Jura@p200300c95730dd002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
19:12:46 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Ping timeout: 268 seconds)
19:15:34 ec_ joins (~ec@gateway/tor-sasl/ec)
19:19:42 × fef quits (~thedawn@user/thedawn) (Ping timeout: 276 seconds)
19:25:42 × xff0x quits (~xff0x@port-92-193-130-240.dynamic.as20676.net) (Ping timeout: 268 seconds)
19:26:37 Guest99 joins (~Guest99@pool-100-8-45-127.nwrknj.fios.verizon.net)
19:28:58 Fusion_ joins (~Fusion@2a02-a44c-e6e5-1-5cf9-2256-6303-4118.fixed6.kpn.net)
19:30:15 <Inst> hmmm
19:30:24 <Inst> I finally got CApiFFI to work
19:30:30 <Inst> in a limited, bugged form with a toy program
19:30:35 × slack1256 quits (~slack1256@191.125.227.73) (Remote host closed the connection)
19:31:02 <Inst> basically, if I run it in GHCi, it works, in GHC, it just hangs, in prat because the toy program has no main
19:31:10 <Inst> I can break out, it executes the prompts (but doesn't accept input)
19:32:11 <geekosaur> can you show us the bugged program? also if it has no main then ghc should refuse to link it
19:32:11 xff0x joins (~xff0x@2001:1a81:52ec:e600:16f0:b06d:ec81:fca7)
19:32:44 <geekosaur> and may refuse to compile it if it finds a module Main (or a module with no header) that doesn't have `main` defined in it
19:33:44 <Inst> check haskell beginner geekosaur
19:36:49 × _xor quits (~xor@72.49.199.147) (Read error: Connection reset by peer)
19:37:12 _xor joins (~xor@72.49.199.147)
19:39:57 × fluffyballoon quits (~user@131.93.208.196) (Remote host closed the connection)
19:42:35 × hendursa1 quits (~weechat@user/hendursaga) (Quit: hendursa1)
19:43:07 hendursaga joins (~weechat@user/hendursaga)
19:43:35 × betelgeuse quits (~betelgeus@94-225-47-8.access.telenet.be) (Ping timeout: 268 seconds)
19:45:16 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
19:45:42 × ec_ quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 276 seconds)
19:46:16 max22- joins (~maxime@2a01cb08833598005dc77d164ebe8446.ipv6.abo.wanadoo.fr)
19:46:38 hololeap joins (~hololeap@user/hololeap)
19:47:53 [Kalisto] joins (~nico@user/kalisto/x-8968079)
19:53:01 × wonko quits (~wjc@user/wonko) (Ping timeout: 245 seconds)
19:53:21 ec_ joins (~ec@gateway/tor-sasl/ec)
19:53:33 mjacob joins (~mjacob@adrastea.uberspace.de)
19:54:15 × [Kalisto] quits (~nico@user/kalisto/x-8968079) (Ping timeout: 244 seconds)
19:57:46 × xff0x quits (~xff0x@2001:1a81:52ec:e600:16f0:b06d:ec81:fca7) (Ping timeout: 260 seconds)
20:00:11 × ec_ quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
20:00:35 ec_ joins (~ec@gateway/tor-sasl/ec)
20:05:18 × juhp quits (~juhp@128.106.188.220) (Ping timeout: 260 seconds)
20:05:26 <maerwald> I'm playing with hsseccomp and I wish there was a high-level library
20:06:47 zebrag joins (~chris@user/zebrag)
20:07:33 juhp joins (~juhp@128.106.188.220)
20:09:48 xff0x joins (~xff0x@2001:1a81:52ec:e600:16f0:b06d:ec81:fca7)
20:11:35 × Fusion_ quits (~Fusion@2a02-a44c-e6e5-1-5cf9-2256-6303-4118.fixed6.kpn.net) (Quit: Leaving)
20:12:00 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
20:12:00 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
20:12:00 wroathe joins (~wroathe@user/wroathe)
20:13:39 × ec_ quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 276 seconds)
20:14:54 <maerwald> also https://lwn.net/Articles/799557/ meh
20:16:57 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
20:19:16 × Guest99 quits (~Guest99@pool-100-8-45-127.nwrknj.fios.verizon.net) (Ping timeout: 256 seconds)
20:19:24 deadmarshal joins (~deadmarsh@95.38.113.241)
20:21:03 ec_ joins (~ec@gateway/tor-sasl/ec)
20:23:45 × deadmarshal quits (~deadmarsh@95.38.113.241) (Ping timeout: 256 seconds)
20:26:17 × beka quits (~beka@104.193.170.240) (Ping timeout: 244 seconds)
20:31:22 × Inst quits (~Inst@2601:6c4:4080:3f80:40a:9f91:8f3e:4f02) (Remote host closed the connection)
20:31:46 Inst joins (~Inst@2601:6c4:4080:3f80:f571:277c:e0b0:82b9)
20:31:49 jassob joins (~jassob@h-98-128-167-112.NA.cust.bahnhof.se)
20:35:51 × glguy quits (x@libera/staff/glguy) (Quit: Quit)
20:36:06 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
20:36:24 glguy joins (x@libera/staff/glguy)
20:36:31 ChaiTRex joins (~ChaiTRex@user/chaitrex)
20:39:13 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
20:41:24 acidjnk joins (~acidjnk@p200300d0c72635825cb0fefbc648f0e4.dip0.t-ipconnect.de)
20:42:15 × ec_ quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 276 seconds)
20:44:54 madjestic joins (~madjestic@88-159-247-120.fixed.kpn.net)
20:46:38 ec_ joins (~ec@gateway/tor-sasl/ec)
20:47:11 × sprout_ quits (~quassel@2a02:a467:ccd6:1:e9:abf1:b887:13fa) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
20:47:32 sprout joins (~quassel@2a02:a467:ccd6:1:e9:abf1:b887:13fa)
20:49:22 <maerwald> and seccomp-notify looks complicated
20:49:37 <maerwald> https://brauner.github.io/2020/07/23/seccomp-notify.html
20:51:13 × tabemann quits (~tabemann@2600:1700:7990:24e0:25bd:a66c:dc78:d416) (Remote host closed the connection)
20:51:25 tabemann joins (~tabemann@2600:1700:7990:24e0:c9ce:7077:ec0c:a794)
20:54:05 × brettgilio quits (~brettgili@x-node.gq) (Quit: Leaving...)
20:56:16 acidjnk_new joins (~acidjnk@p200300d0c7404a39d4d6bc989f421ded.dip0.t-ipconnect.de)
20:56:36 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
20:58:51 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
20:59:52 brettgilio joins (~brettgili@x-node.gq)
21:00:03 × acidjnk quits (~acidjnk@p200300d0c72635825cb0fefbc648f0e4.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
21:06:12 xsebek joins (~xsebek@176.74.150.21)
21:08:36 Codaraxis__ joins (~Codaraxis@user/codaraxis)
21:08:46 × jassob quits (~jassob@h-98-128-167-112.NA.cust.bahnhof.se) (Ping timeout: 260 seconds)
21:10:22 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
21:10:51 × ec_ quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 276 seconds)
21:11:47 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
21:12:16 × Codaraxis_ quits (~Codaraxis@user/codaraxis) (Ping timeout: 244 seconds)
21:14:51 × mei3 quits (~mei@user/mei) (Ping timeout: 244 seconds)
21:16:09 × hendursaga quits (~weechat@user/hendursaga) (Remote host closed the connection)
21:16:14 hendursaga joins (~weechat@user/hendursaga)
21:21:24 × xlei quits (znc@pool-68-129-84-118.nycmny.fios.verizon.net) (Read error: Connection reset by peer)
21:21:24 Guest278 joins (~Guest27@2601:281:d480:2ce0::93bd)
21:22:53 cjb joins (~cjbayliss@user/cjb)
21:23:49 × madjestic quits (~madjestic@88-159-247-120.fixed.kpn.net) (Ping timeout: 256 seconds)
21:28:04 × cjb quits (~cjbayliss@user/cjb) ()
21:29:10 Pickchea joins (~private@user/pickchea)
21:29:30 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
21:30:33 xlei joins (~akans@pool-68-129-84-118.nycmny.fios.verizon.net)
21:30:51 EvanR joins (~evan@2600:1700:ba69:10:7dba:d155:3b0e:7b4c)
21:31:03 cjb joins (~cjbayliss@user/cjb)
21:31:15 × EvanR quits (~evan@2600:1700:ba69:10:7dba:d155:3b0e:7b4c) (Changing host)
21:31:15 EvanR joins (~evan@user/evanr)
21:31:20 × zebrag quits (~chris@user/zebrag) (Remote host closed the connection)
21:31:21 pavonia joins (~user@user/siracusa)
21:31:39 justsomeguy joins (~justsomeg@user/justsomeguy)
21:31:53 × fendor_ quits (~fendor@77.119.198.57.wireless.dyn.drei.com) (Remote host closed the connection)
21:33:58 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
21:37:46 kupi joins (uid212005@id-212005.hampstead.irccloud.com)
21:43:32 <maerwald> gentauro: https://gitlab.haskell.org/maerwald/stack/-/jobs/849559/artifacts/browse/.local/bin/ here's an M1 HLS binary
21:45:56 zebrag joins (~chris@user/zebrag)
21:46:12 × zebrag quits (~chris@user/zebrag) (Remote host closed the connection)
21:50:15 zebrag joins (~chris@user/zebrag)
21:52:53 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.2)
21:53:57 Guest99 joins (~Guest99@pool-100-8-45-127.nwrknj.fios.verizon.net)
21:57:41 × zebrag quits (~chris@user/zebrag) (Remote host closed the connection)
22:00:05 × emf quits (~emf@163.114.132.5) (Ping timeout: 256 seconds)
22:00:50 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Quit: Lost terminal)
22:01:46 ees joins (~user@pool-108-18-30-46.washdc.fios.verizon.net)
22:01:55 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
22:02:14 emf joins (~emf@2620:10d:c090:400::5:d546)
22:05:14 zebrag joins (~chris@user/zebrag)
22:07:33 yauhsien joins (~yauhsien@61-231-16-137.dynamic-ip.hinet.net)
22:07:35 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Ping timeout: 264 seconds)
22:10:13 <hololeap> what's a good way to implement a binary tree with a static shape and O(1) lookups and updates, given a "path" e.g. [GoLeft, GoRight, GoLeft, ...]
22:10:41 <hololeap> well, the shape is determined at runtime but doesn't change after that
22:11:42 <geekosaur> can that even be O(1)? wouldn't it still be O(log N) even given a path to walk instead of needing to search?
22:12:46 <hololeap> well, if the shape is known then you could give each node a unique key and then put it all into a vector. that was one option I was exploring
22:15:07 <hololeap> another thing I considered was to wrap each node in a TVar and then have a separate lookup table via a (Map Path (TVar (Node a)) or something
22:17:48 <hololeap> what I am aiming for is making the thing a Representable with O(1) lookups/updates so I can plug it into Control.Comonad.Representable.Store
22:18:13 × yauhsien quits (~yauhsien@61-231-16-137.dynamic-ip.hinet.net) (Remote host closed the connection)
22:18:29 <hololeap> it's for this programming challenge: https://www.hackerrank.com/challenges/the-tree-of-life
22:18:45 yauhsien joins (~yauhsien@61-231-16-137.dynamic-ip.hinet.net)
22:18:46 <geekosaur> then you're just hiding the big-O in the Map, I think
22:19:19 <geekosaur> this all sounds to me like trying to be too clever without actually solving the big-O problem
22:19:24 <hpc> yeah, you can only get O(1) with a fixed-size data structure
22:19:42 <hpc> like particular types of hash table, or arrays
22:22:26 <hololeap> I've implemented the standard GoL with vector-sized and Representable. this is a bit different because of the binary-tree shape of the thing, and also hackerrank doesn't have a ton of libraries available so things like finite-typelits are out
22:23:26 × yauhsien quits (~yauhsien@61-231-16-137.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
22:26:15 <hololeap> but, yeah I could be painting myself into a corner here with my assumptions about how it needs to be done
22:28:02 <hololeap> since the whole tree has to be traversed to updated the alive/dead status of each cell, perhaps just a regular tree traversal is good enough
22:29:10 <hpc> yeah, log factors are smaller than you probably are thinking they are
22:29:12 jassob joins (~jassob@h-98-128-167-112.NA.cust.bahnhof.se)
22:29:52 <hololeap> I'm just a bit worried about the corner cases when they have huge trees and 1000 life cycles
22:30:29 <hpc> they would have to be truly huge
22:30:35 <Guest278> log scales really well with large numbers
22:30:42 <hpc> if you have a tree of 1000 noddes that takes 1 second
22:30:48 <hpc> to make it take 2 seconds needs 10000 nodes
22:30:53 <hpc> 3 seconds, 100000 nodes
22:30:56 <hololeap> that's true
22:31:15 <hpc> (plus or minus memory bandwidth, cpu cache, etc)
22:31:18 <Guest278> it's why stuff like git-bisect can cut through literally thousands of commits so easily
22:32:04 × Guest99 quits (~Guest99@pool-100-8-45-127.nwrknj.fios.verizon.net) (Quit: Client closed)
22:32:17 Guest99 joins (~Guest99@pool-100-8-45-127.nwrknj.fios.verizon.net)
22:34:11 justsomeguy joins (~justsomeg@user/justsomeguy)
22:34:45 <Guest278> plus looking at the problem it's a CA update? in which case you're traversing the whole tree anyway and you'd ideally have every neighbor available
22:34:53 × max22- quits (~maxime@2a01cb08833598005dc77d164ebe8446.ipv6.abo.wanadoo.fr) (Quit: Leaving)
22:35:03 <EvanR> exponential growth, reach any level soon. log growth take as long as you need, you won't run out of levels
22:36:34 machinedgod joins (~machinedg@24.105.81.50)
22:37:06 × pieguy128 quits (~pieguy128@bas1-quebec14-67-70-102-17.dsl.bell.ca) (Quit: ZNC 1.8.2 - https://znc.in)
22:37:27 pieguy128 joins (~pieguy128@bras-base-mtrlpq5031w-grc-48-67-70-102-17.dsl.bell.ca)
22:38:47 <hpc> there's a joke about those sorts of big-Os
22:39:02 <hpc> there's an algorithm with a big-O of the inverse ackermann function, and people say it's O(4)
22:39:24 <hpc> because there's no way you're ever getting an input big enough to beyond that
22:39:39 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
22:40:41 <dolio> There's also log*, which is like 5 or 6.
22:41:10 × johnny_sitar quits (~artur@078088015209.bialystok.vectranet.pl) (Ping timeout: 260 seconds)
22:45:16 × Codaraxis__ quits (~Codaraxis@user/codaraxis) (Quit: Leaving)
22:46:28 lagash joins (lagash@lagash.freeirc.org)
22:47:05 × timCF quits (~timCF@m91-129-97-132.cust.tele2.ee) (Quit: leaving)
22:49:12 × vysn quits (~vysn@user/vysn) (Ping timeout: 268 seconds)
22:52:07 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
22:53:31 geekosaur joins (~geekosaur@xmonad/geekosaur)
22:54:09 <hololeap> when is it a good idea to properly fill out the other-extensions field in a .cabal file?
22:54:52 <hpc> probably never? i like seeing them at the top of every source file so i know what i am getting into
22:55:23 <hpc> imagine if cabal files had an other-imports field
22:55:34 <geekosaur> other-extensions is just documentation. it may be helpful to review what extensions you're using anywhere, but I'm not sure that's a serious use case
22:55:49 <hololeap> ok
22:56:18 <geekosaur> it might be helpful for hackage to more easily figure out compiler version compatibility, but I'm not sure it uses it for that
22:56:34 <hpc> oh, i was thinking default-extensions
22:56:56 <geekosaur> yeh, I figured
22:56:58 <hololeap> geekosaur: that's what I thought it might be for, but that isn't really relevant to my use-case ATM
22:57:25 <hpc> apparently other-extensions is useful though
22:58:00 <hpc> the docs say cabal knows what ghc versions can use what extensions
22:58:25 <zzz> what's a good example of the tardis monad usefulness?
22:59:22 × xsebek quits (~xsebek@176.74.150.21) (Ping timeout: 260 seconds)
22:59:30 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Quit: WeeChat 3.3)
23:00:59 waleee joins (~waleee@h-98-128-228-119.NA.cust.bahnhof.se)
23:01:17 xsebek joins (~xsebek@176.74.150.21)
23:02:46 <hololeap> is this functional dependency redundant here? class Sing k (t :: k) | k -> t
23:03:36 <dolio> Doesn't seem like it.
23:03:42 <geekosaur> no, because (t :: k) does not say that t is fully specified by k
23:03:52 <hpc> instance Sing Int 0; instance Sing Int 1; ...
23:04:07 <hpc> t -> k is probably redundant though
23:05:03 <hololeap> ok, thanks
23:06:25 <hpc> hmm, or maybe it's not redundant?
23:06:31 × xsebek quits (~xsebek@176.74.150.21) (Quit: WeeChat 3.2)
23:06:44 <hpc> instance Sing (Maybe Int) Nothing; instance Sing (Maybe Bool) Nothing; ...
23:07:09 <hololeap> maybe I was wanting t -> k
23:07:23 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
23:08:12 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:08:41 × Guest278 quits (~Guest27@2601:281:d480:2ce0::93bd) (Ping timeout: 256 seconds)
23:09:08 yauhsien joins (~yauhsien@61-231-16-137.dynamic-ip.hinet.net)
23:09:29 <hololeap> instance KnownNat t => Sing Nat t where type instance (SingVal t) = Natural
23:10:02 Guest27 joins (~Guest27@2601:281:d480:2ce0::93bd)
23:10:10 <hololeap> the reason for including the kind is to avoid instances with the same head
23:11:54 × waleee quits (~waleee@h-98-128-228-119.NA.cust.bahnhof.se) (Quit: WeeChat 3.3)
23:13:37 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
23:13:41 × yauhsien quits (~yauhsien@61-231-16-137.dynamic-ip.hinet.net) (Ping timeout: 244 seconds)
23:15:07 <jackdk> zzz: https://chrisdone.com/posts/twitter-problem-loeb/ , maybe?
23:16:58 SeungheonOh joins (~Thunderbi@2600:1700:5168:1400:c87a:f4eb:18f0:66cf)
23:17:05 × SeungheonOh quits (~Thunderbi@2600:1700:5168:1400:c87a:f4eb:18f0:66cf) (Client Quit)
23:17:47 <awpr> if the class is poly-kinded, the kind is part of the instance head regardless of whether it's a visible parameter
23:18:26 <awpr> see https://hackage.haskell.org/package/base-4.16.0.0/docs/Data-Type-Ord.html#t:Compare which has instances dispatched on the kind
23:20:57 <zzz> jackdk: thanks!
23:21:39 <geekosaur> of course cdone observes at the bottom of the page that he gave up on waiting for the tardis monad version to finish
23:22:49 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
23:23:43 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
23:27:46 × hendursaga quits (~weechat@user/hendursaga) (Quit: hendursaga)
23:31:09 Nolrai2 joins (~Nolrai2@c-76-27-202-218.hsd1.or.comcast.net)
23:32:14 <Nolrai2> So its been a couple years, what are the pros+cons of using tasty vs. hspec?
23:33:05 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
23:33:05 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
23:33:05 wroathe joins (~wroathe@user/wroathe)
23:37:03 <Axman6> you can use hspec from tasty no?
23:37:22 <Axman6> tasts brings together a bunch of other test frameworks but isn't really a test framework itself
23:38:05 <Nolrai2> Ah.
23:38:39 <Axman6> tasty*
23:42:06 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 244 seconds)
23:42:28 × artemis quits (~artemis@user/artemis) (Ping timeout: 252 seconds)
23:42:46 <AWizzArd> https://hackage.haskell.org/package/fin why can the constructor of Z just use ('S n) while the S constructor must use 'Nat.S ?
23:43:22 artemis joins (~artemis@user/artemis)
23:43:47 <Axman6> it's just docs, so probably a typo
23:43:47 <AWizzArd> Why not both times 'S or 'Nat.S ?
23:44:17 <AWizzArd> Axman6: good idea – https://hackage.haskell.org/package/fin-0.2/docs/src/Data.Fin.html#Fin
23:45:12 <hpc> i am more curious why Z :: Fin ('S n) and not Z :: Fin n
23:45:23 yauhsien joins (~yauhsien@61-231-16-137.dynamic-ip.hinet.net)
23:45:37 <Axman6> because it needs to nor be Z :: Fin 'Z
23:45:46 <Axman6> not*
23:45:50 <hpc> yeah, just realized
23:45:56 <hpc> it's the set of 0 elements
23:46:17 <hpc> {0} is the set of 1 element
23:47:17 <Axman6> not sure I follow... but I look at is as an index into a sized vector that can never point to somewhere outside the vector
23:48:12 <hpc> ah, i was looking at it as Fin n = the first n natural numbers
23:48:13 <EvanR> Fin 0 has no inhabitants
23:48:13 <Axman6> so it's impossible to index into a zero sized vector; index :: Vec n a -> Fin n -> a means we can never pass in Nil to index
23:49:33 <Axman6> there are three values of type Fin 3 that correspond to the three S's
23:49:34 <EvanR> Fin 4 is supposed to be 0 through 3
23:49:56 <Axman6> so I guess Fin n is numbers mod n... I hadn't thought about it that way before
23:50:14 × yauhsien quits (~yauhsien@61-231-16-137.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
23:51:14 <hpc> or thinking of it as a set of a given size - Fin 0 = {}, Fin 1 = {0}, Fin 2 = {0, 1}, etc
23:51:42 <hpc> (but with the actual "what the set contains" information removed)
23:51:45 <EvanR> Z : Fin (S n) is another way of saying zero is not the successor of any number
23:52:53 × Guest27 quits (~Guest27@2601:281:d480:2ce0::93bd) (Ping timeout: 256 seconds)
23:52:58 <EvanR> er, Z isn't a fin number with index zero, nvm
23:53:02 × artemis quits (~artemis@user/artemis) (Quit: artemis)
23:53:43 <hpc> there's other stuff where the base case is fully polymorphic, that's probably how i got mixed up
23:53:46 <awpr> https://hackage.haskell.org/package/fin-int uses all three of "indices of a vector of length n", "finite set of known cardinality", and "naturals less than n"
23:54:10 lavaman joins (~lavaman@98.38.249.169)
23:54:20 <awpr> IMO the "integers mod n" interpretation would lead to a different set of arithmetic operators, and probably also adding a Num instance
23:54:37 <hpc> maybe it should have one :D
23:54:41 <EvanR> indeed
23:54:41 <awpr> ..., so it should be a different type
23:54:47 <awpr> shouldn't have one.
23:55:02 <awpr> all of its methods would be partial
23:55:03 <EvanR> it's valid to do modular arithmetic on Fin numbers
23:55:25 <hpc> by that reasoning, Word shouldn't have a Num instance
23:55:31 <awpr> it is valid, but it's bug-prone to have that as the Num instance of a type that isn't primarily meant to be used that way
23:55:34 <hpc> because it's just the naturals mod 2**64
23:55:42 <EvanR> oh Num... right
23:55:51 <EvanR> Num is just invalid in general xD
23:55:52 <awpr> "naturals mod n" should have a Num instance
23:56:11 <awpr> but "naturals mod n" should be a different type from "indices of a vector of length n"
23:56:32 <hpc> i don't see the difference
23:56:34 <EvanR> I'm not sure this is warranted
23:56:48 × yaroot quits (~yaroot@6.3.30.125.dy.iij4u.or.jp) (Quit: The Lounge - https://thelounge.chat)
23:56:56 <EvanR> extra steps to mod by whatever when doing crazy vector buffer tricks, for no reason
23:57:18 <awpr> if I'm doing index arithmetic, I definitely don't want to have `mod` implicitly happening on indices if I write `+`
23:57:34 yaroot joins (~yaroot@6.3.30.125.dy.iij4u.or.jp)
23:58:03 <EvanR> what way would you rather have addition work for Fin
23:58:16 <awpr> in a way that's visible and intentional at the call site
23:58:27 <monochrom> If you do mod n, you get a circular buffer. But then you also get to argue that circular buffer should have a different type from vector.
23:58:36 <EvanR> wait answer the question lol
23:58:38 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 244 seconds)
23:58:43 × Nolrai2 quits (~Nolrai2@c-76-27-202-218.hsd1.or.comcast.net) (Quit: Client closed)
23:58:54 <awpr> direct answer is that there should be no undistinguished `+` for indices
23:58:54 <EvanR> should it crash or what
23:59:01 <EvanR> so no addition
23:59:04 <hpc> you could argue "circular buffer" is just a set of function definitions that use vectors
23:59:50 <EvanR> also, vectors can be large enough that I would like Fin of a big index be implemented by Word
23:59:53 <awpr> no addition unless it specifies explicitly what should happen with out-of-range results
23:59:55 <hpc> for example, we have many definitions of Queue, but few of Stack

All times are in UTC on 2021-11-07.