Home liberachat/#haskell: Logs Calendar

Logs on 2022-04-04 (liberachat/#haskell)

00:00:06 <jackdk> Yes it is
00:01:13 × alp quits (~alp@user/alp) (Ping timeout: 260 seconds)
00:02:28 <Axman6> Well, it is definitely Monday
00:03:11 <hpc> all day every day
00:05:07 <Axman6> Except for fives of the days
00:06:34 × spacenautx quits (~spacenaut@user/spacenautx) (Quit: WeeChat 3.4.1)
00:07:38 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds)
00:11:59 × wroathe quits (~wroathe@user/wroathe) (Quit: Lost terminal)
00:12:46 <hpc> four
00:12:54 <hpc> there are time zones with greater than 12 hours of adjustment
00:12:59 <Axman6> yeah depends how you look at it
00:13:03 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
00:13:28 <Axman6> and most people don't think about days actually being more than 48 hours long...
00:14:04 <hpc> sadly only in the positive direction
00:14:08 <hpc> negative still caps out at -12
00:14:16 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
00:14:17 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
00:14:17 wroathe joins (~wroathe@user/wroathe)
00:14:20 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
00:15:28 geekosaur used to use large negative or positive TZ adjustments to get `date` to calculate times in past or future, before that functionality became standard
00:15:41 <Axman6> D:
00:15:58 <Axman6> I live in UTC +3600
00:17:55 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds)
00:18:32 azimut joins (~azimut@gateway/tor-sasl/azimut)
00:19:09 <jackdk> hpc: New Zealand during summer time is UTC+13 IIRC
00:19:49 <hpc> a couple of islands have +14
00:20:12 <hpc> well, +1400
00:20:22 <hpc> because there's also +530, +545, and a few other weird ones
00:22:20 × xff0x quits (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp) (Ping timeout: 246 seconds)
00:28:39 xff0x joins (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp)
00:33:12 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 272 seconds)
00:35:02 bitmapper joins (uid464869@id-464869.lymington.irccloud.com)
00:38:17 <jackdk> Eucla
00:38:26 <abastro[m]> Wh is 545
00:38:36 <abastro[m]> I get that 30min adjustment is a thing
00:39:03 <abastro[m]> Given how countries dislike being identical to each other
00:39:06 <abastro[m]> But.. 45?
00:39:17 <Axman6> was it Nepal?
00:40:07 <geekosaur> there's a couple of :45s and I think one :15
00:44:11 × liz quits (~liz@cpc84585-newc17-2-0-cust60.16-2.cable.virginm.net) (Quit: leaving)
00:47:56 rawley_ joins (~rawley@216-197-141-102.nbfr.hsdb.sasknet.sk.ca)
00:48:24 × xff0x quits (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp) (Ping timeout: 272 seconds)
00:51:46 <Axman6> random thought, given that C++'s implementation of generics involves full monomorphisation, does that mean it's impossible to use non-uniform recursive types (I think that'
00:51:54 <Axman6> s what they're called...)?
00:52:12 <Axman6> like data Tree a = Node a (Tree (a,a)) (Tree (a,a) | Nil
01:01:17 <jackdk> Axman6: you mean polymorphic recursion?
01:02:11 × phma quits (phma@2001:5b0:210f:36e8:e24d:2973:8920:8f2a) (Read error: Connection reset by peer)
01:02:14 <Axman6> I guess
01:02:34 phma joins (~phma@host-67-44-208-51.hnremote.net)
01:04:00 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
01:08:30 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
01:08:55 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
01:08:57 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
01:09:23 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 260 seconds)
01:10:00 vicfred joins (~vicfred@user/vicfred)
01:10:37 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:16:44 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:17:23 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 250 seconds)
01:17:30 neurocyte86144 joins (~neurocyte@IP-045010063124.dynamic.medianet-world.de)
01:17:31 × neurocyte86144 quits (~neurocyte@IP-045010063124.dynamic.medianet-world.de) (Changing host)
01:17:31 neurocyte86144 joins (~neurocyte@user/neurocyte)
01:19:23 vysn joins (~vysn@user/vysn)
01:19:37 × neurocyte8614 quits (~neurocyte@user/neurocyte) (Ping timeout: 256 seconds)
01:19:37 neurocyte86144 is now known as neurocyte8614
01:25:46 × Topsi quits (~Tobias@dyndsl-095-033-019-200.ewe-ip-backbone.de) (Ping timeout: 272 seconds)
01:31:57 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
01:35:42 × rekahsoft quits (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Ping timeout: 260 seconds)
01:39:31 xff0x joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
01:41:26 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 246 seconds)
01:42:43 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
01:42:53 <abastro[m]> I guess that is impossible
01:43:05 <abastro[m]> Tho they might not dare think of such as well
01:45:23 Guest60 joins (~Guest60@2001:19f0:7001:3383:5400:3ff:fea2:fee5)
01:45:46 × Guest60 quits (~Guest60@2001:19f0:7001:3383:5400:3ff:fea2:fee5) (Client Quit)
01:50:01 × xff0x quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Quit: xff0x)
01:50:24 xff0x joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
01:52:48 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
01:56:48 × chenqisu1 quits (~chenqisu1@183.217.200.168) (Ping timeout: 272 seconds)
01:57:17 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 260 seconds)
01:59:42 <pavonia> Does stack share installations of the same package versions across different projects?
02:03:47 kaph joins (~kaph@pa-18-166-251.service.infuturo.it)
02:03:57 × lemonsnicks quits (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) (Quit: ZNC 1.8.2 - https://znc.in)
02:06:31 × cajun quits (~cajun@ip98-163-218-217.no.no.cox.net) (Quit: WeeChat 3.4)
02:08:02 × kaph quits (~kaph@pa-18-166-251.service.infuturo.it) (Ping timeout: 246 seconds)
02:08:29 <geekosaur> yes
02:08:45 dyeplexer joins (~dyeplexer@user/dyeplexer)
02:08:45 <geekosaur> that's oone of its purposes (although modern cabal does so as well)
02:08:58 kaph joins (~kaph@pa-18-166-251.service.infuturo.it)
02:11:31 <dons> do we have a sortOn for partitioning a vector, without tuping the vector elements on the partition key?
02:11:57 <dons> maybe I should just stick the elements in a map
02:18:21 lemonsnicks joins (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net)
02:19:08 slack1256 joins (~slack1256@191.125.227.81)
02:22:45 <pavonia> geekosaur: And can you also configure it in a way that you have one preferred set of packages for the whole system that is used with ghc/ghci without the need to create a new project?
02:24:20 <geekosaur> Not as such, although there is a "global project" that is used if you aren't in another project
02:24:43 <geekosaur> I think using it that way is disrecommended
02:25:17 <geekosaur> cabal *does* support that, via cabal install --lib, although it'll still prefer a local project's config
02:25:38 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
02:26:14 <pavonia> It's just that I sometimes don't want to create a full project, just create a new module for scripting and loading various packages from there
02:27:00 × Inst quits (~Liam@2601:6c4:4080:3f80:854:307a:efd:ab95) (Ping timeout: 240 seconds)
02:27:10 hololeap joins (~hololeap@user/hololeap)
02:29:32 motherfsck joins (~motherfsc@user/motherfsck)
02:30:21 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
02:32:41 Inst joins (~Liam@c-98-208-218-119.hsd1.fl.comcast.net)
02:34:19 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 260 seconds)
02:34:32 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
02:34:45 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
02:34:51 <geekosaur> not finding good docs for the global project, sadly. but I think you just find its stack.yaml and add the packages you want to it
02:36:18 BlackboardN joins (~nathan@user/BlackboardN)
02:39:43 × xff0x quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Quit: xff0x)
02:40:32 xff0x joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
02:41:29 <janus> pavonia: do you know about cabal scripts?
02:41:35 <sm> yup the global project works fine, ~/.stack/global-project/stack.yaml
02:41:42 <janus> with the {- cabal: ... -} syntax
02:41:55 <pavonia> I don't
02:44:25 abastro joins (~abab9579@143.248.229.232)
02:45:14 <pavonia> On Windows the installer asks for a place to install stack but all the additional files still seem to get somewhere completely else :S
02:45:43 <janus> pavonia: check out the block after "With a script that looks like": https://cabal.readthedocs.io/en/3.6/cabal-commands.html#cabal-v2-run
02:47:45 <pavonia> Interesting
02:56:13 × kaph quits (~kaph@pa-18-166-251.service.infuturo.it) (Ping timeout: 260 seconds)
02:58:07 yosef` joins (~yosef`@45.32.73.39)
02:59:30 × abastro quits (~abab9579@143.248.229.232) ()
02:59:52 abastro joins (~abab9579@143.248.229.232)
03:00:32 <abastro[m]> Global project would be great to have
03:06:15 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
03:06:38 <abastro> I mean, in cabal
03:10:43 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 260 seconds)
03:20:59 × xff0x quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Ping timeout: 260 seconds)
03:31:07 kaph joins (~kaph@pa-18-166-251.service.infuturo.it)
03:32:21 auri joins (~quassel@fsf/member/auri)
03:32:38 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
03:32:39 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 260 seconds)
03:33:18 × yosef` quits (~yosef`@45.32.73.39) (Quit: yosef`)
03:38:51 × auri quits (~quassel@fsf/member/auri) ()
03:38:54 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
03:39:06 auri joins (~quassel@fsf/member/auri)
03:39:18 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
03:40:28 yosef` joins (~user@223.73.113.250)
03:41:03 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 260 seconds)
03:41:46 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
03:41:47 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
03:41:47 wroathe joins (~wroathe@user/wroathe)
03:42:42 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
03:46:22 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 272 seconds)
03:46:27 × russruss quits (~russruss@my.russellmcc.com) (Quit: The Lounge - https://thelounge.chat)
03:47:26 × abastro quits (~abab9579@143.248.229.232) (Ping timeout: 246 seconds)
03:49:52 russruss joins (~russruss@my.russellmcc.com)
03:52:18 xff0x joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
03:58:33 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
04:00:09 × auri quits (~quassel@fsf/member/auri) ()
04:00:39 auri joins (~quassel@fsf/member/auri)
04:03:33 × xff0x quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Quit: xff0x)
04:04:48 xff0x joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
04:07:51 × rawley_ quits (~rawley@216-197-141-102.nbfr.hsdb.sasknet.sk.ca) (Remote host closed the connection)
04:07:51 × rawley quits (~rawley@216-197-141-102.nbfr.hsdb.sasknet.sk.ca) (Remote host closed the connection)
04:07:58 × yosef` quits (~user@223.73.113.250) (Quit: ERC (IRC client for Emacs 28.0.50))
04:08:35 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
04:09:23 yosef` joins (~user@223.73.113.250)
04:10:35 <jackdk> A single consistent global package set was the cause of the infamous "cabal hell", back in the day
04:11:13 × xff0x quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Quit: xff0x)
04:13:22 xff0x joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
04:13:36 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
04:17:41 deadmarshal_ joins (~deadmarsh@95.38.119.185)
04:23:20 cdman joins (~dcm@user/dmc/x-4369397)
04:32:57 × xff0x quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Quit: xff0x)
04:36:17 xff0x joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
04:38:10 <Axman6> dons: now sure I understand the question, but it sounds a little like the magic going on in the discrimination package
04:39:30 sloorush joins (~sloorush@136.233.9.99)
04:40:47 jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
04:42:11 × kaph quits (~kaph@pa-18-166-251.service.infuturo.it) (Read error: Connection reset by peer)
04:42:16 mbuf joins (~Shakthi@171.61.243.124)
04:42:26 kaph joins (~kaph@151.82.171.171)
04:43:35 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Ping timeout: 260 seconds)
04:44:35 <dons> yeah along those lines, actually. groupWith :: Grouping b => (a -> b) -> [a] -> [[a]]
04:44:59 <Axman6> are you familliar with the library?
04:45:05 <dons> no, hadn't seen it before
04:45:07 <Axman6> I'm... too familliar with it
04:45:48 <Axman6> I'll find the LambdaJam video for you
04:46:52 <Axman6> https://www.youtube.com/watch?v=eXDJ5Jcbgk8 <- you could nearly hear people's heads explode in the room, either from having no idea what was going on, or understanding what was going on
04:49:04 <dons> nice, hadn't seen that talk
04:49:34 <dons> but yes along these lines of avoiding concrete data being generated to do discrimination between elements
04:52:23 <Axman6> It's worth knowing what structures it created behind the scenes for performing the grouping, there's often some sort of map or array
04:53:15 <dons> Showing diff with 177,902 additions and 308 deletions.
04:53:21 <dons> (yes, sickos.gif)
04:53:27 <Axman6> D:
04:54:25 <Axman6> Hmm, just realised that Grouping would be a useful tool in source code analysis tools for finding references between pieces of code
04:55:05 <Axman6> I'd never really thought of using it for longer lived maps like that
04:55:29 <Axman6> (annoyingly there's not really a good way to do String/Text keys)
04:58:10 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
05:01:08 × xff0x quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Quit: xff0x)
05:02:35 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
05:06:11 × deadmarshal_ quits (~deadmarsh@95.38.119.185) (Ping timeout: 246 seconds)
05:08:35 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
05:09:16 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
05:14:03 mncheck joins (~mncheck@193.224.205.254)
05:18:33 × mncheck quits (~mncheck@193.224.205.254) (Remote host closed the connection)
05:25:49 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
05:26:05 alMalsamo joins (~alMalsamo@gateway/tor-sasl/almalsamo)
05:26:15 alMalsamo is now known as littlebobeep
05:26:20 random-jellyfish joins (~random-je@user/random-jellyfish)
05:26:25 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
05:26:34 [_] joins (~itchyjunk@user/itchyjunk/x-7353470)
05:29:19 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 260 seconds)
05:31:30 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 272 seconds)
05:32:25 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
05:34:41 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
05:35:35 × BlackboardN quits (~nathan@user/BlackboardN) (Ping timeout: 246 seconds)
05:41:57 × slack1256 quits (~slack1256@191.125.227.81) (Remote host closed the connection)
05:52:01 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
05:53:14 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
05:53:36 jpds joins (~jpds@gateway/tor-sasl/jpds)
05:55:34 belphegor666 joins (~satan@ip-046-223-003-068.um13.pools.vodafone-ip.de)
05:56:50 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 272 seconds)
05:59:48 × belphegor666 quits (~satan@ip-046-223-003-068.um13.pools.vodafone-ip.de) (Changing host)
05:59:48 belphegor666 joins (~satan@user/belphegor666)
06:01:31 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
06:01:38 × mtjm quits (~mutantmel@2604:a880:2:d0::208b:d001) (Remote host closed the connection)
06:02:17 mtjm joins (~mutantmel@2604:a880:2:d0::208b:d001)
06:05:41 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 246 seconds)
06:07:04 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
06:09:20 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
06:09:56 xff0x joins (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp)
06:10:01 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
06:11:06 × sloorush quits (~sloorush@136.233.9.99) (Quit: Client closed)
06:11:27 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 256 seconds)
06:12:12 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
06:13:05 coot joins (~coot@213.134.190.95)
06:13:12 zeenk joins (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94)
06:14:33 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
06:15:12 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 272 seconds)
06:16:32 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 246 seconds)
06:17:08 × johnw quits (~johnw@2607:f6f0:3004:1:c8b4:50ff:fef8:6bf0) (Quit: ZNC - http://znc.in)
06:17:20 acidjnk joins (~acidjnk@p200300d0c7049f5375c1d267ad8f6a07.dip0.t-ipconnect.de)
06:23:13 prasad joins (~user@c-73-170-49-136.hsd1.ca.comcast.net)
06:26:21 odnes joins (~odnes@109-178-139-235.pat.ren.cosmote.net)
06:26:33 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
06:29:04 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:30:24 × kaph quits (~kaph@151.82.171.171) (Ping timeout: 272 seconds)
06:30:55 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 260 seconds)
06:32:11 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
06:32:55 × [_] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
06:39:27 × sus quits (zero@user/zeromomentum) (*.net *.split)
06:39:27 × tcard quits (~tcard@p2878075-ipngn18701hodogaya.kanagawa.ocn.ne.jp) (*.net *.split)
06:39:27 × acidsys quits (~LSD@2a03:4000:55:d20::3) (*.net *.split)
06:39:27 × Me-me quits (~me-me@user/me-me) (*.net *.split)
06:39:27 × son0p quits (~ff@181.136.122.143) (*.net *.split)
06:39:27 × martin02_ quits (~silas@141.84.69.76) (*.net *.split)
06:39:27 × asivitz quits (uid178348@id-178348.tinside.irccloud.com) (*.net *.split)
06:39:27 × bcoppens quits (~bartcopp@vpn2.bartcoppens.be) (*.net *.split)
06:39:27 × defanor quits (~defanor@tart.uberspace.net) (*.net *.split)
06:39:27 × drewolson quits (~drewolson@user/drewolson) (*.net *.split)
06:39:27 × Raito_Bezarius quits (~Raito@wireguard/tunneler/raito-bezarius) (*.net *.split)
06:39:27 × bah quits (~bah@l1.tel) (*.net *.split)
06:39:27 × acowley quits (~acowley@c-68-83-22-43.hsd1.nj.comcast.net) (*.net *.split)
06:39:27 × tomku quits (~tomku@user/tomku) (*.net *.split)
06:39:27 × sm[i] quits (~user@plaintextaccounting/sm) (*.net *.split)
06:39:27 × dyniec quits (~dyniec@mail.dybiec.info) (*.net *.split)
06:39:27 × adium quits (znc@user/adium) (*.net *.split)
06:39:27 × koolazer quits (~koo@user/koolazer) (*.net *.split)
06:39:27 × xdej quits (~xdej@quatramaran.salle-s.org) (*.net *.split)
06:39:27 × stilgart_ quits (~Christoph@chezlefab.net) (*.net *.split)
06:39:27 × Dykam_ quits (Dykam@dykam.nl) (*.net *.split)
06:39:27 × madnight quits (~madnight@static.59.103.201.195.clients.your-server.de) (*.net *.split)
06:39:27 × tito quits (tito@tilde.team) (*.net *.split)
06:39:27 × nisstyre quits (wes@user/nisstyre) (*.net *.split)
06:39:27 × ehammarstrom quits (~ehammarst@62-20-203-39-no182.tbcn.telia.com) (*.net *.split)
06:39:27 × aweinstock quits (~aweinstoc@cpe-67-248-65-250.nycap.res.rr.com) (*.net *.split)
06:39:27 × dexter quits (dexter@2a01:7e00::f03c:91ff:fe86:59ec) (*.net *.split)
06:39:27 × sajith quits (~sajith@user/sajith) (*.net *.split)
06:39:27 × sshine quits (~simon@zhen.eta.solutions) (*.net *.split)
06:39:27 × kristjansson quits (sid126207@id-126207.tinside.irccloud.com) (*.net *.split)
06:39:27 × hays quits (rootvegeta@fsf/member/hays) (*.net *.split)
06:39:27 × teehemkay_ quits (sid14792@id-14792.lymington.irccloud.com) (*.net *.split)
06:39:27 × taktoa[c] quits (sid282096@id-282096.tinside.irccloud.com) (*.net *.split)
06:39:27 × alanz quits (sid110616@id-110616.uxbridge.irccloud.com) (*.net *.split)
06:39:27 × mrianbloom quits (sid350277@2a03:5180:f:3::5:5845) (*.net *.split)
06:39:27 × acertain quits (sid470584@2a03:5180:f:4::7:2e38) (*.net *.split)
06:39:27 × sclv quits (sid39734@haskell/developer/sclv) (*.net *.split)
06:39:27 × chessai quits (sid225296@id-225296.lymington.irccloud.com) (*.net *.split)
06:39:27 × xstill- quits (xstill@fimu/xstill) (*.net *.split)
06:39:27 × absence quits (torgeihe@hildring.pvv.ntnu.no) (*.net *.split)
06:39:27 × hendi quits (sid489601@id-489601.lymington.irccloud.com) (*.net *.split)
06:39:27 × ProofTechnique quits (sid79547@id-79547.ilkley.irccloud.com) (*.net *.split)
06:39:27 × kawzeg quits (kawzeg@2a01:7e01::f03c:92ff:fee2:ec34) (*.net *.split)
06:39:27 × nshepperd2 quits (nshepperd@2600:3c03::f03c:92ff:fe28:92c9) (*.net *.split)
06:39:27 × landonf quits (landonf@mac68k.info) (*.net *.split)
06:39:27 × statusbot1 quits (~statusbot@ec2-34-198-122-184.compute-1.amazonaws.com) (*.net *.split)
06:39:36 absence joins (torgeihe@hildring.pvv.ntnu.no)
06:39:36 hays joins (rootvegeta@fsf/member/hays)
06:39:36 landonf joins (landonf@mac68k.info)
06:39:36 bcoppens joins (~bartcopp@vpn2.bartcoppens.be)
06:39:36 xdej joins (~xdej@quatramaran.salle-s.org)
06:39:38 tomku joins (~tomku@user/tomku)
06:39:40 aweinstock joins (~aweinstoc@cpe-67-248-65-250.nycap.res.rr.com)
06:39:42 defanor joins (~defanor@tart.uberspace.net)
06:39:43 dyniec joins (~dyniec@mail.dybiec.info)
06:39:44 chessai joins (sid225296@id-225296.lymington.irccloud.com)
06:39:45 tcard joins (~tcard@p2878075-ipngn18701hodogaya.kanagawa.ocn.ne.jp)
06:39:46 × random-jellyfish quits (~random-je@user/random-jellyfish) (Ping timeout: 250 seconds)
06:39:47 taktoa[c] joins (sid282096@id-282096.tinside.irccloud.com)
06:39:47 sclv joins (sid39734@haskell/developer/sclv)
06:39:48 teehemkay_ joins (sid14792@id-14792.lymington.irccloud.com)
06:39:49 mrianbloom joins (sid350277@id-350277.ilkley.irccloud.com)
06:39:55 sshine joins (~simon@exocortex.online)
06:39:55 dexter joins (dexter@2a01:7e00::f03c:91ff:fe86:59ec)
06:39:55 acowley joins (~acowley@c-68-83-22-43.hsd1.nj.comcast.net)
06:39:56 alanz joins (sid110616@id-110616.uxbridge.irccloud.com)
06:39:59 nshepperd2 joins (nshepperd@2600:3c03::f03c:92ff:fe28:92c9)
06:39:59 ProofTechnique joins (sid79547@id-79547.ilkley.irccloud.com)
06:39:59 asivitz joins (uid178348@id-178348.tinside.irccloud.com)
06:40:00 kawzeg joins (kawzeg@2a01:7e01::f03c:92ff:fee2:ec34)
06:40:00 nisstyre joins (wes@2600:3c00::f03c:91ff:fe69:7f3d)
06:40:05 martin02_ joins (~silas@141.84.69.76)
06:40:09 ehammarstrom joins (~ehammarst@62-20-203-39-no182.tbcn.telia.com)
06:40:20 statusbot joins (~statusbot@ec2-34-198-122-184.compute-1.amazonaws.com)
06:40:20 acertain joins (sid470584@id-470584.hampstead.irccloud.com)
06:40:25 Raito_Bezarius joins (~Raito@2a01:e0a:5f9:9681:a0a0:bb76:611f:9da7)
06:40:35 hendi joins (sid489601@id-489601.lymington.irccloud.com)
06:40:45 kristjansson joins (sid126207@id-126207.tinside.irccloud.com)
06:41:11 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 260 seconds)
06:41:12 sajith joins (~sajith@user/sajith)
06:41:13 madnight joins (~madnight@static.59.103.201.195.clients.your-server.de)
06:41:23 adium joins (adium@user/adium)
06:41:30 xstill- joins (xstill@fimu/xstill)
06:41:39 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 260 seconds)
06:41:41 Dykam joins (Dykam@dykam.nl)
06:41:57 acidsys joins (~LSD@2a03:4000:55:d20::3)
06:43:11 × ircbrowse_tom quits (~ircbrowse@2a01:4f8:1c1c:9319::1) (ZNC 1.7.5+deb4 - https://znc.in)
06:44:14 ircbrowse_tom joins (~ircbrowse@2a01:4f8:1c1c:9319::1)
06:44:14 Server sets mode +Cnt
06:44:14 beaky joins (~beaky@2a03:b0c0:0:1010::1e:a001)
06:44:27 lortabac joins (~lortabac@2a01:e0a:541:b8f0:ab4b:4a11:6cbb:6bec)
06:44:31 aforemny joins (~aforemny@static.248.158.34.188.clients.your-server.de)
06:44:32 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
06:44:51 koolazer joins (~koo@user/koolazer)
06:44:56 bah joins (~bah@l1.tel)
06:44:56 stilgart joins (~Christoph@chezlefab.net)
06:45:27 matijja joins (~matijja@193.77.181.201)
06:45:46 Adran joins (adran@botters/adran)
06:46:08 × nisstyre quits (wes@2600:3c00::f03c:91ff:fe69:7f3d) (Quit: WeeChat 3.4)
06:46:17 nisstyre joins (wes@user/nisstyre)
06:46:21 × shriekingnoise quits (~shrieking@201.231.16.156) (Quit: Quit)
06:46:25 azimut joins (~azimut@gateway/tor-sasl/azimut)
06:47:08 sm[i] joins (~user@plaintextaccounting/sm)
06:48:15 gehmehgeh joins (~user@user/gehmehgeh)
06:55:10 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
06:55:35 phma_ joins (phma@2001:5b0:210f:1458:f6d5:edb3:b0ac:9353)
06:58:11 × phma quits (~phma@host-67-44-208-51.hnremote.net) (Ping timeout: 252 seconds)
06:59:49 abastro joins (~abab9579@143.248.229.232)
07:01:39 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
07:01:55 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
07:01:55 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 240 seconds)
07:02:15 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
07:02:17 jpds joins (~jpds@gateway/tor-sasl/jpds)
07:02:19 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
07:02:41 chexum joins (~quassel@gateway/tor-sasl/chexum)
07:03:59 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
07:07:04 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
07:08:48 Graham31415 joins (~Graham@user/Graham31415)
07:09:27 CiaoSen joins (~Jura@p200300c95735b0002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
07:11:12 bahamas joins (~lucian@84.232.140.158)
07:11:51 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
07:12:45 fish_ joins (~fish@222.211.204.150)
07:15:26 <abastro> Well, global repository (that is not interfering with individual projects, and instead work for e.g. repl) is useful for scripting
07:16:08 <c_wraith> it's pretty easy to write scripts that specify their dependencies
07:16:38 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 272 seconds)
07:17:36 fendor joins (~fendor@178.115.59.46.wireless.dyn.drei.com)
07:18:04 chenqisu1 joins (~chenqisu1@183.217.200.168)
07:19:52 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
07:20:57 dhouthoo joins (~dhouthoo@178-117-36-167.access.telenet.be)
07:22:08 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
07:23:15 michalz joins (~michalz@185.246.204.33)
07:24:37 × coot quits (~coot@213.134.190.95) (Quit: coot)
07:26:41 coot joins (~coot@213.134.190.95)
07:27:23 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
07:28:23 alp_ joins (~alp@user/alp)
07:29:17 × Graham31415 quits (~Graham@user/Graham31415) (Quit: Lost terminal)
07:30:01 <prasad> :q
07:30:03 <prasad> quit
07:30:08 × prasad quits (~user@c-73-170-49-136.hsd1.ca.comcast.net) (Remote host closed the connection)
07:30:43 × coot quits (~coot@213.134.190.95) (Client Quit)
07:30:58 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
07:31:18 coot joins (~coot@213.134.190.95)
07:36:53 × fish_ quits (~fish@222.211.204.150) (Quit: Konversation terminated!)
07:41:59 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
07:46:19 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Remote host closed the connection)
07:46:33 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
07:48:15 cfricke joins (~cfricke@user/cfricke)
07:48:40 machinedgod joins (~machinedg@24.105.81.50)
07:49:34 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 272 seconds)
07:49:49 jushur joins (~human@user/jushur)
07:50:30 jgeerds joins (~jgeerds@d5364b87.access.ecotel.net)
07:51:23 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 260 seconds)
07:51:57 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
07:52:17 mixfix41 joins (~sdenyninn@user/mixfix41)
07:53:13 × zeenk quits (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94) (Quit: Konversation terminated!)
07:54:35 fef joins (~thedawn@user/thedawn)
07:55:01 <abastro> How can I write such scripts?
07:56:20 <abastro> How easy is it
07:56:39 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds)
07:57:29 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
07:58:53 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Ping timeout: 256 seconds)
08:06:32 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
08:07:24 × Batzy quits (~quassel@user/batzy) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
08:07:48 hrdl parts (~hrdl@mail.hrdl.eu) ()
08:08:10 <c_wraith> abastro: https://stackoverflow.com/a/65541020/383200
08:08:28 Batzy joins (~quassel@user/batzy)
08:11:13 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 260 seconds)
08:14:25 × micro quits (~micro@user/micro) (Ping timeout: 256 seconds)
08:22:59 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
08:23:03 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
08:23:35 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
08:24:00 MajorBiscuit joins (~MajorBisc@c-001-003-047.client.tudelft.eduvpn.nl)
08:24:47 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 260 seconds)
08:26:11 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
08:26:35 ccntrq joins (~Thunderbi@2a01:e34:eccb:b060:974:50d0:1066:ad50)
08:28:09 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Ping timeout: 248 seconds)
08:35:08 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
08:35:59 __monty__ joins (~toonn@user/toonn)
08:37:09 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
08:41:33 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 260 seconds)
08:42:10 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
08:46:37 mikoto-chan joins (~mikoto-ch@213.177.151.239)
08:50:58 sloorush joins (~sloorush@136.233.9.99)
08:51:32 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds)
08:52:05 kaph joins (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it)
08:52:16 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
08:56:25 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 248 seconds)
08:56:49 mattil joins (~mattil@helsinki.portalify.com)
08:56:59 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
08:57:12 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
08:58:38 gurkenglas joins (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de)
09:00:05 × ninioArtillero[m quits (~ninioarti@2001:470:69fc:105::1:d1ef) (Quit: You have been kicked for being idle)
09:01:23 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 260 seconds)
09:02:12 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
09:03:40 × adium quits (adium@user/adium) (Ping timeout: 272 seconds)
09:06:57 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds)
09:07:58 × sloorush quits (~sloorush@136.233.9.99) (Ping timeout: 250 seconds)
09:10:27 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
09:11:35 × Athas quits (athas@2a01:7c8:aaac:1cf:112c:dc15:b959:356) (Quit: ZNC 1.8.2 - https://znc.in)
09:11:45 Athas joins (athas@2a01:7c8:aaac:1cf:6914:1dfa:1871:fc52)
09:15:31 <abastro> Well, then you need to enlist the packages you need
09:16:05 <abastro> Idk, a few days ago I saw a person ignoring advice about specifying the package like that
09:16:16 <abastro> Then simply go for `cabal install --lib`
09:17:59 DNH joins (~DNH@2a02:8109:b740:2c4:b89d:8c20:3683:54c9)
09:20:57 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 248 seconds)
09:22:53 mikoto-chan joins (~mikoto-ch@213.177.151.239)
09:30:33 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Ping timeout: 260 seconds)
09:32:57 × abastro quits (~abab9579@143.248.229.232) (Ping timeout: 256 seconds)
09:33:30 × _xor quits (~xor@74.215.232.169) (Quit: bbl)
09:35:21 liz joins (~liz@cpc84585-newc17-2-0-cust60.16-2.cable.virginm.net)
09:39:23 × lavaman quits (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net) (Remote host closed the connection)
09:39:37 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 248 seconds)
09:42:48 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 260 seconds)
09:44:36 dyeplexer joins (~dyeplexer@user/dyeplexer)
09:46:53 × mixfix41 quits (~sdenyninn@user/mixfix41) (Ping timeout: 260 seconds)
09:49:53 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
09:52:35 × liz quits (~liz@cpc84585-newc17-2-0-cust60.16-2.cable.virginm.net) (Ping timeout: 268 seconds)
09:57:09 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
09:57:29 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Client Quit)
09:57:38 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
09:57:56 gehmehgeh joins (~user@user/gehmehgeh)
09:58:18 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
09:58:29 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
10:00:11 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
10:03:20 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.4.1)
10:04:41 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 248 seconds)
10:07:51 × CiaoSen quits (~Jura@p200300c95735b0002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
10:11:10 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
10:12:54 adium joins (adium@user/adium)
10:15:21 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 248 seconds)
10:24:11 × xff0x quits (~xff0x@125x102x200x106.ap125.ftth.ucom.ne.jp) (Ping timeout: 256 seconds)
10:25:23 × raym quits (~raym@user/raym) (Ping timeout: 246 seconds)
10:35:51 abastro joins (~abab9579@192.249.26.11)
10:36:14 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
10:36:58 notzmv joins (~zmv@user/notzmv)
10:39:05 liz joins (~liz@cpc84585-newc17-2-0-cust60.16-2.cable.virginm.net)
10:39:59 lavaman joins (~lavaman@c-174-63-118-52.hsd1.ma.comcast.net)
10:40:26 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
10:41:18 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
10:43:28 raym joins (~raym@user/raym)
10:44:46 <abastro[m]> Can I use `traverse` for parsing?
10:45:20 <abastro[m]> Esp. I want the inverse of the following:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/b57775ed936fb9eb261649e87109f2f5f9b7995d)
10:46:17 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 248 seconds)
10:47:29 phma_ is now known as phma
10:48:38 × mbuf quits (~Shakthi@171.61.243.124) (Quit: Leaving)
10:57:57 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
10:58:45 jinsun joins (~jinsun@user/jinsun)
11:00:48 img joins (~img@user/img)
11:02:49 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 248 seconds)
11:03:50 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
11:07:05 chenqisu12 joins (~chenqisu1@183.217.202.44)
11:09:51 × chenqisu1 quits (~chenqisu1@183.217.200.168) (Ping timeout: 256 seconds)
11:14:23 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
11:14:55 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
11:16:09 × jgeerds quits (~jgeerds@d5364b87.access.ecotel.net) (Ping timeout: 248 seconds)
11:18:16 fendor_ joins (~fendor@91.141.33.204.wireless.dyn.drei.com)
11:18:56 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 246 seconds)
11:20:41 × fendor quits (~fendor@178.115.59.46.wireless.dyn.drei.com) (Ping timeout: 246 seconds)
11:24:32 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
11:26:15 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
11:27:21 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
11:27:31 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
11:29:55 Midjak joins (~Midjak@82.66.147.146)
11:35:01 × jle` quits (~jle`@cpe-23-240-75-236.socal.res.rr.com) (Ping timeout: 256 seconds)
11:36:36 × Midjak quits (~Midjak@82.66.147.146) (Quit: Leaving)
11:36:50 jle` joins (~jle`@cpe-23-240-75-236.socal.res.rr.com)
11:40:41 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Ping timeout: 248 seconds)
11:45:02 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
11:45:20 azimut joins (~azimut@gateway/tor-sasl/azimut)
11:46:35 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
11:47:26 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
11:47:37 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
11:48:39 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
11:49:09 xff0x joins (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp)
11:49:14 <[exa]> abastro[m]: that may be a bit tricky, at the bare minimum I guess you'd need to express the thing in a more bidirectional way (say prolog)
11:52:06 × yosef` quits (~user@223.73.113.250) (Remote host closed the connection)
11:53:35 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
11:54:57 <[exa]> abastro[m]: this might help tho https://blog.poisson.chat/posts/2017-01-01-monadic-profunctors.html
11:55:16 deadmarshal_ joins (~deadmarsh@95.38.119.185)
11:55:26 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
11:55:32 <abastro> I see, while trying to make a "parser" which runs on list, I thought it was similar to traverse
11:55:37 <abastro> Guess I was wrong with that.
11:55:56 × zyklotomic quits (~ethan@r4-128-61-92-94.res.gatech.edu) (Ping timeout: 272 seconds)
11:56:53 <abastro> https://paste.tomsmeding.com/NFgWws6U
11:57:02 xff0x_ joins (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp)
11:57:12 zyklotomic joins (~ethan@res380d-128-61-83-27.res.gatech.edu)
11:57:32 <[exa]> you can easily run parsecs on lists
12:00:14 × deadmarshal_ quits (~deadmarsh@95.38.119.185) (Ping timeout: 268 seconds)
12:00:33 <tdammers> some parsers in (mega-)parsec are specific to Char tokens and/or String-like streams, but most work on a wide range of types
12:00:43 <[exa]> i.e. for megaparsec there's an `instance Ord a => Stream [a]`, so you may run megaparsecs on lists of anything that can be ordered
12:01:49 <tdammers> I have, in fact, written lexer/parser systems with Megaparsec, where the Lexer was something like Parser Text [Lexeme], and the parser something like Parser [Lexeme] Expression
12:06:58 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
12:15:00 × Psybur quits (~Psybur@2601:5c9:4201:3220:19c2:a1cd:6600:38ba) (Ping timeout: 240 seconds)
12:15:24 Psybur joins (~Psybur@2600:1003:b1a3:2343:40b6:f130:dc39:e36c)
12:18:07 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
12:26:15 × Psybur quits (~Psybur@2600:1003:b1a3:2343:40b6:f130:dc39:e36c) (Ping timeout: 250 seconds)
12:26:26 Psybur joins (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba)
12:30:56 micro joins (~micro@user/micro)
12:32:02 × Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 252 seconds)
12:39:21 <abastro> It def feels like overkill though.
12:39:38 <abastro> Like, importing megaparsec to simply 'parse' a tree, where the problem was not even about parsing..
12:40:19 CiaoSen joins (~Jura@p200300c95735b0002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
12:41:09 notzmv joins (~zmv@user/notzmv)
12:47:06 × kaph quits (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it) (Ping timeout: 268 seconds)
12:48:53 × Psybur quits (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba) (Ping timeout: 260 seconds)
12:49:45 Psybur joins (~Psybur@2600:1003:b1a3:2343:bc18:8fba:1417:6198)
12:51:09 kaph joins (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it)
12:53:19 zeenk joins (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94)
12:54:48 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
12:55:40 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
12:59:20 <tdammers> it certainly feels that way, but unlike "parsing libraries" in most other languages, *-parsec tends to pull its weight ridiculously early
12:59:37 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 248 seconds)
12:59:54 Maxdamantus joins (~Maxdamant@user/maxdamantus)
13:00:35 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
13:00:55 × Psybur quits (~Psybur@2600:1003:b1a3:2343:bc18:8fba:1417:6198) (Ping timeout: 250 seconds)
13:01:10 Psybur joins (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba)
13:02:53 × chenqisu12 quits (~chenqisu1@183.217.202.44) (Ping timeout: 246 seconds)
13:04:29 BlackboardN joins (~Blackboar@c-71-231-59-104.hsd1.wa.comcast.net)
13:04:55 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
13:06:17 × mattil quits (~mattil@helsinki.portalify.com) (Remote host closed the connection)
13:12:22 <abastro> Yea, I wonder why it is
13:12:31 <abastro> I am wary of its dependency footprint tbh
13:14:00 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
13:14:33 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
13:18:17 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
13:18:41 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 245 seconds)
13:19:04 <[exa]> abastro[m]: you can implement your own reasonable parser variant in like 50 lines of code, if you don't need the magicks of megaparsec (error messages etc)
13:19:40 <[exa]> abastro: anyway methodologically it is _slightly_ better to start from parsec because parsing is usually the "less partial" part of the 2
13:19:55 <[exa]> s/parsec/parsing representation of the problem/
13:20:15 <abastro> Less partial part?
13:20:45 <abastro> What are the other parts
13:20:57 <[exa]> uh sorry, less total :D like, given a tree you are usually pretty sure you can convert it to a string, but the other way has usually way more chances to fail
13:24:13 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 240 seconds)
13:26:53 <Zemyla> :t wander (\fab -> fmap fold . traverse fab . toList)
13:26:54 <lambdabot> (Profunctor.Traversing p, Monoid t1, Foldable t2) => p a t1 -> p (t2 a) t1
13:27:31 <tdammers> also, megaparsec's dependency footprint is relatively light, and should largely overlap with what you would depend on anyway
13:28:58 × Psybur quits (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba) (Read error: Connection reset by peer)
13:29:17 Psybur joins (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba)
13:30:07 <merijn> Also, most megaparsec combinators are available standalone
13:30:19 <abastro> Oh, yep it has chance to fail
13:30:30 <maerwald> just roll your own parser
13:30:35 <maerwald> don't be a twat!
13:30:37 <maerwald> :P
13:30:39 <merijn> @hackage parser-combinators
13:30:39 <lambdabot> https://hackage.haskell.org/package/parser-combinators
13:30:41 <abastro> twat?
13:30:44 <merijn> Only depends on base
13:30:54 <abastro> Ohh
13:31:35 <merijn> Someone refresh my memory, what was edwardk's parser lib? I'm having a blackout on the name
13:31:43 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
13:31:50 <geekosaur> trifecta?
13:31:55 <merijn> Ah! Yes
13:32:03 <abastro> Well tbh what I am doing rn is rolling my own parser
13:33:30 <abastro> "Parser" https://paste.tomsmeding.com/NFgWws6U
13:34:45 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
13:34:45 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
13:34:45 wroathe joins (~wroathe@user/wroathe)
13:36:26 × Psybur quits (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba) (Ping timeout: 268 seconds)
13:36:28 bahamas joins (~lucian@84.232.140.158)
13:39:00 Psybur joins (~Psybur@2600:1003:b1a3:2343:b416:f658:9e23:6472)
13:39:14 × Psybur quits (~Psybur@2600:1003:b1a3:2343:b416:f658:9e23:6472) (Read error: Connection reset by peer)
13:39:26 Psybur joins (~Psybur@35.sub-174-244-245.myvzw.com)
13:42:36 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 268 seconds)
13:44:22 × xff0x_ quits (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp) (Quit: xff0x_)
13:44:41 × CiaoSen quits (~Jura@p200300c95735b0002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 250 seconds)
13:45:24 bahamas joins (~lucian@84.232.140.158)
13:45:54 jgeerds joins (~jgeerds@d5364b87.access.ecotel.net)
13:45:57 <Zemyla> There's also Earley, if you prefer your parsers with less bad worst-case behavior.
13:46:14 xff0x_ joins (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp)
13:47:32 <merijn> If you care about that, just go LALR(1) :p
13:48:23 × Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 246 seconds)
13:48:40 <Zemyla> It is an LALR parser library, but a combinator-based one as opposed to a special purpose one like happy.
13:49:45 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 248 seconds)
13:50:13 × xff0x_ quits (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp) (Client Quit)
13:50:15 Unicorn_Princess joins (~Unicorn_P@93-103-228-248.dynamic.t-2.net)
13:50:31 Maxdamantus joins (~Maxdamant@user/maxdamantus)
13:50:39 × odnes quits (~odnes@109-178-139-235.pat.ren.cosmote.net) (Quit: Leaving)
13:51:00 odnes joins (~odnes@109-178-139-235.pat.ren.cosmote.net)
13:52:33 dextaa_ joins (~dextaa@user/dextaa)
13:55:37 zebrag joins (~chris@user/zebrag)
13:55:48 × odnes quits (~odnes@109-178-139-235.pat.ren.cosmote.net) (Remote host closed the connection)
13:56:05 <merijn> If there's an LALR parser library called Earley, that's some false advertising shit :p
13:56:10 odnes joins (~odnes@109-178-139-235.pat.ren.cosmote.net)
13:58:17 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 248 seconds)
13:58:48 × BlackboardN quits (~Blackboar@c-71-231-59-104.hsd1.wa.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
14:02:01 fryguybob joins (~fryguybob@cpe-74-67-169-145.rochester.res.rr.com)
14:02:55 BlackboardN joins (~Blackboar@user/BlackboardN)
14:04:31 × motherfsck quits (~motherfsc@user/motherfsck) (Ping timeout: 260 seconds)
14:06:26 motherfsck joins (~motherfsc@user/motherfsck)
14:13:09 xff0x_ joins (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp)
14:13:56 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:15:13 × zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection)
14:16:11 dextaa_ joins (~dextaa@user/dextaa)
14:18:04 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:20:16 × xff0x_ quits (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp) (Quit: xff0x_)
14:20:17 dextaa_ joins (~dextaa@user/dextaa)
14:20:20 zaquest joins (~notzaques@5.130.79.72)
14:20:39 xff0x_ joins (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp)
14:22:26 dextaa_5 joins (~dextaa@user/dextaa)
14:23:18 × odnes quits (~odnes@109-178-139-235.pat.ren.cosmote.net) (Remote host closed the connection)
14:23:34 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:23:35 dextaa_5 is now known as dextaa_
14:23:41 odnes joins (~odnes@109-178-139-235.pat.ren.cosmote.net)
14:24:12 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:26:12 shriekingnoise joins (~shrieking@201.231.16.156)
14:26:26 dextaa_ joins (~dextaa@user/dextaa)
14:27:49 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:27:58 <abastro> Wait wha
14:28:00 <abastro> Why named so?
14:28:14 × gurkenglas quits (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de) (Ping timeout: 268 seconds)
14:28:24 <c_wraith> Earley is definitely an Earley parser
14:28:49 <abastro> Also when can I began moving to 9.0, last time packages like `memory` prevented me since ssl connection trivias
14:29:34 dextaa_ joins (~dextaa@user/dextaa)
14:29:48 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.4.1)
14:30:38 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:30:39 <janus> abastro: `memory` is now compatible with ghc9.2
14:30:46 <c_wraith> I like using Earley whenever I don't need context sensitivity, just because it lets me write grammars without all the working around parsec-likes lack of backtracking
14:30:58 × acidjnk quits (~acidjnk@p200300d0c7049f5375c1d267ad8f6a07.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
14:32:06 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Remote host closed the connection)
14:32:13 doyougnu joins (~doyougnu@cpe-67-249-83-190.twcny.res.rr.com)
14:32:33 dextaa_ joins (~dextaa@user/dextaa)
14:34:58 Akiva joins (~Akiva@user/Akiva)
14:35:05 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 248 seconds)
14:35:14 <abastro> Wow
14:35:25 <abastro> I guess I could finally update now.. wait
14:35:28 <abastro> HLS. duh
14:35:28 × Psybur quits (~Psybur@35.sub-174-244-245.myvzw.com) (Remote host closed the connection)
14:35:54 Psybur joins (~Psybur@75.145.205.201)
14:39:11 × Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 256 seconds)
14:39:23 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
14:40:14 <geekosaur> 9.0.2 is supported, and iirc you can build your own HLS for 9.2.2 although it may be missing a few features
14:41:08 Maxdamantus joins (~Maxdamant@user/maxdamantus)
14:42:03 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
14:43:47 × cdman quits (~dcm@user/dmc/x-4369397) (Quit: Leaving)
14:44:40 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:45:58 × alp_ quits (~alp@user/alp) (Remote host closed the connection)
14:45:58 <janus> does GHC compile for both x86_64 and aarch64 when running on Mac? wouldn't that be necessary to support all Mac users? ("universal binaries"?)
14:46:23 alp_ joins (~alp@user/alp)
14:46:49 dextaa_ joins (~dextaa@user/dextaa)
14:47:09 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:47:18 × abastro quits (~abab9579@192.249.26.11) (Ping timeout: 260 seconds)
14:47:58 <geekosaur> ghc can only handle one arch at a time, and is not even that good at cross-compiling
14:48:23 <geekosaur> you would need to compile separately and use some tool to combine the result to make fat binaries
14:49:08 dextaa_ joins (~dextaa@user/dextaa)
14:51:01 × alp_ quits (~alp@user/alp) (Ping timeout: 240 seconds)
14:52:03 adanwan_ joins (~adanwan@gateway/tor-sasl/adanwan)
14:52:15 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 240 seconds)
14:52:45 × dextaa_ quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
14:53:48 gurkenglas joins (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de)
14:54:32 dextaa_ joins (~dextaa@user/dextaa)
14:57:07 Sgeo joins (~Sgeo@user/sgeo)
14:58:28 krappix joins (~krappix@nat-eduroam-76-gw-01-lne.lille.inria.fr)
14:59:02 <abastro[m]> Oh actually I am using custom build of HLS
14:59:40 <abastro[m]> Its type variables are meh tho
15:00:34 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
15:03:26 gaff joins (~gaff@49.207.219.11)
15:03:35 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
15:03:36 × gaff quits (~gaff@49.207.219.11) (Client Quit)
15:03:51 <abastro[m]> Like, it show sth like `aty35_sH` for type variables
15:04:13 × odnes quits (~odnes@109-178-139-235.pat.ren.cosmote.net) (Quit: Leaving)
15:05:00 × chomwitt quits (~chomwitt@2a02:587:dc1b:d600:c3a8:b4dc:b642:1f2) (Ping timeout: 240 seconds)
15:07:53 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 250 seconds)
15:09:47 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
15:10:51 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
15:12:35 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
15:18:01 × Inst quits (~Liam@c-98-208-218-119.hsd1.fl.comcast.net) (Read error: Connection reset by peer)
15:19:35 xkuru joins (~xkuru@user/xkuru)
15:20:21 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
15:21:57 alp_ joins (~alp@user/alp)
15:24:26 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:ab4b:4a11:6cbb:6bec) (Quit: WeeChat 2.8)
15:24:50 dcoutts_ joins (~duncan@host213-122-143-81.range213-122.btcentralplus.com)
15:27:33 × liz quits (~liz@cpc84585-newc17-2-0-cust60.16-2.cable.virginm.net) (Ping timeout: 260 seconds)
15:27:35 × dcoutts quits (~duncan@host213-122-143-81.range213-122.btcentralplus.com) (Ping timeout: 260 seconds)
15:31:12 × scav quits (sid309693@id-309693.helmsley.irccloud.com) (Changing host)
15:31:12 scav joins (sid309693@user/scav)
15:36:37 × xff0x_ quits (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp) (Quit: xff0x_)
15:38:33 xff0x_ joins (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp)
15:38:33 × xff0x quits (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp) (Ping timeout: 248 seconds)
15:39:42 × krappix quits (~krappix@nat-eduroam-76-gw-01-lne.lille.inria.fr) (Ping timeout: 250 seconds)
15:39:44 szkl joins (uid110435@id-110435.uxbridge.irccloud.com)
15:44:42 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
15:48:22 × dolio quits (~dolio@130.44.130.54) (Ping timeout: 272 seconds)
15:48:41 dolio joins (~dolio@130.44.130.54)
15:50:26 <janus> geekosaur: can i quote you in a reply to yairchu: https://stackoverflow.com/questions/69143043/how-to-create-native-arm-executables-on-macos-using-ghc-stack/71670541?noredirect=1#comment126696956_71670541 ?
15:50:38 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
15:53:28 × ccntrq quits (~Thunderbi@2a01:e34:eccb:b060:974:50d0:1066:ad50) (Remote host closed the connection)
15:56:34 xff0x_ is now known as xff0x
15:57:45 × jgeerds quits (~jgeerds@d5364b87.access.ecotel.net) (Ping timeout: 248 seconds)
16:00:47 lbseale joins (~ep1ctetus@user/ep1ctetus)
16:02:23 × lbseale quits (~ep1ctetus@user/ep1ctetus) (Read error: Connection reset by peer)
16:03:45 lbseale joins (~ep1ctetus@user/ep1ctetus)
16:04:01 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
16:04:39 k`` joins (~user@152.1.137.158)
16:05:45 × Psybur quits (~Psybur@75.145.205.201) (Ping timeout: 248 seconds)
16:05:57 <k``> In template Haskell, is there a way to take a constraint (type) like `Eq Word` and prove whether it is locally satisfied?
16:06:06 sprout_ joins (~quassel@2a02:a467:ccd6:1:70be:3437:d6be:b5ae)
16:08:03 <k``> It seems like `reifyInstances` forces you to split the constraint into `Eq`'s Name and `Word`'s Type.
16:08:31 Psybur joins (~Psybur@2600:1003:b1a3:2343:a90a:7e3:97e4:e639)
16:08:38 <k``> But does that even work for MultiparamTypeClasses?
16:09:33 × sprout quits (~quassel@2a02:a467:ccd6:1:950:287b:c4be:ac00) (Ping timeout: 260 seconds)
16:10:54 × werdnA quits (~andrew@114.88.181.56) (Quit: WeeChat 3.4.1)
16:11:08 werdnA joins (~andrew@114.88.181.56)
16:11:35 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
16:12:58 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
16:16:25 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 248 seconds)
16:20:52 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:22:56 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Ping timeout: 268 seconds)
16:26:27 drewolson joins (~drewolson@user/drewolson)
16:30:24 random-jellyfish joins (~random-je@user/random-jellyfish)
16:34:17 MiguelNegrao joins (~MiguelNeg@194.210.216.113)
16:36:07 <MiguelNegrao> Hi all . Is there way to convert haskell TypeLit Nats to peano Nats like
16:36:07 <MiguelNegrao> data HNat = HZero | HSucc HNat ?
16:36:23 <MiguelNegrao> typing 10 succ in a rock sucks (pun intended)...
16:36:23 econo joins (uid147250@user/econo)
16:38:29 × fef quits (~thedawn@user/thedawn) (Quit: Leaving)
16:38:42 bahamas joins (~lucian@84.232.140.158)
16:38:49 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
16:39:31 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
16:39:53 <[exa]> MiguelNegrao: perhaps this? https://hackage.haskell.org/package/fixed-vector-1.2.1.0/docs/Data-Vector-Fixed-Cont.html#t:Peano
16:40:36 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
16:40:40 <MiguelNegrao> looks promising ! will check if this works !
16:41:15 Vajb joins (~Vajb@2001:999:62:aa00:7f5a:4f10:c894:3813)
16:41:16 <[exa]> not sure if you want to import fixed-vector because of it, but the thing seems sufficiently selfcontained to be just copypasted out of it
16:41:33 <[exa]> that said maybe there's a standarder implementation
16:41:36 × joo-_ quits (~joo-_@fsf/member/joo--) (Quit: leaving)
16:42:11 <MiguelNegrao> yeah, if it works copy paste is fine
16:42:30 vakanto joins (~tobias@2a02:908:1a77:d860:aa08:60d9:ccff:b605)
16:43:49 <MiguelNegrao> test2 :: HList '[(), ()]
16:43:50 <MiguelNegrao> test2 = hReplicate (Proxy :: Proxy (Peano 2)) ()
16:43:56 <MiguelNegrao> beautiful !!! thanks !
16:44:17 <[exa]> ok wow cool :]
16:44:57 joo-_ joins (~joo-_@80-62-116-70-mobile.dk.customer.tdc.net)
16:44:57 × joo-_ quits (~joo-_@80-62-116-70-mobile.dk.customer.tdc.net) (Changing host)
16:44:57 joo-_ joins (~joo-_@fsf/member/joo--)
16:45:15 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
16:46:14 deadmarshal_ joins (~deadmarsh@95.38.119.185)
16:49:29 × MajorBiscuit quits (~MajorBisc@c-001-003-047.client.tudelft.eduvpn.nl) (Ping timeout: 248 seconds)
16:50:58 alx741_ joins (~alx741@host-181-198-243-150.netlife.ec)
16:51:01 × alx741_ quits (~alx741@host-181-198-243-150.netlife.ec) (Client Quit)
16:51:04 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
16:51:14 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
16:56:20 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
16:56:26 × DNH quits (~DNH@2a02:8109:b740:2c4:b89d:8c20:3683:54c9) (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:56:49 <MiguelNegrao> I was trying a version that works just with type application but I can't quite get it to work...
16:56:54 <MiguelNegrao> hReplicate' :: forall (n :: Nat) e (es :: [*]) m. (HReplicateFD m e es, m ~ Peano n) => e -> HList es
16:56:55 <MiguelNegrao> hReplicate' = hReplicate (Proxy @m)
16:57:33 × dextaa_ quits (~dextaa@user/dextaa) (Remote host closed the connection)
16:57:45 <MiguelNegrao> the idea would be to then be able to do hReplicate' @2 ()
16:58:08 × Psybur quits (~Psybur@2600:1003:b1a3:2343:a90a:7e3:97e4:e639) (Read error: Connection reset by peer)
16:58:43 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
16:59:12 Psybur joins (~Psybur@2600:1003:b1a3:2343:e08e:f00b:6e6c:53d5)
17:03:44 × vysn quits (~vysn@user/vysn) (Ping timeout: 260 seconds)
17:04:15 × alp_ quits (~alp@user/alp) (Ping timeout: 268 seconds)
17:05:08 alp_ joins (~alp@user/alp)
17:08:31 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
17:09:45 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 248 seconds)
17:12:09 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:12:44 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
17:13:06 liz joins (~liz@cpc84585-newc17-2-0-cust60.16-2.cable.virginm.net)
17:14:53 × MiguelNegrao quits (~MiguelNeg@194.210.216.113) (Quit: Client closed)
17:16:40 chomwitt joins (~chomwitt@2a02:587:dc19:3600:aabd:edaf:cb83:4282)
17:17:40 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
17:18:33 zer0bitz joins (~zer0bitz@2001:2003:f750:a200:d52e:866a:6f3a:60a1)
17:20:20 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:20:20 × Vajb quits (~Vajb@2001:999:62:aa00:7f5a:4f10:c894:3813) (Read error: Connection reset by peer)
17:20:25 MiguelNegrao joins (~MiguelNeg@194.210.216.113)
17:20:30 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
17:25:41 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 250 seconds)
17:28:04 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:31:32 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:33:29 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 250 seconds)
17:33:58 <juri_> hmm. is there a place where the ULP of prelude's math functions (sqrt, *) is documented?
17:35:11 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
17:35:44 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:37:56 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
17:38:15 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 256 seconds)
17:39:55 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
17:41:01 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
17:41:09 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
17:41:41 × k`` quits (~user@152.1.137.158) (Quit: ERC (IRC client for Emacs 27.1))
17:41:48 × sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 240 seconds)
17:42:40 vakanto parts (~tobias@2a02:908:1a77:d860:aa08:60d9:ccff:b605) (WeeChat 3.3)
17:43:47 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:48:13 × Psybur quits (~Psybur@2600:1003:b1a3:2343:e08e:f00b:6e6c:53d5) (Ping timeout: 250 seconds)
17:48:51 × MiguelNegrao quits (~MiguelNeg@194.210.216.113) (Quit: Client closed)
17:49:13 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 248 seconds)
17:50:33 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
17:50:39 Psybur joins (~Psybur@75.145.205.201)
17:51:31 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:51:52 × deadmarshal_ quits (~deadmarsh@95.38.119.185) (Ping timeout: 272 seconds)
17:51:59 jgeerds joins (~jgeerds@d5364b87.access.ecotel.net)
17:52:51 sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
17:53:51 frostbyte_ parts (~uid@2001:bc8:2117:100::) ()
17:55:15 × Psybur quits (~Psybur@75.145.205.201) (Ping timeout: 256 seconds)
17:56:53 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 260 seconds)
17:57:30 <Zemyla> Question. inRange (minBound, maxBound) x === True, right?
17:57:57 <Zemyla> For all (Bounded a, Ix a)?
17:58:27 <jle`> Zemyla: hm, Ix does have laws, but none related to Bounded it seems
17:58:48 sander joins (~sander@user/sander)
18:00:16 <jle`> but that sounds reasonable for most instances
18:00:39 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:01:01 × hpc quits (~juzz@ip98-169-35-13.dc.dc.cox.net) (Ping timeout: 240 seconds)
18:01:32 romesrf joins (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3)
18:02:28 <Zemyla> Ord doesn't have laws relating to Bounded, either.
18:02:33 <romesrf> hello! what's the current opinion on Iteratee? the library hasn't been updated in a while and the cabal constraints are kind of tight
18:02:54 <romesrf> by "kind of" I mean I got conflicts with 8.10
18:03:09 hpc joins (~juzz@ip98-169-35-13.dc.dc.cox.net)
18:03:27 <geekosaur> janus: yes although you might want to verify with #ghc
18:05:01 × alp_ quits (~alp@user/alp) (Ping timeout: 240 seconds)
18:05:32 <geekosaur> then again I run chrome straight form google, that one gets updated all the time
18:06:03 <geekosaur> (I have to imagine mozilla has something similar going with firefox)
18:06:13 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 260 seconds)
18:08:01 simendsjo joins (~user@84.211.91.241)
18:08:35 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:10:22 <jle`> romesrf: my general understanding is that iteratee is sort of a transitional library back when we were still figuring out how to do streaming abstractions right, it laid the foundations for a bunch of stuff but isn't really a modernly used library
18:10:28 Psybur joins (~Psybur@75.145.205.201)
18:10:52 <jle`> looks like the last version was uploaded in 2014
18:11:39 <jle`> i'm not sure what the current modern thing is but i usually reach for conduit, which is still maintained, but there's also streamly and stuff which are pretty widely used i think
18:11:45 <geekosaur> that's my understanding as well
18:11:54 <geekosaur> conduit, pipes, streamly
18:12:25 dextaa_5 joins (~dextaa@user/dextaa)
18:12:46 <romesrf> Interesting! out of curiosity, what's the underlying "IO theory" of those libraries?
18:13:12 <romesrf> the iteratee paper explains nicely the lazy IO x handle based IO
18:13:12 <geekosaur> left-fold iterators were first proposed by oleg kiselyov iirc
18:13:34 <geekosaur> *iteratees
18:13:38 <romesrf> and proposes iteratee as a better bullet
18:14:01 <romesrf> are left-fold iteratees what's being used under the hood by conduit et all?
18:14:08 <geekosaur> yes
18:14:28 <romesrf> I see! I'll dive into the code later on, just one more question:
18:14:28 <geekosaur> they're a later generation of the same idea, packaged better/easier to use
18:14:33 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 268 seconds)
18:14:46 <romesrf> Well, that's the answer hahaha.
18:14:49 <romesrf> Thank you
18:17:46 <geekosaur> they also work around some shortcomings of the iteratee approach (there of course being no magic bullet that avoids *all* problems)
18:17:55 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:18:10 <geekosaur> conduit and pipes originally started out with different approaches and then stole ideas from each other and are roughly the same now
18:18:28 <geekosaur> including the same corner cases that require some extra plumbing
18:19:26 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
18:19:40 <geekosaur> streamly, as I understand it, provides two different backends which cover all use cases, each backend having its own weaknesses. you can choose one for a given stream but can't switch afterward, I think
18:21:48 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
18:21:51 <romesrf> geekosaur: we should try to get even these short answers on some documentation form.. "Streaming FAQ" ahah
18:22:35 <romesrf> geekosaur: I want to get my hands on it but haven't had time to get started / get talking more with Kleidukos
18:22:48 <romesrf> which is managing flora etc...
18:23:06 <romesrf> and the documentation side from HF if I'm not mistaken
18:23:28 hololeap_ joins (~hololeap@user/hololeap)
18:23:32 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
18:23:48 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
18:24:43 <monochrom> . o O ( You can't switch mid-stream haha )
18:24:53 × lbseale quits (~ep1ctetus@user/ep1ctetus) (Read error: Connection reset by peer)
18:25:17 lbseale joins (~ep1ctetus@user/ep1ctetus)
18:26:27 × cosimone quits (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20) (Remote host closed the connection)
18:27:40 MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net)
18:29:16 × szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
18:30:08 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 246 seconds)
18:33:19 cosimone joins (~user@93-47-228-79.ip115.fastwebnet.it)
18:34:15 <juri_> hmm. where is a good place to discuss floating point error accumulation?
18:35:07 <juri_> for instance, if i'm getting the norm of two variables sqrt(a*a+b*b), how many ULPs of the result will the error be?
18:35:15 acacia joins (~alloca@user/suppi)
18:35:44 × MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Ping timeout: 246 seconds)
18:37:50 × gurkenglas quits (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de) (Read error: Connection reset by peer)
18:38:08 gurkenglas joins (~gurkengla@dslb-178-012-018-212.178.012.pools.vodafone-ip.de)
18:39:01 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Remote host closed the connection)
18:40:41 <[exa]> juri_: "depends"
18:42:33 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:43:07 <juri_> [exa]: yeah, there's my problem. :)
18:43:26 × random-jellyfish quits (~random-je@user/random-jellyfish) (Ping timeout: 250 seconds)
18:44:10 <[exa]> juri_: in your case there isn't too much actual data, so you should be easily able to guess the error position more or less algebraically (imagine converting each variable through something like `\a -> a + 1e-6*a*sigma` and counting the amount of `sigma` in the result)
18:45:36 vgtw_ is now known as vgtw
18:47:47 <juri_> hmm. i don't follow. which is no surprise. :)
18:47:55 <[exa]> I guess there might be a problem with large scale difference and `a >>>> b` because "b disappears after squaring", if you want to prevent that the usual technique is to guess the "scale" and split the numbers to large/small halves that don't combine until absolutely necessary
18:50:04 <[exa]> this may help https://en.wikipedia.org/wiki/Kahan_summation_algorithm
18:52:58 <juri_> yeah, i figgured scale differences would be trouble.
18:54:11 <[exa]> what kind of error are you getting? the small/big one?
18:55:42 <tomsmeding> juri_: pretty sure [exa] is referring to doing this: sqrt((a+εa)*(a+εa) + (b+εb)*(b+εb)) = sqrt(a^2 + 2εa + (εa)^2 + b^2 + 2εb + (εb)^2)
18:55:43 Me-me joins (~me-me@v.working.name)
18:55:48 <juri_> uh-oh. so, what i'm doing is casting a line at a line segment, in 2DPGA. I want to know how to size the distanceBetween line1 line2endpoint < fuzzyamount, so i know when i hit an endpoint.
18:57:03 <tomsmeding> which is approximately linear in εa and εb, hence...? I don't actually know how to do this analysis lol
18:57:18 Wstfgl0 joins (~me-me@tunnel690570-pt.tunnel.tserv12.mia1.ipv6.he.net)
18:58:27 <juri_> in my intersection gathering function, i perform exactly 3 multiplies, so that's easy to sum the ulp of. but, i don't know what to do with sqrt(a*a+b*b).
18:58:36 deadmarshal_ joins (~deadmarsh@95.38.119.185)
18:58:42 alp_ joins (~alp@user/alp)
18:59:39 <tomsmeding> can't you do this with interval analysis? Like, if you know the accuracy of a function with type Double^n -> Double, you should be able to rewrite it to Interval^n -> Interval, where Interval = (Double, Double)
19:00:25 × Me-me quits (~me-me@v.working.name) (Ping timeout: 256 seconds)
19:02:19 <juri_> I think that's a bit lost on me. i'm no rocket scientist here. :)
19:03:05 <tomsmeding> you know what an ULP is :')
19:03:08 <tomsmeding> you know more than I do
19:03:18 <juri_> only after a week of pulling my hair out. :)
19:03:22 <tomsmeding> :D
19:03:26 × deadmarshal_ quits (~deadmarsh@95.38.119.185) (Ping timeout: 272 seconds)
19:03:30 <juri_> hmm.
19:03:36 <tomsmeding> juri_: https://hackage.haskell.org/package/exact-real
19:03:39 <juri_> i think i may be closer to an answer.
19:03:53 × bahamas quits (~lucian@84.232.140.158) (Ping timeout: 268 seconds)
19:04:19 <juri_> Ugh. implemented a long float library. now i just want a measure to know when to use it, and when the answer i'm going to get with a double is 'good enough'.
19:04:21 zincy joins (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8)
19:04:51 × zincy quits (~zincy@2a00:23c8:970c:4801:9dee:240c:5988:ddb8) (Remote host closed the connection)
19:06:14 <juri_> hmm. i wonder if the answer i'm looking for is 'the ULP of a + the ulp of b + the ulp of a*a + the ulp of b*b + the ulp of a*a+b*b, plus pray a lot'
19:07:11 <juri_> supposedly, most x86 implementations have a ulp of less than 0.5 of the least significant digit..
19:09:13 <tomsmeding> juri_: my point about intervals is the following. Suppose you have some `f :: Double -> Double`, e.g. `f x = x*x`. Suppose you also know the accuracy of f, i.e. you can write some function `g :: ExactReal -> ExactReal` such that `f x` is at most `g x` from the real answer. Then if `f` is monotonic, then you know that for an input `x` that is somewhere in the range [a, b] for ExactReals a and b,
19:09:13 <tomsmeding> then `f x` will be somewhere in the range [f a - g a, f b + g b]. Hence you've now lifted f to `f' :: (ExactReal, ExactReal) -> (ExactReal, ExactReal)`, giving the interval where the output will be given the interval where the input is
19:09:34 <tomsmeding> (that [f a - g a, f b + g b] should be flipped if `f` is decreasing instead of increasing)
19:09:57 <tomsmeding> now extend this to two-argument functions :p
19:10:32 <tomsmeding> and then feed the lifted function for your entire computation an interval [a, a], and look at how large the output interval is
19:10:51 lortabac joins (~lortabac@2a01:e0a:541:b8f0:67c4:4ad5:7007:410f)
19:11:01 <tomsmeding> iirc this is "interval arithmetic"
19:11:15 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
19:11:42 CiaoSen joins (~Jura@p200300c957311e002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
19:15:31 jakalx joins (~jakalx@base.jakalx.net)
19:18:21 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
19:19:54 × kaph quits (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it) (Ping timeout: 272 seconds)
19:24:19 DNH joins (~DNH@2a02:8109:b740:2c4:c037:4b3d:a51c:742a)
19:25:17 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 250 seconds)
19:25:45 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 248 seconds)
19:26:24 <juri_> at times like this i really wish the herbie GHC plugin was still a thing.
19:27:16 zincy joins (~zincy@host86-160-236-152.range86-160.btcentralplus.com)
19:27:19 × Psybur quits (~Psybur@75.145.205.201) (Ping timeout: 268 seconds)
19:27:22 <tomsmeding> O.o that is one beast of a plugin
19:27:37 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
19:27:52 × neurocyte8614 quits (~neurocyte@user/neurocyte) (Read error: Connection reset by peer)
19:27:56 <juri_> yeah, looking at it now, i wonder if it could be implemented extenally, with HIE.
19:28:30 <tomsmeding> but that wouldn't even help you really, right?
19:28:43 <tomsmeding> because while it might make the computations more stable, it won't tell how exactly how stable the result is
19:28:50 neurocyte86144 joins (~neurocyte@IP-045010063124.dynamic.medianet-world.de)
19:28:50 × neurocyte86144 quits (~neurocyte@IP-045010063124.dynamic.medianet-world.de) (Changing host)
19:28:50 neurocyte86144 joins (~neurocyte@user/neurocyte)
19:28:57 Psybur joins (~Psybur@2600:1003:b1a3:2343:f1fc:41cc:1190:cfb8)
19:29:06 juri_ nods.
19:29:29 × BlackboardN quits (~Blackboar@user/BlackboardN) (Ping timeout: 248 seconds)
19:31:18 BlackboardN joins (~Blackboar@user/BlackboardN)
19:34:28 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
19:35:49 × coot quits (~coot@213.134.190.95) (Ping timeout: 240 seconds)
19:38:25 × Psybur quits (~Psybur@2600:1003:b1a3:2343:f1fc:41cc:1190:cfb8) (Ping timeout: 268 seconds)
19:38:51 Psybur joins (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba)
19:43:03 × dhouthoo quits (~dhouthoo@178-117-36-167.access.telenet.be) (Quit: WeeChat 3.4.1)
19:43:09 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
19:47:40 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds)
19:48:55 rawley joins (~rawley@142.99.241.242)
19:51:45 × p3n quits (~p3n@217.198.124.246) (Ping timeout: 256 seconds)
19:53:14 p3n joins (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1)
19:53:35 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Remote host closed the connection)
19:54:11 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
19:55:04 × simendsjo quits (~user@84.211.91.241) (Ping timeout: 268 seconds)
19:57:57 MajorBiscuit joins (~MajorBisc@86-88-79-148.fixed.kpn.net)
19:59:02 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
19:59:53 × CiaoSen quits (~Jura@p200300c957311e002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
20:01:43 × MajorBiscuit quits (~MajorBisc@86-88-79-148.fixed.kpn.net) (Client Quit)
20:03:54 hololeap joins (~hololeap@user/hololeap)
20:04:55 × hololeap_ quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
20:05:30 p3n_ joins (~p3n@217.198.124.246)
20:05:46 × p3n quits (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1) (Read error: Connection reset by peer)
20:08:29 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
20:12:16 spacenautx joins (~spacenaut@user/spacenautx)
20:13:17 × zer0bitz quits (~zer0bitz@2001:2003:f750:a200:d52e:866a:6f3a:60a1) (Ping timeout: 256 seconds)
20:13:33 urdh_ joins (~urdh@user/urdh)
20:13:46 × urdh quits (~urdh@user/urdh) (Ping timeout: 260 seconds)
20:13:46 urdh_ is now known as urdh
20:17:41 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
20:17:42 acidjnk joins (~acidjnk@p200300d0c7049f5375c1d267ad8f6a07.dip0.t-ipconnect.de)
20:17:56 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 246 seconds)
20:19:35 × fendor_ quits (~fendor@91.141.33.204.wireless.dyn.drei.com) (Remote host closed the connection)
20:20:24 Lord_of_Life_ is now known as Lord_of_Life
20:20:42 crazazy joins (~user@130.89.171.62)
20:21:07 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
20:23:53 × romesrf quits (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3) (Ping timeout: 260 seconds)
20:25:37 Pickchea joins (~private@user/pickchea)
20:27:39 × V quits (~v@anomalous.eu) (Changing host)
20:27:39 V joins (~v@ircpuzzles/2022/april/winner/V)
20:27:50 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:67c4:4ad5:7007:410f) (Quit: WeeChat 2.8)
20:28:11 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
20:32:12 <lechner> Hi, do people still use hugs?
20:32:22 <napping> Is there any way to use optimization settings or pragmas to get GHC to fully simplify application of a recursive function to term explicitly built up from constructor
20:32:53 <geekosaur> lechner, apparently it's still used in some intro to haskell sources
20:33:09 <geekosaur> *courses
20:33:22 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 272 seconds)
20:33:30 <napping> like, if eval (Add x y) = eval x + eval y; eval (Lit n) = n, could I get a function like test n = eval (Add (Add (Lit n) (Lit n)) (Lit 2)) to optimize the body down to (x+x)+2?
20:34:15 <napping> SpecConstr only seems to want to do one layer of constructor (or the optimization isn't recursively applied to the generated specializations)
20:34:49 <napping> -fliberate-case sounds possibly relevant but I haven't got it to do anything useful
20:35:08 <lechner> geekosaur: thanks!
20:35:30 <lechner> also, does ghcjs have a bright future?
20:35:55 <napping> (also tried to somehow put in a SPEC as mentioned in the user's guide and it didn't work, but I didn't find documentation on the feature)
20:36:08 <geekosaur> it has the advantages ofbeing easy to install and highly portable. the disadvantage is it doesn't work with modern Haskell software, but for an intro course that's not especially relevant
20:36:12 <napping> Perhaps RULES?
20:36:45 romesrf joins (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3)
20:37:27 pavonia joins (~user@user/siracusa)
20:37:33 hololeap_ joins (~hololeap@user/hololeap)
20:38:35 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
20:39:12 coot joins (~coot@213.134.190.95)
20:41:04 <lechner> geekosaur: Thanks! Hugs is still in Debian, but I think ghcjs was dropped
20:42:26 <geekosaur> ghcjs's status is at best questionable, but I thinkit doesn't matter much as official js and wasm backends are tentatively scheduled for 9.6
20:42:43 <lechner> i see
20:43:02 <lechner> thank you so much!
20:45:17 × zincy quits (~zincy@host86-160-236-152.range86-160.btcentralplus.com) (Remote host closed the connection)
20:46:28 <c_wraith> huh. so I had an idea - I wanted to create GADT where each constructor has a type level tag, so you can specify an individual constructor by the type. but I wanted to see if I could use DataKinds and PolyKinds to promote the constructor itself to use as the type level tag, too.
20:46:41 × mon_aaraj quits (~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 272 seconds)
20:46:53 <c_wraith> but... GHC was unhappy with that brand of recursion.
20:47:05 <c_wraith> very sadness.
20:48:15 mon_aaraj joins (~MonAaraj@user/mon-aaraj/x-4416475)
20:53:16 hololeap joins (~hololeap@user/hololeap)
20:54:15 × hololeap_ quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
20:57:17 × Athas quits (athas@2a01:7c8:aaac:1cf:6914:1dfa:1871:fc52) (Quit: ZNC 1.8.2 - https://znc.in)
20:57:26 Athas joins (athas@2a01:7c8:aaac:1cf:6914:1dfa:1871:fc52)
20:57:59 hololeap_ joins (~hololeap@user/hololeap)
20:58:55 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
21:02:51 mcgroin joins (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
21:03:05 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
21:03:33 <mcgroin> if i define my operator like this: x :| f = f x, does it automatically mean it's infix?
21:03:51 <mcgroin> infixl
21:05:30 <monochrom> Yes. But don't name it :|
21:05:50 <tomsmeding> should name it :> because then it's happier
21:05:54 <monochrom> haha
21:06:26 <monochrom> But no, colon is reserved for infix data constructors, e.g., data M = Int :| Int
21:06:49 <mcgroin> colon is reserved ?
21:07:03 <tomsmeding> but yeah two issues with that: 1. :| is already taken by Data.List.NonEmpty (not terribly important perhaps), but 2. ':' is the capital letter of symbols: Foo can only be a type or data constructor, and similarly :| can only be a type or data constuctor
21:07:06 <tomsmeding> : is the only "capital symbol"
21:07:16 <monochrom> No, that is not the reserved-word notion.
21:07:36 <tomsmeding> % data MyThing = Int :& Bool deriving (Show)
21:07:36 <yahb> tomsmeding:
21:07:38 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
21:07:39 <tomsmeding> % 3 :& False
21:07:39 <yahb> tomsmeding: 3 :& False
21:07:48 <tomsmeding> see? not reserved, it just needs to be a data constructor
21:08:03 <monochrom> You cannot name your function "Myfunc", it has to be "myfunc", M is for data constructors, and these still don't imply that M is reserved.
21:08:03 <tomsmeding> % let a :&& b = a + b
21:08:03 <yahb> tomsmeding: ; <interactive>:27:7: error:; Not in scope: data constructor `:&&'; Perhaps you meant one of these: `:&' (line 25), variable `&&' (imported from Prelude), variable `&&&' (imported from Control.Arrow)
21:08:12 <tomsmeding> note the "data constructor `:&&'"
21:08:51 <tomsmeding> % let a !&& b = a + b
21:08:51 <yahb> tomsmeding:
21:08:54 <tomsmeding> % 3 !&& 4
21:08:54 <yahb> tomsmeding: 7
21:09:11 × romesrf quits (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3) (Ping timeout: 260 seconds)
21:09:43 <monochrom> Infix camel case: ?+:--:>>
21:10:07 <tomsmeding> ._.
21:10:11 <mcgroin> i see, so : is considered as a capital letter
21:13:16 × rawley quits (~rawley@142.99.241.242) (Remote host closed the connection)
21:13:55 × hololeap_ quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
21:14:12 × Psybur quits (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba) (Read error: Connection reset by peer)
21:14:25 hololeap_ joins (~hololeap@user/hololeap)
21:14:28 Psybur joins (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba)
21:16:31 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Remote host closed the connection)
21:19:01 × Psybur quits (~Psybur@2603:3021:2541:80c1:19c2:a1cd:6600:38ba) (Ping timeout: 256 seconds)
21:20:37 Psybur joins (~Psybur@2600:1003:b1a3:2343:446a:e995:495d:c777)
21:21:05 cjb joins (~cjbayliss@user/cjb)
21:23:23 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
21:24:31 × whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
21:25:08 × Psybur quits (~Psybur@2600:1003:b1a3:2343:446a:e995:495d:c777) (Ping timeout: 260 seconds)
21:25:40 Psybur joins (~Psybur@2601:5c9:4201:3220:19c2:a1cd:6600:38ba)
21:25:51 mastarija joins (~mastarija@2a05:4f46:e04:6000:85bd:9b8e:1cdb:300e)
21:26:37 × mastarija quits (~mastarija@2a05:4f46:e04:6000:85bd:9b8e:1cdb:300e) (Client Quit)
21:28:35 × hololeap_ quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
21:28:51 kaph joins (~kaph@dynamic-adsl-78-12-162-98.clienti.tiscali.it)
21:30:07 hololeap_ joins (~hololeap@user/hololeap)
21:32:10 romesrf joins (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3)
21:32:31 × tcard quits (~tcard@p2878075-ipngn18701hodogaya.kanagawa.ocn.ne.jp) (Quit: Leaving)
21:33:13 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 248 seconds)
21:36:48 tcard joins (~tcard@p2878075-ipngn18701hodogaya.kanagawa.ocn.ne.jp)
21:38:49 × michalz quits (~michalz@185.246.204.33) (Remote host closed the connection)
21:40:50 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
21:41:41 × romesrf quits (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3) (Ping timeout: 256 seconds)
21:42:07 vicfred joins (~vicfred@user/vicfred)
21:42:55 × wyrd quits (~wyrd@gateway/tor-sasl/wyrd) (Ping timeout: 240 seconds)
21:44:23 × cheater quits (~Username@user/cheater) (Ping timeout: 246 seconds)
21:45:29 × doyougnu quits (~doyougnu@cpe-67-249-83-190.twcny.res.rr.com) (Ping timeout: 248 seconds)
21:47:50 × coot quits (~coot@213.134.190.95) (Quit: coot)
21:48:57 Topsi joins (~Tobias@dyndsl-037-138-064-193.ewe-ip-backbone.de)
21:49:57 wyrd joins (~wyrd@gateway/tor-sasl/wyrd)
21:51:36 × DNH quits (~DNH@2a02:8109:b740:2c4:c037:4b3d:a51c:742a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:54:10 cheater joins (~Username@user/cheater)
21:56:22 romesrf joins (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3)
21:56:44 × cjb quits (~cjbayliss@user/cjb) ()
21:56:52 hololeap joins (~hololeap@user/hololeap)
21:57:18 cjb joins (~cjb@user/cjb)
21:57:35 × hololeap_ quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
22:00:57 × romesrf quits (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3) (Ping timeout: 256 seconds)
22:01:49 × chomwitt quits (~chomwitt@2a02:587:dc19:3600:aabd:edaf:cb83:4282) (Ping timeout: 240 seconds)
22:02:14 Guest27 joins (~Guest27@2601:281:d47f:1590::6b90)
22:02:31 × BlackboardN quits (~Blackboar@user/BlackboardN) (Quit: ZNC 1.8.2 - https://znc.in)
22:02:52 BlackboardN joins (~Blackboar@user/BlackboardN)
22:03:17 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
22:03:41 × juri_ quits (~juri@178.63.35.222) (Ping timeout: 245 seconds)
22:06:27 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
22:06:37 DNH joins (~DNH@2a02:8109:b740:2c4:6d7f:99b6:5035:1068)
22:08:02 redb joins (~nmh@user/redb)
22:09:22 <Guest27> Is there any Monad like Maybe that short-circuits on success rather than failure?
22:09:46 <geekosaur> perhaps you want asum?
22:10:01 <Guest27> :t asum
22:10:03 <lambdabot> (Foldable t, Alternative f) => t (f a) -> f a
22:10:28 <geekosaur> > asum [Nothing, Just 5, Nothing, Just 12]
22:10:29 <lambdabot> Just 5
22:10:41 <Guest27> That's exactly what I want, thanks
22:10:51 <jackdk> mcgroin: Yes, colons and capitals begin constructors. (Haskell 98 Report, section 2.4)
22:11:39 <Guest27> What exactly is Alternative?
22:11:44 <mcgroin> jackdk: thx for the reference
22:11:45 <monochrom> If you just have 2 operands, then it's x <|> y, i.e., asum [x, y] = x <|> y
22:12:14 <monochrom> Alternative is the subclass of Applicative that adds "empty" and "<|>".
22:12:43 <monochrom> Its behaviour for Maybe is short-circuiting upon Just.
22:12:44 <geekosaur> it's Applicative over a Monoid, meaning it can deal with a notion of "empty"
22:12:54 <Guest27> Ohh, it's like the Parsec <|>
22:13:01 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:13:23 <monochrom> Yes, parsec was its main inspiration, as can be seen from the names of the methods :)
22:14:53 <redb> Hey all, noob here. I'm writing tests for a compiler I'm writing in Haskell, and I'd like some of my test cases to live in files rather than in the test file itself. My idea was to make a list of such files, add the parsed data to a dict keyed on those file names, and then use that dict while creating my Spec for testing. Here was my attempt: https://paste.tomsmeding.com/hdf3Re04 (cobbled from example). My
22:14:59 <redb> problem is I'm not sure how to get the list of file names down to a single IO, which will return the filled in (name, data) tuples I can then use to make a dict (Map).
22:18:40 <geekosaur> you may like sequence
22:19:01 <geekosaur> :t sequence
22:19:02 <lambdabot> (Traversable t, Monad m) => t (m a) -> m (t a)
22:19:14 <geekosaur> % :t sequence @[]
22:19:14 <yahb> geekosaur: Monad m => [m a] -> m [a]
22:19:56 × euandreh quits (~euandreh@2804:14c:33:9fe5:67d2:d391:3f5:bf92) (Quit: WeeChat 3.4.1)
22:20:24 euandreh joins (~euandreh@2804:14c:33:9fe5:f37c:486d:e6c4:36d4)
22:20:36 hololeap_ joins (~hololeap@user/hololeap)
22:21:30 yauhsien joins (~yauhsien@61-231-37-33.dynamic-ip.hinet.net)
22:21:36 <hpc> @src Const
22:21:37 <lambdabot> Source not found. Abort, Retry, Panic?
22:21:55 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
22:22:05 × acidjnk quits (~acidjnk@p200300d0c7049f5375c1d267ad8f6a07.dip0.t-ipconnect.de) (Ping timeout: 250 seconds)
22:22:11 <hpc> Guest27: answering the original question because it's interesting, there's also https://hackage.haskell.org/package/base-4.16.1.0/docs/Control-Applicative.html#t:Const
22:23:00 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
22:24:03 × jgeerds quits (~jgeerds@d5364b87.access.ecotel.net) (Ping timeout: 260 seconds)
22:26:07 × yauhsien quits (~yauhsien@61-231-37-33.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
22:26:22 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:26:53 Tuplanolla joins (~Tuplanoll@91-159-69-98.elisa-laajakaista.fi)
22:28:05 × hololeap_ quits (~hololeap@user/hololeap) (Remote host closed the connection)
22:29:23 hololeap_ joins (~hololeap@user/hololeap)
22:30:12 romesrf joins (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3)
22:32:29 machinedgod joins (~machinedg@24.105.81.50)
22:33:49 boxscape_ joins (~boxscape_@p4ff0be5f.dip0.t-ipconnect.de)
22:35:05 × romesrf quits (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3) (Ping timeout: 250 seconds)
22:36:30 Inst joins (~Liam@2601:6c4:4080:3f80:ed81:d418:758d:530d)
22:36:35 <Inst> yo
22:36:50 <geekosaur> yes?
22:36:52 <Inst> if I started a lib collection on Hackage, alongside someone tutoring me Haskell
22:36:56 <Inst> called n_n, would anyone object?
22:37:20 <Inst> n_n -> Naga Nyaya, or "Rule of Snakes", an indirect reference to Rule of Fish (Matsya Nyaya) in Hindu culture, which refers to big fish eating medium fish eating small fish
22:37:37 <Inst> the implicit meaning is Python-eater, or rather, it's intended to be a set of educational libraries
22:38:18 <Inst> like, for instance, a self-maintained implementation of CAPI FFI for tinyfiledialogs
22:38:26 <Inst> various GUI tools, and so on
22:38:37 <geekosaur> I doubt anyone would complain
22:38:56 <Inst> but no one would contribute either, right?
22:39:21 <Inst> n_n -> cutesy name hiding something ambitious and threatening
22:39:48 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
22:39:56 <geekosaur> that's up to you. contributions would typically be via a github (or gitlab or darcsden or etc.) repo
22:40:09 <Inst> yeah, we'll hopefully work on it
22:40:27 <geekosaur> if you invite contributions in the README, you may well get them. biggest problem might be discoverability with a "cutesy" name
22:40:40 <Inst> it's an umbrella
22:42:29 Wstfgl0 is now known as Me-me
22:42:37 × Me-me quits (~me-me@tunnel690570-pt.tunnel.tserv12.mia1.ipv6.he.net) (Changing host)
22:42:37 Me-me joins (~me-me@user/me-me)
22:42:38 × dextaa_5 quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
22:45:19 × DNH quits (~DNH@2a02:8109:b740:2c4:6d7f:99b6:5035:1068) (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:45:45 × alp_ quits (~alp@user/alp) (Ping timeout: 248 seconds)
22:46:26 dextaa_5 joins (~dextaa@user/dextaa)
22:47:05 InstX1 joins (~Liam@2601:6c4:4080:3f80:6189:32c1:ad22:f12d)
22:47:21 × mcgroin quits (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 248 seconds)
22:47:39 × Inst quits (~Liam@2601:6c4:4080:3f80:ed81:d418:758d:530d) (Ping timeout: 260 seconds)
22:48:23 × zeenk quits (~zeenk@2a02:2f04:a313:d600:8d26:ec9f:3ff6:fc94) (Quit: Konversation terminated!)
22:50:12 × crazazy quits (~user@130.89.171.62) (Ping timeout: 268 seconds)
22:51:16 <sm> -1 on that package name, it's too opaque so makes hackage less useful
22:51:23 × InstX1 quits (~Liam@2601:6c4:4080:3f80:6189:32c1:ad22:f12d) (Ping timeout: 256 seconds)
22:52:04 × boxscape_ quits (~boxscape_@p4ff0be5f.dip0.t-ipconnect.de) (Quit: Connection closed)
22:52:37 × Guest27 quits (~Guest27@2601:281:d47f:1590::6b90) (Quit: Client closed)
22:57:52 romesrf joins (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3)
22:59:18 × dextaa_5 quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
23:00:01 nahcetan joins (~nate@98.45.152.91)
23:00:18 × n8chan quits (~nate@98.45.152.91) (Ping timeout: 272 seconds)
23:01:03 dextaa_5 joins (~dextaa@user/dextaa)
23:03:00 alp_ joins (~alp@user/alp)
23:03:17 × romesrf quits (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3) (Ping timeout: 256 seconds)
23:04:01 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:06:54 BlackboardN_ joins (~Blackboar@user/BlackboardN)
23:07:13 × BlackboardN quits (~Blackboar@user/BlackboardN) (Ping timeout: 260 seconds)
23:08:15 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
23:17:01 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
23:21:29 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 248 seconds)
23:25:17 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Quit: ChaiTRex)
23:25:47 ChaiTRex joins (~ChaiTRex@user/chaitrex)
23:30:52 × redb quits (~nmh@user/redb) (Quit: leaving)
23:33:09 <jackdk> Umbrella packages are often not what you want, because (to paraphrase Joe Armstrong) you wanted a banana but what you got was a gorilla to hold the banana and the entire jungle too
23:33:38 × liz quits (~liz@cpc84585-newc17-2-0-cust60.16-2.cable.virginm.net) (Quit: Lost terminal)
23:34:05 <monochrom> Every tree is an umbrella in a jungle >:)
23:35:19 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 250 seconds)
23:36:11 × ft quits (~ft@shell.chaostreff-dortmund.de) (Ping timeout: 260 seconds)
23:36:46 redb joins (~nmh@user/redb)
23:37:47 ft joins (~ft@shell.chaostreff-dortmund.de)
23:43:21 chenqisu12 joins (~chenqisu1@183.217.202.44)
23:45:24 <dons> moin moin
23:45:51 <geekosaur> o/
23:46:43 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
23:48:45 inversed joins (~inversed@94.13.111.159)
23:48:47 × sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 268 seconds)
23:49:04 × inversed_ quits (~inversed@94.13.111.159) (Ping timeout: 272 seconds)
23:50:44 juri_ joins (~juri@178.63.35.222)
23:51:15 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds)
23:51:35 romesrf joins (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3)
23:54:59 InstX1 joins (~Liam@c-98-208-218-119.hsd1.fl.comcast.net)
23:56:00 <redb> What's the equivalent of *> that passes the value rather than discarding it?
23:56:11 × romesrf quits (~romes@2001:8a0:6d13:9700:55ae:5d11:5a75:11c3) (Ping timeout: 268 seconds)
23:56:16 <dolio> Passes which value?
23:56:33 <redb> Ah, I think it's >>=
23:56:43 <dons> :)
23:56:48 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds)
23:56:51 <dons> :t (>>=)
23:56:52 <lambdabot> Monad m => m a -> (a -> m b) -> m b
23:56:52 <dolio> Oh, that's what you mean.
23:57:02 <dons> :t (*>)
23:57:03 <lambdabot> Applicative f => f a -> f b -> f b
23:57:32 <dons> good intuition, if you're dealing with the specific value from a computation, you're probably doing something monadic, with bind (>>=)
23:57:33 × xff0x quits (~xff0x@i121-117-52-147.s41.a013.ap.plala.or.jp) (Quit: xff0x)
23:57:49 <dons> if its just composition, its more likely something Applicative or Functor-ish. which don't switch on the specific value.
23:59:15 <hpc> the "you could have invented monads" prophecy is once again fulfilled
23:59:29 <dons> dude you totally just invented monads

All times are in UTC on 2022-04-04.