Home liberachat/#haskell: Logs Calendar

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

00:00:38 × whatsupdoc quits (uid509081@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
00:01:04 × ees quits (~user@pool-108-18-30-46.washdc.fios.verizon.net) (Remote host closed the connection)
00:01:12 ian` joins (~user@ool-45779fe5.dyn.optonline.net)
00:01:14 × alzgh quits (~alzgh@user/alzgh) (Ping timeout: 256 seconds)
00:03:41 × timCF_ quits (~timCF@m91-129-99-212.cust.tele2.ee) (Quit: leaving)
00:06:22 × Gurkenglas quits (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de) (Ping timeout: 260 seconds)
00:08:19 ProfSimm joins (~ProfSimm@87.227.196.109)
00:09:23 × zaquest quits (~notzaques@5.130.79.72) (Read error: Connection reset by peer)
00:09:34 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
00:10:01 ChaiTRex joins (~ChaiTRex@user/chaitrex)
00:13:32 zaquest joins (~notzaques@5.130.79.72)
00:17:09 pfurla joins (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a)
00:18:17 × zincy_ quits (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3) (Remote host closed the connection)
00:18:23 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0)
00:22:28 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
00:24:02 × vysn quits (~vysn@user/vysn) (Ping timeout: 240 seconds)
00:26:11 × Tuplanolla quits (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi) (Quit: Leaving.)
00:32:54 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
00:33:34 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
00:34:11 Lord_of_Life_ is now known as Lord_of_Life
00:38:22 × desantra quits (~skykanin@user/skykanin) (Quit: WeeChat 3.3)
00:43:54 jgeerds joins (~jgeerds@55d45b75.access.ecotel.net)
00:47:25 mvk joins (~mvk@2607:fea8:5cc1:fa00::4702)
00:51:03 mimmy joins (~mimmy@cpef81d0f857c83-cmf81d0f857c80.cpe.net.cable.rogers.com)
00:52:24 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
00:55:02 × mimmy quits (~mimmy@cpef81d0f857c83-cmf81d0f857c80.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
00:56:02 × jgeerds quits (~jgeerds@55d45b75.access.ecotel.net) (Ping timeout: 240 seconds)
00:56:32 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 240 seconds)
01:04:47 machinedgod joins (~machinedg@24.105.81.50)
01:06:12 <arahael> maerwald: just had a look for the missing libraries... libtinfo.so.6 does not exist in alpine. it's a transitional package, too.
01:06:40 <arahael> maerwald: so it's looking very unlikely that there is an easy way for me to get haskell going in this environmenr.
01:07:01 <geekosaur> symlink to libncurses.so.6
01:08:06 <geekosaur> ideally configure would detect lack of libtinfo and use libncurses instead
01:09:43 <arahael> hmm. what about libnuma?
01:09:54 <geekosaur> that one I don't know
01:11:13 <geekosaur> on my ubuntu it's from libnuma1, but that probably doesn't help
01:11:23 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:12:25 × alx741 quits (~alx741@186.178.109.242) (Ping timeout: 268 seconds)
01:14:11 <arahael> i think i have it in the numacl package so lets try that...
01:14:13 <geekosaur> https://pkgs.alpinelinux.org/contents?branch=edge&name=numactl-dev&arch=x86&repo=main
01:14:19 <arahael> that! :)
01:14:51 <geekosaur> lso I just noticed you pointed to a .so but you won't find those on alpine iirc, it's all static
01:15:00 <geekosaur> so you still have a problem
01:15:52 <geekosaur> I thought we had a static/alpine build of ghc somewhere though
01:15:59 geekosaur digs
01:16:29 whatsupdoc joins (uid509081@hampstead.irccloud.com)
01:17:11 <arahael> No, there's .so files too.
01:17:18 <geekosaur> https://downloads.haskell.org/~ghc/8.10.7/ghc-8.10.7-x86_64-alpine3.10-linux-integer-simple.tar.xz ?
01:17:29 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving)
01:17:30 <arahael> Yeah, but I'm on aarch64
01:17:30 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:17:34 <geekosaur> oh
01:17:43 <geekosaur> dunno about that one
01:18:00 <arahael> It's been confirmed you guys don't have it.
01:18:26 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
01:18:26 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
01:18:26 wroathe joins (~wroathe@user/wroathe)
01:18:40 <geekosaur> and if you need a libnuma.so then numactl won't have iot, it's only got a static library
01:18:53 <arahael> No, I've got it now, had to install that.
01:19:27 <arahael> Hmm... What's teh difference between libncursesw and libncurses, I have the former...
01:19:58 <geekosaur> there isn't one in api level 6
01:20:02 mimmy joins (~mimmy@2607:fea8:6e0:7f90:1f:67de:401b:c472)
01:20:13 <geekosaur> used to be that ncursesw was wide character (unicode) support
01:20:16 <arahael> Ah.
01:20:26 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
01:20:44 <arahael> Hmm, ok, so I think it just don't work - I have now satisfied all libraries but still three missing symbols.
01:21:00 <arahael> Missing symbols: gnu_dev_makedev, gnu_dev_major, gnu_dev_minor
01:21:20 <geekosaur> uh. that's a libc issue
01:21:44 <arahael> Seems like ghcup's binary isn't compiled for my system at all then.
01:22:05 <geekosaur> sounds like somehow they got a few glibc headers mixed in with musl?
01:22:22 <geekosaur> because I'd expect those to be macros
01:23:05 <arahael> maerwald: Has pointed out there's no bindist for this system, though I assumed he was referring to the static bindists.
01:23:13 <arahael> But I guess there isn't one at all.
01:23:38 <arahael> s/:/, :)
01:23:44 jushur joins (~human@user/jushur)
01:24:22 <arahael> I think I may be best investigating rust instead if I want to support this system.
01:26:20 alx741 joins (~alx741@186.178.108.219)
01:26:47 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:1f:67de:401b:c472) (Ping timeout: 264 seconds)
01:27:10 <arahael> (Especially since I haven't actually written this yet, though, I do really like the idea of using haskell's network-simple-tls.)
01:33:35 <arahael> I could consider compiling haskell, but I've no other compiler to bootstrap it, so it's still back to cross compiling, and I'm not really keen to get into that with haskell.
01:59:25 deadmarshal joins (~deadmarsh@95.38.116.117)
02:01:33 × wroathe quits (~wroathe@user/wroathe) (Quit: leaving)
02:03:39 × ProfSimm quits (~ProfSimm@87.227.196.109) (Ping timeout: 256 seconds)
02:04:02 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 260 seconds)
02:08:50 × fryguybob quits (~fryguybob@cpe-74-67-169-145.rochester.res.rr.com) (Quit: leaving)
02:13:49 fryguybob joins (~fryguybob@cpe-74-67-169-145.rochester.res.rr.com)
02:14:41 × zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection)
02:15:43 <danso> is (->) mathematically a bifunctor, but isn't in haskell for practical computery reasons?
02:18:03 <awpr> the Bifunctor class is a very specific form of bifunctor that (->) isn't
02:18:11 zaquest joins (~notzaques@5.130.79.72)
02:18:23 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:18:53 <awpr> Bifunctor is Hask x Hask -> Hask bifunctors, but (->) is Hask_op x Hask -> Hask. for that, there's Profunctor
02:20:57 <danso> hm ok thanks
02:26:25 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 268 seconds)
02:31:23 lavaman joins (~lavaman@98.38.249.169)
02:35:46 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 260 seconds)
02:38:51 × alx741 quits (~alx741@186.178.108.219) (Quit: alx741)
02:39:23 machinedgod joins (~machinedg@24.105.81.50)
02:40:12 × pfurla quits (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a) (Quit: gone to sleep. ZZZzzz…)
02:42:03 pfurla joins (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a)
02:43:32 × xff0x quits (~xff0x@2001:1a81:5231:4c00:adf9:5009:dcd2:4bf0) (Ping timeout: 240 seconds)
02:43:44 mimmy joins (~mimmy@2607:fea8:6e0:7f90:1f:67de:401b:c472)
02:44:27 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
02:45:42 xff0x joins (~xff0x@2001:1a81:526f:1d00:143a:8455:ad4e:6c5e)
02:46:12 × pfurla quits (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a) (Client Quit)
02:46:26 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
02:48:37 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:1f:67de:401b:c472) (Ping timeout: 268 seconds)
02:50:42 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 260 seconds)
02:52:56 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
02:53:49 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
02:55:35 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:58:14 justsomeguy joins (~justsomeg@user/justsomeguy)
02:58:37 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
03:00:30 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
03:02:33 mimmy joins (~mimmy@2607:fea8:6e0:7f90:1f:67de:401b:c472)
03:06:06 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds)
03:07:08 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:1f:67de:401b:c472) (Ping timeout: 268 seconds)
03:07:44 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
03:12:32 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3)
03:14:35 lagash is now known as Guest7361
03:14:35 × Guest7361 quits (lagash@lagash.freeirc.org) (Killed (calcium.libera.chat (Nickname regained by services)))
03:14:48 lagash_ joins (lagash@lagash.freeirc.org)
03:15:22 × jbox quits (~jbox@user/jbox) (Ping timeout: 260 seconds)
03:17:31 lavaman joins (~lavaman@98.38.249.169)
03:17:44 pfurla joins (~pfurla@201.17.118.230)
03:22:26 zebrag joins (~chris@user/zebrag)
03:26:09 × fernand quits (~fernand@179.156.35.4) (Quit: Connection closed)
03:38:15 × Cajun quits (~Cajun@user/cajun) (Ping timeout: 256 seconds)
03:46:37 × lagash_ quits (lagash@lagash.freeirc.org) (Quit: ZNC - https://znc.in)
03:50:38 × whatsupdoc quits (uid509081@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
03:50:47 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
03:51:19 × td_ quits (~td@muedsl-82-207-238-028.citykom.de) (Ping timeout: 256 seconds)
03:53:14 td_ joins (~td@muedsl-82-207-238-154.citykom.de)
03:53:22 × xff0x quits (~xff0x@2001:1a81:526f:1d00:143a:8455:ad4e:6c5e) (Ping timeout: 268 seconds)
03:53:54 xff0x joins (~xff0x@2001:1a81:526f:1d00:936b:4a50:cc7a:54ee)
03:53:59 × renzhi quits (~xp@2607:fa49:6500:b100::6e7f) (Ping timeout: 268 seconds)
03:54:22 lagash joins (lagash@lagash.shelltalk.net)
03:55:34 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
03:55:46 × shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Remote host closed the connection)
04:01:05 dsamperi joins (~dsamperi@2603-7000-3b42-5400-696c-e6d5-a38c-bff7.res6.spectrum.com)
04:01:35 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
04:03:53 <dsamperi> Have recent revisions of GHC provided a work-around for the fact that field names have file/module scope? SPJ says something about this in his lecture on Lenses.
04:05:06 mimmy joins (~mimmy@2607:fea8:6e0:7f90:c9bb:e46c:7fac:4568)
04:07:01 wei2912 joins (~wei2912@138.75.71.147)
04:07:37 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
04:08:31 <dsal> There's nothing special about field names in that regard. You can choose to or choose not to export those symbols.
04:08:45 <dsal> There are new features that allow you to have records without generating the accessor functions.
04:08:52 <dsal> And a few other weird record hacks.
04:09:59 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:c9bb:e46c:7fac:4568) (Ping timeout: 264 seconds)
04:10:42 jbox joins (~jbox@user/jbox)
04:11:41 <sm> a growing number of weird record hacks
04:14:57 <dsamperi> Simon suggested a future release might include a work-around for field name conflicts in the same module using Lens library.
04:15:17 × ralu quits (~ralu@static.211.245.203.116.clients.your-server.de) (Quit: Ping timeout (120 seconds))
04:20:17 helby joins (helby@alpine/moderator/helby)
04:22:42 <helby> Hey, I am not familiar with cabal/ghc, trying to build HsOpenSSL on OpenBSD and had some errors ;/ https://envs.sh/E2h.log
04:23:45 ralu joins (~ralu@static.211.245.203.116.clients.your-server.de)
04:29:51 <dsal> dsamperi: It's unclear what you mean. lens can do this with "classy" lenses, but you can't just make a function mean different things.
04:30:50 <dsal> You can always qualify symbols to the module that's exporting them.
04:31:47 <helby> it would help if at least I know what these errors means ;/
04:32:52 <awpr> this kinda looks like an incompatibility between some low-level Haskell/C interface code and the C headers your system provides
04:33:24 <awpr> the error is coming from C land, where something is trying to find the offset of a struct field, in a type that's not been defined yet, only forward-declared
04:33:27 × rtsn quits (~nstr@c-c7fe225c.07-59-7570703.bbcust.telenor.se) (Ping timeout: 268 seconds)
04:33:46 rtsn joins (~nstr@c-c7fe225c.07-59-7570703.bbcust.telenor.se)
04:34:56 <helby> well openbsd uses libressl, not openssl, don't know if it can be related, but I assume
04:35:14 <awpr> that sounds like it's probably the issue
04:38:15 <awpr> from skimming the issue tracker, it looks like it intends to support libressl, maybe on a best-effort basis. it might be worth filing a bug report https://github.com/vshabanov/HsOpenSSL/issues
04:38:23 × dsrt^ quits (~dsrt@68.101.63.101) (Ping timeout: 268 seconds)
04:40:46 dsrt^ joins (~dsrt@68.101.63.101)
04:41:07 × dsamperi quits (~dsamperi@2603-7000-3b42-5400-696c-e6d5-a38c-bff7.res6.spectrum.com) (Quit: Konversation terminated!)
04:48:28 × Midjak quits (~Midjak@82-65-111-221.subs.proxad.net) (Quit: This computer has gone to sleep)
04:57:16 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
05:01:45 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
05:01:54 deadmarshal joins (~deadmarsh@95.38.116.117)
05:06:07 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
05:07:25 mimmy joins (~mimmy@2607:fea8:6e0:7f90:cc87:cc85:f027:20a)
05:12:33 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:cc87:cc85:f027:20a) (Ping timeout: 265 seconds)
05:13:31 hololeap joins (~hololeap@user/hololeap)
05:17:21 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
05:24:49 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 256 seconds)
05:26:28 vysn joins (~vysn@user/vysn)
05:30:48 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
05:32:49 × waleee quits (~waleee@h-82-196-111-63.NA.cust.bahnhof.se) (Quit: WeeChat 3.3)
05:35:25 × phma quits (~phma@host-67-44-208-215.hnremote.net) (Read error: Connection reset by peer)
05:36:13 phma joins (~phma@host-67-44-208-36.hnremote.net)
05:56:42 edrx joins (~Eduardo@2804:56c:d2d0:b400:6e3c:c666:9c9c:53ff)
06:04:15 deadmarshal joins (~deadmarsh@95.38.116.117)
06:06:40 mimmy joins (~mimmy@2607:fea8:6e0:7f90:cc87:cc85:f027:20a)
06:07:34 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
06:11:11 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:cc87:cc85:f027:20a) (Ping timeout: 264 seconds)
06:12:07 × mvk quits (~mvk@2607:fea8:5cc1:fa00::4702) (Ping timeout: 268 seconds)
06:17:04 mbuf joins (~Shakthi@223.178.74.138)
06:18:59 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 264 seconds)
06:27:09 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 256 seconds)
06:30:40 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
06:32:05 deadmarshal joins (~deadmarsh@95.38.116.117)
06:34:02 × jmorris quits (uid433911@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
06:36:01 ProfSimm joins (~ProfSimm@87.227.196.109)
06:37:40 mimmy joins (~mimmy@2607:fea8:6e0:7f90:391b:6915:6f86:ad4d)
06:44:39 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
06:46:18 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:391b:6915:6f86:ad4d) (Ping timeout: 260 seconds)
06:55:57 abhixec_ joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
06:58:33 mimmy joins (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850)
07:01:09 mei joins (~mei@user/mei)
07:03:43 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850) (Ping timeout: 265 seconds)
07:09:59 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 264 seconds)
07:10:36 Solid joins (~slot@xmonad/slotThe)
07:12:02 × cheater quits (~Username@user/cheater) (Ping timeout: 260 seconds)
07:12:07 cheater1__ joins (~Username@user/cheater)
07:12:11 cheater1__ is now known as cheater
07:13:15 deadmarshal joins (~deadmarsh@95.38.116.117)
07:16:49 Solid parts (~slot@xmonad/slotThe) (WeeChat 3.3)
07:22:35 × pfurla quits (~pfurla@201.17.118.230) (Quit: gone to sleep. ZZZzzz…)
07:27:02 gehmehgeh joins (~user@user/gehmehgeh)
07:27:03 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
07:27:58 × nitrix quits (~nitrix@user/nitrix) (Quit: Libera upgrade.)
07:28:28 nitrix joins (~nitrix@user/nitrix)
07:34:33 Axman6 joins (~Axman6@user/axman6)
07:43:26 × Skyfire quits (~pyon@user/pyon) (Quit: brb)
07:43:39 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
07:52:39 Skyfire joins (~pyon@user/pyon)
07:55:15 × Skyfire quits (~pyon@user/pyon) (Client Quit)
07:57:16 Skyfire joins (~pyon@user/pyon)
07:57:56 × phma quits (~phma@host-67-44-208-36.hnremote.net) (Read error: Connection reset by peer)
07:59:05 phma joins (phma@2001:5b0:2144:7d68:1cc9:af1c:e136:41c7)
08:00:02 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 268 seconds)
08:00:29 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
08:01:35 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
08:02:12 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
08:07:30 deadmarshal joins (~deadmarsh@95.38.116.117)
08:09:51 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
08:10:04 mimmy joins (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850)
08:15:29 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850) (Ping timeout: 250 seconds)
08:16:02 takuan joins (~takuan@178-116-218-225.access.telenet.be)
08:16:27 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
08:21:37 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 268 seconds)
08:30:34 chomwitt joins (~chomwitt@2a02:587:dc2d:ec00:12c3:7bff:fe6d:d374)
08:36:55 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 256 seconds)
08:46:41 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0) (Remote host closed the connection)
08:51:01 × gustik quits (~gustik@2a01:c844:240a:de20:3606:7339:bc88:b5f5) (Quit: Leaving)
08:54:12 <albet70> what's the relationship between json and yaml?
08:58:09 <sm> four letter names, plain text, popular, overused, hard to displace
08:58:19 <pavonia> JSON is a subset of YAML
09:01:00 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
09:01:27 <[exa]> also, parsing json is afaik decidable
09:01:37 <[exa]> albet70: you meant the packages right? :D
09:02:16 <albet70> "🟢 [exa] :albet70: you meant the packages right? :D", just the name
09:03:02 <albet70> "pavonia :JSON is a subset of YAML", aha
09:05:15 MoC joins (~moc@user/moc)
09:07:21 <albet70> is that simple to use parsec to parse yaml? I tried json at once
09:07:56 <albet70> or megaparsec?
09:10:45 jonathanx_ joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
09:14:36 deadmarshal joins (~deadmarsh@95.38.116.117)
09:17:33 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
09:17:33 allbery_b joins (~geekosaur@xmonad/geekosaur)
09:17:36 allbery_b is now known as geekosaur
09:18:06 Tuplanolla joins (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi)
09:21:48 <[exa]> albet70: there's the specialized parser in `yaml` package that can be recommended, but if you are okay with parsing a decent safe subset of yaml, megaparsec should just work
09:22:37 <[exa]> there's even some support for autoparsing the indentation blocks, which well, you know, helps a lot.
09:22:47 mimmy joins (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850)
09:25:58 × jbox quits (~jbox@user/jbox) (Read error: Connection reset by peer)
09:27:45 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850) (Ping timeout: 265 seconds)
09:30:57 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
09:43:30 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
09:44:47 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
09:47:03 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0)
09:51:39 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0) (Ping timeout: 268 seconds)
09:55:39 mc47 joins (~mc47@xmonad/TheMC47)
09:57:13 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 268 seconds)
09:57:40 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:00:05 × justache quits (~justache@user/justache) (Read error: Connection reset by peer)
10:01:01 justache joins (~justache@user/justache)
10:01:53 mimmy joins (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850)
10:06:32 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850) (Ping timeout: 240 seconds)
10:07:25 phma_ joins (~phma@2001:5b0:211f:e738:5c4d:dbc4:3f14:dae2)
10:08:41 × phma quits (phma@2001:5b0:2144:7d68:1cc9:af1c:e136:41c7) (Read error: Connection reset by peer)
10:12:16 phma_ is now known as phma
10:12:18 zer0bitz joins (~zer0bitz@2001:2003:f6bc:f00:5be:28c2:b3af:e641)
10:15:06 × bollu quits (~bollu@139.59.46.74) (Quit: The Lounge - https://thelounge.chat)
10:24:03 jgeerds joins (~jgeerds@55d45b75.access.ecotel.net)
10:25:14 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
10:25:32 lavaman joins (~lavaman@98.38.249.169)
10:25:39 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
10:25:53 lavaman joins (~lavaman@98.38.249.169)
10:26:01 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
10:26:16 lavaman joins (~lavaman@98.38.249.169)
10:26:23 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
10:26:39 lavaman joins (~lavaman@98.38.249.169)
10:26:44 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
10:27:02 lavaman joins (~lavaman@98.38.249.169)
10:27:09 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
10:28:58 Successus joins (~Successus@gateway/tor-sasl/successus)
10:31:45 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
10:31:57 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
10:37:28 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
10:41:35 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
10:42:32 pfurla joins (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a)
10:45:53 DNH joins (~DNH@2a02:8108:1100:16d8:7892:4ebf:89a7:d96)
10:46:00 × m4lvin_ quits (~m4lvin@w4eg.de) (Quit: m4lvin_)
10:46:12 m4lvin joins (~m4lvin@w4eg.de)
10:48:08 linkedlistist joins (uid528169@lymington.irccloud.com)
10:48:12 <smunix> modified
10:48:38 [exa] welcomes the change
10:48:50 chisui joins (~chisui@2001:16b8:666f:100:7a17:7081:22e6:bcd)
10:49:37 <linkedlistist> Hey, folks, does anyone have any experience of calling Haskell from Rust?
10:50:08 × yushyin quits (XNontZhIIh@karif.server-speed.net) (Quit: WeeChat 3.3)
10:50:18 yushyin joins (3RNeQpThcJ@karif.server-speed.net)
10:53:57 × jgeerds quits (~jgeerds@55d45b75.access.ecotel.net) (Ping timeout: 268 seconds)
10:57:51 kupi joins (uid212005@hampstead.irccloud.com)
10:58:23 lavaman joins (~lavaman@98.38.249.169)
11:00:51 alx741 joins (~alx741@186.178.108.219)
11:01:15 __monty__ joins (~toonn@user/toonn)
11:02:58 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 260 seconds)
11:06:04 × MoC quits (~moc@user/moc) (Quit: Konversation terminated!)
11:07:14 × drownbes quits (~drownbes@200-149-20-81.sta.estpak.ee) (Ping timeout: 260 seconds)
11:08:46 × pfurla quits (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a) (Quit: gone to sleep. ZZZzzz…)
11:13:28 <[exa]> linkedlistist: it should be possible using the "reverse FFI" as from C, given Rust can call C symbols with ccall.
11:14:01 mimmy joins (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850)
11:15:06 <[exa]> i.e., just simulate what's happening in here https://wiki.haskell.org/Calling_Haskell_from_C
11:15:29 <[exa]> you'll just need to take the `test.rs` and compile it yourself to `.o`
11:15:52 <albet70> haha, calling haskell from rust
11:16:18 <[exa]> like, honestly I'd expect the other way around.
11:16:19 <[exa]> :D
11:16:27 <albet70> nowadays, people always compare those two
11:16:46 <albet70> which one is better or harder to learn
11:17:40 <[exa]> yeah comparing the incomparable is a popular fun. :D
11:18:29 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
11:18:33 <[exa]> nyway rust is pretty good, at least for beginners who require the tooling, esp. compared to the other languages in that niche
11:18:39 <[exa]> seriously looking forward to how that develops
11:18:55 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850) (Ping timeout: 265 seconds)
11:19:01 <albet70> I saw there was a rust book in the library, and it's so big I mean there're too many pages, so I didn't learn rust from there
11:20:27 <albet70> and then I saw learn yourself a haskell for good, it doesn't have so many pages, so I buy it and learn haskell
11:21:31 <sshine> albet70, I started solving the Rustlings tutorial. it's a nice alternative to reading a book.
11:21:33 <albet70> it's a good book for beginners, but it lacks lots of concepts
11:21:55 <albet70> sshine, does it have so many pages?
11:22:04 <sshine> it's not a book.
11:22:32 lavaman joins (~lavaman@98.38.249.169)
11:23:07 <sshine> it's a git repository. you download it, set up a development environment, enable "file watch" (turn the compiler to recompile the tutorial project every time a file is changed), and start fixing intentional bugs left in each tutorial file. when you're done with one file, the next file complains.
11:23:11 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 264 seconds)
11:23:25 <albet70> also there's another language that comes to compare with haskell, scala
11:23:31 <sshine> eventually, when you get to the stuff about borrowed pointers, I do feel the need to read up. but I can still use just online resources.
11:23:52 × chisui quits (~chisui@2001:16b8:666f:100:7a17:7081:22e6:bcd) (Quit: Client closed)
11:24:25 <albet70> haskell, rust, scala those three are very argued
11:24:59 <sshine> they're argued?
11:25:03 <albet70> the pointers, is like C or C++?
11:25:15 <sshine> yes, but stronger typed pointers.
11:26:29 <albet70> C's pointers are not typed?
11:26:50 <sshine> they're loosely typed. you almost always have to cast things eventually.
11:26:54 <albet70> I totally forget how to write C
11:26:55 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
11:27:36 <yushyin> good old voidpointers ;)
11:27:38 <sshine> and function pointers in C are somewhat of a hack.
11:27:40 <albet70> I most use python or kotlin at work
11:27:42 <sshine> yeah :)
11:28:17 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
11:28:49 <sshine> rust differentiates between references, pointers, whether they're mutable/immutable, and several kinds of smart pointers: https://doc.rust-lang.org/book/ch15-00-smart-pointers.html -- depending on the use-case.
11:29:11 × chomwitt quits (~chomwitt@2a02:587:dc2d:ec00:12c3:7bff:fe6d:d374) (Ping timeout: 250 seconds)
11:35:53 mimmy joins (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850)
11:39:32 <albet70> could >> implement in other languages?
11:39:40 <albet70> be implemented
11:40:49 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:e15c:d2bc:9fea:d850) (Ping timeout: 268 seconds)
11:45:45 × ubert quits (~Thunderbi@p548c9fcb.dip0.t-ipconnect.de) (Quit: ubert)
11:46:06 ubert joins (~Thunderbi@p200300ecdf0ba2db387348ed975200f7.dip0.t-ipconnect.de)
11:49:00 Midjak joins (~Midjak@82-65-111-221.subs.proxad.net)
11:53:36 acidjnk joins (~acidjnk@2001:16b8:6774:9a00:78e5:1df2:55f8:981b)
11:58:30 × acidjnk quits (~acidjnk@2001:16b8:6774:9a00:78e5:1df2:55f8:981b) (Ping timeout: 260 seconds)
12:00:00 × wei2912 quits (~wei2912@138.75.71.147) (Quit: Lost terminal)
12:00:08 <geekosaur> it has been implemented, although it has shortcomings because very few languages are polymorphic in the way Haskell is
12:00:19 <geekosaur> usually it's called "andthen"
12:00:58 × zer0bitz quits (~zer0bitz@2001:2003:f6bc:f00:5be:28c2:b3af:e641) (Ping timeout: 265 seconds)
12:01:22 zer0bitz joins (~zer0bitz@dsl-hkibng31-54fabc-15.dhcp.inet.fi)
12:06:17 lavaman joins (~lavaman@98.38.249.169)
12:07:14 × nf quits (~n@monade.li) (Quit: Fairfarren.)
12:07:19 <albet70> geekosaur, has it been implemented in python?
12:07:29 AlexNoo_ is now known as AlexNoo
12:07:35 <albet70> and what it looks like?
12:07:48 <geekosaur> I don't do python so I don't know
12:07:55 <geekosaur> probably someone has
12:09:01 nf joins (~n@monade.li)
12:09:05 Pickchea joins (~private@user/pickchea)
12:09:42 <albet70> ok
12:10:14 notzmv joins (~zmv@user/notzmv)
12:11:26 Feuermagier_ joins (~Feuermagi@154.28.188.151)
12:11:34 × vgtw quits (~vgtw@c-6a60205c.07-348-756d651.bbcust.telenor.se) (Quit: ZNC - https://znc.in)
12:11:59 vgtw joins (~vgtw@c-6a60205c.07-348-756d651.bbcust.telenor.se)
12:12:02 <albet70> geekosaur, I googled python andThen, and it gives me "compose"...
12:12:07 × Feuermagier_ quits (~Feuermagi@154.28.188.151) (Client Quit)
12:12:13 <albet70> composing functions
12:12:53 <geekosaur> mm, that may mean it's as close as it gets then
12:12:53 Feuermagier_ joins (~Feuermagi@154.28.188.151)
12:13:18 <geekosaur> like I said, most languages aren't as polymorphic as Haskell is, the whole concept of "monad" is difficult for them
12:13:19 <albet70> I saw some python code using >>, I was very curious it, because I know what it's doing in haskell, then I wonder why someone in python would use it
12:13:39 × Feuermagier_ quits (~Feuermagi@154.28.188.151) (Remote host closed the connection)
12:13:40 × Feuermagier quits (~Feuermagi@user/feuermagier) (Remote host closed the connection)
12:13:52 Feuermagier joins (~Feuermagi@user/feuermagier)
12:14:22 <albet70> and then I read the code in python, it makes no sense
12:14:54 <yushyin> maybe something similar in the future/promises api of python
12:15:22 <albet70> so I wonder the author write that, it seems he/she knowing >> like haskell, but they implement it wrong
12:15:42 <yushyin> https://docs.python.org/3/library/asyncio-future.html?#asyncio.Future.add_done_callback
12:21:47 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
12:22:12 alzgh joins (~alzgh@user/alzgh)
12:25:08 fef joins (~thedawn@user/thedawn)
12:28:25 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
12:30:43 × Midjak quits (~Midjak@82-65-111-221.subs.proxad.net) (Read error: Connection reset by peer)
12:31:31 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 256 seconds)
12:31:37 Midjak joins (~Midjak@82-65-111-221.subs.proxad.net)
12:32:47 × ProfSimm quits (~ProfSimm@87.227.196.109) (Ping timeout: 264 seconds)
12:38:09 × rtsn quits (~nstr@c-c7fe225c.07-59-7570703.bbcust.telenor.se) (Ping timeout: 268 seconds)
12:38:51 rtsn joins (~nstr@c-c7fe225c.07-59-7570703.bbcust.telenor.se)
12:42:26 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Ping timeout: 260 seconds)
12:42:37 _ht joins (~quassel@37.120.218.140)
12:47:25 mimmy joins (~mimmy@2607:fea8:6e0:7f90:8ce9:9a4:40aa:9fe2)
12:48:38 × benin quits (~benin@183.82.178.244) (Ping timeout: 268 seconds)
12:49:11 ThatLinuxGuy joins (~sand49@2001:8003:8431:d200:220b:84b2:a334:cbad)
12:52:41 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:8ce9:9a4:40aa:9fe2) (Ping timeout: 265 seconds)
12:54:08 × MidAutumnMoon quits (~MidAutumn@user/midautumnmoon) (Quit: Leaving for a break - theLounge)
12:54:40 MidAutumnMoon6 joins (~MidAutumn@user/midautumnmoon)
12:54:45 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
12:54:53 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Client Quit)
12:55:09 acidjnk joins (~acidjnk@2001:16b8:6774:9a00:78e5:1df2:55f8:981b)
12:55:12 benin joins (~benin@183.82.178.244)
12:55:35 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
12:58:44 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
13:00:58 × Feuermagier quits (~Feuermagi@user/feuermagier) (Quit: Leaving)
13:01:32 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Ping timeout: 240 seconds)
13:02:32 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
13:03:44 slowButPresent joins (~slowButPr@user/slowbutpresent)
13:04:12 <albet70> is >> related to . ?
13:04:23 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Ping timeout: 256 seconds)
13:05:09 <albet70> when m~ r->, <$> equal to .
13:05:34 <albet70> what about >> ?
13:05:35 <geekosaur> you could say >>= is . on a higher level. Arrowes were intended to capture that abstraction but it never quite worked in practice
13:05:54 <geekosaur> >> is just >>= discarding the input but keeping any effects
13:06:02 <geekosaur> *Arrows
13:06:31 × mikoto-chan quits (~mikoto-ch@esm-84-240-99-143.netplaza.fi) (Ping timeout: 268 seconds)
13:07:27 <albet70> :t (>>)
13:07:28 <lambdabot> Monad m => m a -> m b -> m b
13:07:40 <albet70> :t (>>=)
13:07:41 <lambdabot> Monad m => m a -> (a -> m b) -> m b
13:08:13 <albet70> :t (.)
13:08:14 <lambdabot> (b -> c) -> (a -> b) -> a -> c
13:09:41 <geekosaur> % :t (>>) @((->) _) -- let's see if this works
13:09:41 <yahb> geekosaur: (w -> a) -> (w -> b) -> w -> b
13:10:13 <geekosaur> not quite the same, but you can see the similarity
13:10:35 × xff0x quits (~xff0x@2001:1a81:526f:1d00:936b:4a50:cc7a:54ee) (Ping timeout: 264 seconds)
13:10:43 <albet70> "geekosaur :% :t (>>) @((->) _) -- let's see if this works", what this mean?
13:10:55 <albet70> that @
13:11:05 xff0x joins (~xff0x@2001:1a81:526f:1d00:2bb4:8855:a1a6:d69e)
13:11:17 <geekosaur> it's a type application. I had to direct it to yahb because lambdabot doesn't understand type applications
13:11:48 <geekosaur> so I in effect told it to expand the type of (>>) using ((->) r) (function application) as the monad
13:12:32 <albet70> alright, when m~ (w->)
13:13:25 <albet70> but >> is similarity to >>=, not (.)
13:13:48 <albet70> (.) would be like (b -> c) -> m b -> m c
13:14:08 <albet70> >> like m a -> m b -> m b
13:14:44 <geekosaur> % :t (>>=) @((->) _)
13:14:44 <yahb> geekosaur: (w -> a) -> (a -> w -> b) -> w -> b
13:15:10 <geekosaur> this is closer to (.) but has that extra parameter in the middle
13:15:25 mimmy joins (~mimmy@2607:fea8:6e0:7f90:8ce9:9a4:40aa:9fe2)
13:15:46 <geekosaur> this is part of why Arrows never quite worked; there is a strong abstract similarity to (.) but not even Haskell can quite capture it
13:16:35 <geekosaur> actually we have a sort-of way now via Control.Category, but I think that requires you understand some category theory to work with it
13:16:52 <geekosaur> since it's modeling categories to capture the abstraction
13:17:46 <albet70> "yahb :geekosaur: (w -> a) -> (a -> w -> b) -> w -> b", (b -> c) -> (a -> b) -> a -> c I don't see how this similarity
13:18:13 <albet70> not just the extra parameter in the middle
13:19:45 <albet70> when b~w, c~a, it would like (w->a) -> (x ->w) -> (x -> a)
13:20:42 <geekosaur> right, it's thrown off because the ((->) r) monad always injects that extra "r" (we call it "r" by convention but yahb called it "w")
13:21:12 <geekosaur> I used it because it comes closest to looking like (.) but the extra "w" complicates things
13:23:40 <geekosaur> Arrows make things fit together more directly by wrapping Monad in Kleisli, but at the cost that you have to use `arr` which strongly limits its usefulness
13:24:12 Guest17 joins (~Guest17@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
13:26:28 ProfSimm joins (~ProfSimm@87.227.196.109)
13:26:46 <geekosaur> and the problem with showing this is (.) has only one type fitting its "type schema" which is not *quite* the same as ((->) r), but Monad has many that fit; and it's not easy to see how the two relate without using some category theory
13:26:52 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:8ce9:9a4:40aa:9fe2) (Ping timeout: 268 seconds)
13:26:58 deadmarshal joins (~deadmarsh@95.38.116.117)
13:27:15 <geekosaur> Control.Category defines its own version of (.) which makes it a bit clearer
13:27:18 <geekosaur> hm
13:27:31 mimmy joins (~mimmy@2607:fea8:6e0:7f90:45d3:5172:e85f:c128)
13:27:45 <geekosaur> % :t (Control.Category..)
13:27:45 <yahb> geekosaur: forall {k} {cat :: k -> k -> *} {b :: k} {c :: k} {a :: k}. Category cat => cat b c -> cat a b -> cat a c
13:28:04 <geekosaur> clear as mud :(
13:28:14 <hpc> just ignore everything before "."
13:32:07 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
13:35:34 × acidjnk quits (~acidjnk@2001:16b8:6774:9a00:78e5:1df2:55f8:981b) (Ping timeout: 260 seconds)
13:40:52 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
13:43:50 machinedgod joins (~machinedg@24.105.81.50)
13:45:20 acidjnk joins (~acidjnk@2001:16b8:6774:9a00:78e5:1df2:55f8:981b)
13:46:43 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
13:47:25 × xff0x quits (~xff0x@2001:1a81:526f:1d00:2bb4:8855:a1a6:d69e) (Ping timeout: 250 seconds)
13:48:16 xff0x joins (~xff0x@2001:1a81:526f:1d00:d375:c485:c62f:a6f6)
13:52:14 × DNH quits (~DNH@2a02:8108:1100:16d8:7892:4ebf:89a7:d96) (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:58:25 mikoto-chan joins (~mikoto-ch@esm-84-240-99-143.netplaza.fi)
14:00:27 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
14:06:59 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 264 seconds)
14:08:19 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:2c71:f3a7:2628:f681)
14:08:39 waleee joins (~waleee@h-82-196-111-63.NA.cust.bahnhof.se)
14:11:17 × mimmy quits (~mimmy@2607:fea8:6e0:7f90:45d3:5172:e85f:c128) (Ping timeout: 268 seconds)
14:16:47 dawdler joins (~dawdler@user/dawdler)
14:18:59 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:2c71:f3a7:2628:f681) (Ping timeout: 264 seconds)
14:21:27 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
14:23:25 <hololeap> what would be an example of a profunctor in haskell that is not strong?
14:24:15 mmhat joins (~mmh@55d438c0.access.ecotel.net)
14:26:33 × jassob1 quits (~jassob@h-98-128-167-112.NA.cust.bahnhof.se) (Ping timeout: 256 seconds)
14:30:25 <xdej> /9
14:30:29 <xdej> sorry
14:30:37 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
14:30:58 alzgh joins (~alzgh@user/alzgh)
14:31:20 × NinjaTrappeur quits (~ninja@user/ninjatrappeur) (Quit: WeeChat 3.3)
14:32:00 <hololeap> from the looks of it, Op is a Category, but not an Arrow, so it would be a profunctor that is not strong, right?
14:32:09 NinjaTrappeur joins (~ninja@user/ninjatrappeur)
14:33:00 <hololeap> although it's probably costrong
14:36:20 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:2c71:f3a7:2628:f681)
14:36:48 pfurla joins (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a)
14:38:10 <hololeap> % unfirst (Op (f :: forall d. (b,d) -> (a,d))) = Op $ \b -> fst $ f (b,undefined)
14:38:10 <yahb> hololeap: ; <interactive>:12:14: error:; * Couldn't match expected type: b -> a; with actual type: forall d. (b1, d) -> (a1, d); * When checking that the pattern signature: forall d. (b1, d) -> (a1, d); fits the type of its context: b -> a; In the pattern: f :: forall d. (b, d) -> (a, d); In the pattern: Op (f :: forall d. (b, d) -> (a, d)); * Relevant bindings incl
14:39:20 jassob1 joins (~jassob@h-98-128-166-172.NA.cust.bahnhof.se)
14:41:09 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:2c71:f3a7:2628:f681) (Ping timeout: 250 seconds)
14:42:45 × son0p quits (~ff@181.136.122.143) (Remote host closed the connection)
14:43:57 <hololeap> % unfirst (Op (f :: (b,d) -> (a,d))) = Op $ \b -> fst $ f (b, undefined)
14:43:57 <yahb> hololeap:
14:44:02 <hololeap> % :t unfirst
14:44:02 <yahb> hololeap: Op (a, d) (b, d) -> Op a b
14:44:07 <hololeap> so yeah, it's costrong
14:47:10 <ProfSimm> Hey anyone here know physics theoreticians who wanna brainstorm about things with me?
14:50:28 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
14:51:22 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 268 seconds)
14:51:41 × ProfSimm quits (~ProfSimm@87.227.196.109) (Remote host closed the connection)
14:51:44 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0)
14:56:02 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0) (Ping timeout: 240 seconds)
14:56:02 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 240 seconds)
14:56:34 × ThatLinuxGuy quits (~sand49@2001:8003:8431:d200:220b:84b2:a334:cbad) (Quit: Konversation terminated!)
14:57:47 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.3)
14:58:01 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
15:04:18 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
15:05:49 unit73e joins (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291)
15:07:53 _ht_ joins (~quassel@82-169-194-8.biz.kpn.net)
15:08:00 × _ht quits (~quassel@37.120.218.140) (Ping timeout: 268 seconds)
15:12:39 max22- joins (~maxime@2a01cb0883359800ebf1dbb598d360cc.ipv6.abo.wanadoo.fr)
15:16:33 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
15:25:16 <Hecate> :27
15:25:18 <Hecate> eh
15:27:30 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
15:27:56 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
15:28:57 renzhi joins (~xp@2607:fa49:6500:b100::6e7f)
15:29:02 × acidjnk quits (~acidjnk@2001:16b8:6774:9a00:78e5:1df2:55f8:981b) (Ping timeout: 240 seconds)
15:29:48 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
15:32:17 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Ping timeout: 256 seconds)
15:33:36 <jiribenes> hololeap: Tagged :: Type -> Type -> Type from `tagged` has a Profunctor instance but not a Strong instance in `profunctors`
15:34:00 <jiribenes> (as far as I can tell)
15:36:48 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
15:37:12 Vajb joins (~Vajb@nalkaylds2h97nzof-2.v6.elisa-mobile.fi)
15:38:23 hololeap joins (~hololeap@user/hololeap)
15:46:13 ees joins (~user@pool-108-18-30-46.washdc.fios.verizon.net)
15:47:04 lavaman joins (~lavaman@98.38.249.169)
15:47:48 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:2c71:f3a7:2628:f681)
15:48:43 × Raito_Bezarius quits (~Raito@wireguard/tunneler/raito-bezarius) (Ping timeout: 268 seconds)
15:49:25 whatsupdoc joins (uid509081@hampstead.irccloud.com)
15:51:32 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 240 seconds)
15:53:32 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:2c71:f3a7:2628:f681) (Ping timeout: 240 seconds)
15:54:42 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9)
15:56:31 × pfurla quits (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a) (Quit: gone to sleep. ZZZzzz…)
15:57:24 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
15:57:38 × kupi quits (uid212005@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
15:58:43 Codaraxis_ joins (~Codaraxis@user/codaraxis)
16:00:07 × dexmad[m] quits (~dexmadmat@2001:470:69fc:105::e056) (Quit: You have been kicked for being idle)
16:00:19 Raito_Bezarius joins (~Raito@wireguard/tunneler/raito-bezarius)
16:00:45 jgeerds joins (~jgeerds@55d45b75.access.ecotel.net)
16:00:59 × Codaraxis quits (~Codaraxis@user/codaraxis) (Ping timeout: 264 seconds)
16:01:37 × jgeerds quits (~jgeerds@55d45b75.access.ecotel.net) (Remote host closed the connection)
16:03:31 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
16:04:19 Lycurgus joins (~juan@98.4.112.204)
16:06:37 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
16:07:53 hololeap joins (~hololeap@user/hololeap)
16:08:23 Cajun joins (~Cajun@user/cajun)
16:13:45 × xff0x quits (~xff0x@2001:1a81:526f:1d00:d375:c485:c62f:a6f6) (Ping timeout: 265 seconds)
16:16:46 × ees quits (~user@pool-108-18-30-46.washdc.fios.verizon.net) (Read error: Connection reset by peer)
16:22:25 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
16:24:23 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9) (Ping timeout: 265 seconds)
16:27:48 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9)
16:28:11 × zer0bitz quits (~zer0bitz@dsl-hkibng31-54fabc-15.dhcp.inet.fi) (Ping timeout: 250 seconds)
16:28:32 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
16:31:28 <EvanR> would you say that in foldr the f happens first, and in foldl the recursion happens first
16:31:42 <EvanR> and is this typical of right fold and left fold in general
16:33:23 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9) (Ping timeout: 264 seconds)
16:35:52 xff0x joins (~xff0x@2001:1a81:526f:1d00:d375:c485:c62f:a6f6)
16:40:22 × ubert quits (~Thunderbi@p200300ecdf0ba2db387348ed975200f7.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
16:40:40 ubert joins (~Thunderbi@p548c9fcb.dip0.t-ipconnect.de)
16:40:44 <Lycurgus> how is "recursion" different from "f"?
16:42:46 × mbuf quits (~Shakthi@223.178.74.138) (Quit: Leaving)
16:45:27 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0)
16:49:16 pfurla joins (~pfurla@2804:14d:5c81:4104:d09a:3c35:dab9:95ad)
16:50:11 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
16:53:17 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
16:58:10 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
17:00:09 × kristjansson_ quits (sid126207@tinside.irccloud.com) (Remote host closed the connection)
17:00:09 × hongminhee quits (sid295@tinside.irccloud.com) (Remote host closed the connection)
17:00:09 × taktoa[c] quits (sid282096@tinside.irccloud.com) (Remote host closed the connection)
17:00:09 × glowcoil quits (sid3405@tinside.irccloud.com) (Remote host closed the connection)
17:00:10 × sa quits (sid1055@tinside.irccloud.com) (Remote host closed the connection)
17:00:10 × agander_m quits (sid407952@tinside.irccloud.com) (Remote host closed the connection)
17:00:10 × jackdk quits (sid373013@cssa/jackdk) (Remote host closed the connection)
17:00:10 × bbhoss quits (sid18216@tinside.irccloud.com) (Remote host closed the connection)
17:00:10 × typetetris quits (sid275937@tinside.irccloud.com) (Remote host closed the connection)
17:00:10 × jmct_ quits (sid160793@tinside.irccloud.com) (Remote host closed the connection)
17:00:10 × hubvu quits (sid495858@user/hubvu) (Remote host closed the connection)
17:00:10 × _0x47 quits (sid508683@tinside.irccloud.com) (Remote host closed the connection)
17:00:38 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
17:00:45 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9)
17:04:17 × Lycurgus quits (~juan@98.4.112.204) (Quit: Exeunt)
17:06:02 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9) (Ping timeout: 260 seconds)
17:07:24 × S11001001 quits (sid42510@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × ysh quits (sid6017@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × mrianbloom quits (sid350277@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × tapas quits (sid467876@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × edwardk quits (sid47016@haskell/developer/edwardk) (Remote host closed the connection)
17:07:25 × ProofTechnique quits (sid79547@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × bw quits (sid2730@user/betawaffle) (Remote host closed the connection)
17:07:25 × gmc quits (sid58314@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × jonrh quits (sid5185@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × cln quits (sid336875@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × supersven quits (sid501114@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × pepeiborra quits (sid443799@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × hook54321 quits (sid149355@user/hook54321) (Remote host closed the connection)
17:07:25 × SethTisue__ quits (sid14912@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × angerman quits (sid209936@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × rune quits (sid21167@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × caasih quits (sid13241@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × rtpg quits (sid443069@ilkley.irccloud.com) (Remote host closed the connection)
17:07:25 × sa1_ quits (sid7690@ilkley.irccloud.com) (Remote host closed the connection)
17:08:09 cosimone joins (~user@2001:b07:ae5:db26:a7aa:8027:6b4e:2fb3)
17:11:51 × SrPx quits (sid108780@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × AndreasK__ quits (sid320732@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × alanz quits (sid110616@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × aristid quits (sid1599@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × systemfault quits (sid267009@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × vito quits (sid1962@user/vito) (Remote host closed the connection)
17:11:51 × aarchi quits (sid486183@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × davetapley quits (sid666@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × obviyus quits (sid415299@user/obviyus) (Remote host closed the connection)
17:11:51 × b20n quits (sid115913@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × bradparker quits (sid262931@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × T_S_ quits (sid501726@uxbridge.irccloud.com) (Remote host closed the connection)
17:11:51 × eruditass quits (uid248673@uxbridge.irccloud.com) (Remote host closed the connection)
17:12:04 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
17:12:45 <dsal> dante stopped working for me a while ago and I just finally got around to looking into the issue. It's trying to run some kind of pure nix shell to run a cabal repl or something that was just not going to happen. I told it to run `nix-shell -p stack --run 'stack ghci'` and suddenly everything works again.
17:13:11 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
17:13:24 Lord_of_Life_ is now known as Lord_of_Life
17:15:59 dyeplexer joins (~dyeplexer@user/dyeplexer)
17:18:23 × gregberns__ quits (sid315709@helmsley.irccloud.com) (Ping timeout: 246 seconds)
17:18:23 × kaizen quits (sid501599@helmsley.irccloud.com) (Ping timeout: 246 seconds)
17:18:39 × elvishjerricco quits (sid237756@helmsley.irccloud.com) (Ping timeout: 250 seconds)
17:18:40 × truckasaurus quits (sid457088@helmsley.irccloud.com) (Ping timeout: 250 seconds)
17:18:40 × NiKaN quits (sid385034@helmsley.irccloud.com) (Ping timeout: 250 seconds)
17:18:44 × carter quits (sid14827@helmsley.irccloud.com) (Ping timeout: 246 seconds)
17:18:52 × edmundnoble quits (sid229620@helmsley.irccloud.com) (Ping timeout: 260 seconds)
17:18:52 × bjs quits (sid190364@user/bjs) (Ping timeout: 260 seconds)
17:18:52 × grfn quits (sid449115@helmsley.irccloud.com) (Ping timeout: 260 seconds)
17:19:02 × lightandlight quits (sid135476@helmsley.irccloud.com) (Ping timeout: 240 seconds)
17:19:02 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0) (Remote host closed the connection)
17:19:14 DNH joins (~DNH@2a02:8108:1100:16d8:14a5:84da:2caa:2854)
17:19:19 × gaze___ quits (sid387101@helmsley.irccloud.com) (Ping timeout: 260 seconds)
17:19:20 × dpratt__ quits (sid193493@helmsley.irccloud.com) (Ping timeout: 260 seconds)
17:19:26 × cbarrett quits (sid192934@helmsley.irccloud.com) (Ping timeout: 246 seconds)
17:19:26 × scav quits (sid309693@helmsley.irccloud.com) (Ping timeout: 246 seconds)
17:19:26 × parseval quits (sid239098@helmsley.irccloud.com) (Ping timeout: 246 seconds)
17:19:26 × mcfilib quits (sid302703@user/mcfilib) (Ping timeout: 246 seconds)
17:19:32 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
17:19:57 × conjunctive quits (sid433686@helmsley.irccloud.com) (Ping timeout: 250 seconds)
17:19:57 × alinab quits (sid468903@helmsley.irccloud.com) (Ping timeout: 250 seconds)
17:20:08 × tnks quits (sid412124@helmsley.irccloud.com) (Ping timeout: 246 seconds)
17:21:32 × Firedancer quits (sid336191@hampstead.irccloud.com) (Ping timeout: 246 seconds)
17:21:32 × acertain quits (sid470584@hampstead.irccloud.com) (Ping timeout: 246 seconds)
17:21:32 × joel135 quits (sid136450@hampstead.irccloud.com) (Ping timeout: 246 seconds)
17:21:41 × dmj` quits (sid72307@hampstead.irccloud.com) (Ping timeout: 250 seconds)
17:21:53 × SanchayanMaity quits (sid478177@hampstead.irccloud.com) (Ping timeout: 246 seconds)
17:21:53 × rubin55 quits (sid175221@hampstead.irccloud.com) (Ping timeout: 246 seconds)
17:21:58 × jakesyl_ quits (sid56879@hampstead.irccloud.com) (Ping timeout: 260 seconds)
17:22:04 edrx parts (~Eduardo@2804:56c:d2d0:b400:6e3c:c666:9c9c:53ff) (Killed buffer)
17:22:07 × ehamberg quits (sid18208@hampstead.irccloud.com) (Ping timeout: 250 seconds)
17:22:07 × tritlo quits (sid58727@user/tritlo) (Ping timeout: 250 seconds)
17:22:07 × amir quits (sid22336@user/amir) (Ping timeout: 250 seconds)
17:22:33 × iphy quits (sid67735@lymington.irccloud.com) (Ping timeout: 250 seconds)
17:22:33 × Boarders_ quits (sid425905@lymington.irccloud.com) (Ping timeout: 250 seconds)
17:22:33 × mustafa quits (sid502723@rockylinux/releng/mustafa) (Ping timeout: 250 seconds)
17:22:47 × whatsupdoc quits (uid509081@hampstead.irccloud.com) (Ping timeout: 256 seconds)
17:22:59 × integral quits (sid296274@user/integral) (Ping timeout: 250 seconds)
17:22:59 × pjlsergeant quits (sid143467@hampstead.irccloud.com) (Ping timeout: 250 seconds)
17:23:04 × aria quits (sid380617@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:23:04 × teehemkay quits (sid14792@lymington.irccloud.com) (Ping timeout: 268 seconds)
17:23:11 × linkedlistist quits (uid528169@lymington.irccloud.com) (Ping timeout: 264 seconds)
17:23:17 × philpax_ quits (sid516926@lymington.irccloud.com) (Ping timeout: 246 seconds)
17:23:22 × saolsen quits (sid26430@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:23:25 × JSharp quits (sid4580@lymington.irccloud.com) (Ping timeout: 250 seconds)
17:23:31 × awpr quits (uid446117@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:23:32 × enemeth79 quits (sid309041@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:23:32 × sclv quits (sid39734@haskell/developer/sclv) (Ping timeout: 260 seconds)
17:23:32 × teehemkay_ quits (sid14792@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:23:38 × nrr__ quits (sid20938@lymington.irccloud.com) (Ping timeout: 246 seconds)
17:23:38 × NemesisD quits (sid24071@lymington.irccloud.com) (Ping timeout: 246 seconds)
17:23:38 × Adeon quits (sid418992@lymington.irccloud.com) (Ping timeout: 246 seconds)
17:23:38 × christiaanb quits (sid84827@lymington.irccloud.com) (Ping timeout: 246 seconds)
17:23:38 × dsal quits (sid13060@lymington.irccloud.com) (Ping timeout: 246 seconds)
17:23:50 × astra` quits (sid289983@user/amish) (Ping timeout: 260 seconds)
17:23:50 × degraafk quits (sid71464@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:23:50 × hamishmack quits (sid389057@hampstead.irccloud.com) (Ping timeout: 260 seconds)
17:23:59 × ephemient quits (uid407513@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:24:17 × PotatoGim quits (sid99505@lymington.irccloud.com) (Ping timeout: 250 seconds)
17:24:20 × whez quits (sid470288@lymington.irccloud.com) (Ping timeout: 246 seconds)
17:24:20 × Pent quits (sid313808@lymington.irccloud.com) (Ping timeout: 246 seconds)
17:24:27 × gonz____ quits (sid304396@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:24:46 × idnar quits (sid12240@debian/mithrandi) (Ping timeout: 260 seconds)
17:24:46 × hendi quits (sid489601@lymington.irccloud.com) (Ping timeout: 260 seconds)
17:25:53 × TimWolla quits (~timwolla@2a01:4f8:150:6153:beef::6667) (Quit: Bye)
17:29:27 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9)
17:30:46 TimWolla joins (~timwolla@2a01:4f8:150:6153:beef::6667)
17:32:01 <Sqaure> I wonder if theres commonly used i18n library for haskell. Id be fine with a key-value with some sort of replacement mechanism for parameterized strings (that allows a replacement mechanism)?
17:33:34 × hiruji quits (~hiruji@user/hiruji) (Ping timeout: 260 seconds)
17:34:15 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9) (Ping timeout: 250 seconds)
17:34:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
17:35:09 shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net)
17:36:15 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
17:37:01 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
17:41:49 × pfurla quits (~pfurla@2804:14d:5c81:4104:d09a:3c35:dab9:95ad) (Quit: gone to sleep. ZZZzzz…)
17:41:54 × fjmorazan quits (~quassel@user/fjmorazan) (Quit: fjmorazan)
17:42:31 fjmorazan joins (~quassel@user/fjmorazan)
17:44:03 <sm> there's something in the shakespeare family of packages
17:44:11 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 264 seconds)
17:44:12 <sm> and an i18n section on hackage I believe
17:44:37 myShoggoth joins (~myShoggot@97-120-85-195.ptld.qwest.net)
17:45:04 <sshine> The i18n packages was unfortunately last released in 2016.
17:47:43 <sshine> Sqaure, there's a section on i18n in the Yesod book. https://www.yesodweb.com/book/internationalization -- but it seems like they didn't pick language-agnostic standards like gettext.
17:48:23 <sm> oh wow, people are really not using the https://hackage.haskell.org/packages/#cat:I18n category
17:48:49 jakalx joins (~jakalx@base.jakalx.net)
17:48:50 <Sqaure> I checked out shakespear and i18. I felt the former had too many dependencies. The latter seemed a bit too specialized
17:49:21 <Sqaure> ...and had no built in replacement.
17:49:33 malc joins (~malc@2a00:1370:8117:7bb5:31d2:4ba8:5ed4:b0d0)
17:49:51 malc parts (~malc@2a00:1370:8117:7bb5:31d2:4ba8:5ed4:b0d0) (ERC (IRC client for Emacs 28.0.50))
17:49:52 <sm> hgettext ?
17:49:53 <sshine> I guess the i18n package is a standard wrapper around gettext .po files. that's pretty neat, no?
17:50:26 deadmarshal joins (~deadmarsh@95.38.116.117)
17:50:41 <Sqaure> i guess i can work around it
17:51:58 <hololeap> it looks like pandoc rolled their own as well: https://github.com/jgm/pandoc/blob/master/src/Text/Pandoc/Translations.hs
17:53:26 <maerwald> pretty basic
17:53:48 hiruji joins (~hiruji@user/hiruji)
17:56:19 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9)
18:01:20 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9) (Ping timeout: 260 seconds)
18:08:34 × xsperry quits (~xs@cpe-188-129-101-182.dynamic.amis.hr) (Ping timeout: 260 seconds)
18:19:31 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0)
18:19:35 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 264 seconds)
18:21:38 × renzhi quits (~xp@2607:fa49:6500:b100::6e7f) (Ping timeout: 268 seconds)
18:23:50 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0) (Ping timeout: 246 seconds)
18:26:26 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9)
18:29:38 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
18:30:30 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 260 seconds)
18:31:01 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9) (Ping timeout: 250 seconds)
18:31:17 × unit73e quits (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291) (Quit: Leaving)
18:32:34 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
18:33:57 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
18:34:09 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Remote host closed the connection)
18:34:18 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
18:40:03 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
18:41:03 <EvanR> is there a name for this pattern: your monad code is polymorphic in the monad but includes a subclass monad constraint to provide "API calls"
18:42:01 <EvanR> or this one: your code is in some custom monad, but is parameterized by an known monad m and there is a record of m actions in the context
18:42:12 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
18:42:37 <EvanR> (I see these accomplish very similar things)
18:42:41 × Successus quits (~Successus@gateway/tor-sasl/successus) ()
18:43:10 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 260 seconds)
18:43:31 <EvanR> I've only ever seen it referred to by these long winded explanations xD
18:44:05 jonrh joins (sid5185@id-5185.ilkley.irccloud.com)
18:44:07 bw joins (sid2730@user/betawaffle)
18:44:13 ysh joins (sid6017@id-6017.ilkley.irccloud.com)
18:44:29 sa1_ joins (sid7690@id-7690.ilkley.irccloud.com)
18:44:42 caasih joins (sid13241@id-13241.ilkley.irccloud.com)
18:44:44 y04nn joins (~y04nn@92.223.89.196)
18:44:46 SethTisue__ joins (sid14912@id-14912.ilkley.irccloud.com)
18:44:54 rune joins (sid21167@id-21167.ilkley.irccloud.com)
18:45:00 Lord_of_Life_ is now known as Lord_of_Life
18:45:30 × Guest17 quits (~Guest17@eth-west-pareq2-46-193-4-100.wb.wifirst.net) (Quit: Client closed)
18:48:40 bw__ joins (sid2730@user/betawaffle)
18:48:40 jonrh_ joins (sid5185@id-5185.ilkley.irccloud.com)
18:48:47 × jonrh quits (sid5185@id-5185.ilkley.irccloud.com) (Ping timeout: 250 seconds)
18:49:02 × caasih quits (sid13241@id-13241.ilkley.irccloud.com) (Ping timeout: 246 seconds)
18:49:02 × sa1_ quits (sid7690@id-7690.ilkley.irccloud.com) (Ping timeout: 246 seconds)
18:49:02 × bw quits (sid2730@user/betawaffle) (Ping timeout: 246 seconds)
18:49:13 × SethTisue__ quits (sid14912@id-14912.ilkley.irccloud.com) (Ping timeout: 250 seconds)
18:49:23 × rune quits (sid21167@id-21167.ilkley.irccloud.com) (Ping timeout: 260 seconds)
18:49:24 × ysh quits (sid6017@id-6017.ilkley.irccloud.com) (Ping timeout: 260 seconds)
18:50:13 davetapley joins (sid666@id-666.uxbridge.irccloud.com)
18:50:31 aristid joins (sid1599@id-1599.uxbridge.irccloud.com)
18:50:34 vito joins (sid1962@user/vito)
18:51:05 alanz joins (sid110616@id-110616.uxbridge.irccloud.com)
18:51:12 SrPx joins (sid108780@id-108780.uxbridge.irccloud.com)
18:51:15 b20n joins (sid115913@id-115913.uxbridge.irccloud.com)
18:52:53 × jonrh_ quits (sid5185@id-5185.ilkley.irccloud.com) (Ping timeout: 246 seconds)
18:53:03 bradparker joins (sid262931@id-262931.uxbridge.irccloud.com)
18:53:06 systemfault joins (sid267009@id-267009.uxbridge.irccloud.com)
18:53:07 × bw__ quits (sid2730@user/betawaffle) (Ping timeout: 250 seconds)
18:53:08 × myShoggoth quits (~myShoggot@97-120-85-195.ptld.qwest.net) (Ping timeout: 260 seconds)
18:53:37 jonrh_ joins (sid5185@id-5185.ilkley.irccloud.com)
18:53:47 bw__ joins (sid2730@id-2730.ilkley.irccloud.com)
18:53:47 ysh joins (sid6017@id-6017.ilkley.irccloud.com)
18:54:01 sa1_ joins (sid7690@id-7690.ilkley.irccloud.com)
18:54:14 caasih joins (sid13241@id-13241.ilkley.irccloud.com)
18:54:18 SethTisue__ joins (sid14912@id-14912.ilkley.irccloud.com)
18:54:20 obviyus joins (sid415299@user/obviyus)
18:54:22 × alx741 quits (~alx741@186.178.108.219) (Ping timeout: 260 seconds)
18:54:24 rune joins (sid21167@id-21167.ilkley.irccloud.com)
18:54:54 aarchi joins (sid486183@id-486183.uxbridge.irccloud.com)
18:55:01 S11001001 joins (sid42510@id-42510.ilkley.irccloud.com)
18:55:10 edwardk joins (sid47016@haskell/developer/edwardk)
18:55:11 T_S_ joins (sid501726@id-501726.uxbridge.irccloud.com)
18:55:23 myShoggoth joins (~myShoggot@97-120-85-195.ptld.qwest.net)
18:55:27 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
18:55:27 gmc_ joins (sid58314@id-58314.ilkley.irccloud.com)
18:55:47 ProofTechnique joins (sid79547@id-79547.ilkley.irccloud.com)
18:56:18 <sshine> EvanR, if I understand correctly, what you're describing are similar to what Matt Parsons calls "capabilities" here: https://www.parsonsmatt.org/2018/03/22/three_layer_haskell_cake.html -- or?
18:56:47 angerman joins (sid209936@id-209936.ilkley.irccloud.com)
18:56:47 geekosaur joins (~geekosaur@xmonad/geekosaur)
18:56:49 alx741 joins (~alx741@186.178.108.219)
18:57:27 AndreasK__ joins (sid320732@id-320732.uxbridge.irccloud.com)
18:57:32 hook54321 joins (sid149355@user/hook54321)
18:57:34 carter joins (sid14827@id-14827.helmsley.irccloud.com)
18:57:39 xkuru joins (~xkuru@user/xkuru)
18:57:45 eruditass joins (uid248673@id-248673.uxbridge.irccloud.com)
18:57:49 cln joins (sid336875@id-336875.ilkley.irccloud.com)
18:58:00 mrianbloom joins (sid350277@id-350277.ilkley.irccloud.com)
18:58:02 lightandlight joins (sid135476@id-135476.helmsley.irccloud.com)
18:58:24 bjs joins (sid190364@user/bjs)
18:58:25 cbarrett joins (sid192934@id-192934.helmsley.irccloud.com)
18:58:30 dpratt__ joins (sid193493@id-193493.helmsley.irccloud.com)
18:58:34 rtpg joins (sid443069@id-443069.ilkley.irccloud.com)
18:58:34 pepeiborra joins (sid443799@id-443799.ilkley.irccloud.com)
18:58:46 tapas joins (sid467876@id-467876.ilkley.irccloud.com)
18:58:54 edmundnoble joins (sid229620@id-229620.helmsley.irccloud.com)
18:59:11 elvishjerricco joins (sid237756@id-237756.helmsley.irccloud.com)
18:59:12 parseval joins (sid239098@id-239098.helmsley.irccloud.com)
18:59:18 <sshine> EvanR, or rather, that's one way to parameterise your monad over certain things... https://github.com/parsonsmatt/cardano-sl/blob/10e55bde9a5c0d9d28bca25950a8811407c5fc8c/docs/monads.md#the-has-constraints -- but I've seen other, simpler approaches related to free effect systems where you have simpler Has* classes.
18:59:42 <sshine> EvanR, I was gonna call that "has-style" type classes. but I can't find a reference to anyone calling them that. I'm sure I didn't come up with it, though.
19:00:38 mcfilib joins (sid302703@user/mcfilib)
19:00:48 lavaman joins (~lavaman@98.38.249.169)
19:01:02 gregberns__ joins (sid315709@id-315709.helmsley.irccloud.com)
19:01:45 gaze___ joins (sid387101@id-387101.helmsley.irccloud.com)
19:02:11 tnks joins (sid412124@id-412124.helmsley.irccloud.com)
19:02:12 NiKaN joins (sid385034@id-385034.helmsley.irccloud.com)
19:02:23 conjunctive joins (sid433686@id-433686.helmsley.irccloud.com)
19:02:35 grfn joins (sid449115@id-449115.helmsley.irccloud.com)
19:02:38 truckasaurus joins (sid457088@id-457088.helmsley.irccloud.com)
19:02:42 alinab joins (sid468903@id-468903.helmsley.irccloud.com)
19:03:10 kaizen joins (sid501599@id-501599.helmsley.irccloud.com)
19:04:08 supersven joins (sid501114@id-501114.ilkley.irccloud.com)
19:04:10 ehamberg joins (sid18208@id-18208.hampstead.irccloud.com)
19:04:23 JSharp joins (sid4580@id-4580.lymington.irccloud.com)
19:04:23 amir joins (sid22336@user/amir)
19:04:35 idnar joins (sid12240@debian/mithrandi)
19:04:38 dsal joins (sid13060@id-13060.lymington.irccloud.com)
19:04:39 tritlo joins (sid58727@user/tritlo)
19:04:44 teehemkay joins (sid14792@id-14792.lymington.irccloud.com)
19:04:45 teehemkay_ joins (sid14792@id-14792.lymington.irccloud.com)
19:04:54 dmj` joins (sid72307@id-72307.hampstead.irccloud.com)
19:04:59 jakesyl_ joins (sid56879@id-56879.hampstead.irccloud.com)
19:05:03 NemesisD joins (sid24071@id-24071.lymington.irccloud.com)
19:05:08 saolsen joins (sid26430@id-26430.lymington.irccloud.com)
19:05:08 nrr__ joins (sid20938@id-20938.lymington.irccloud.com)
19:05:25 <EvanR> heh.... nice post. I'm not sure what capability refers to there. At the end they give up and call the three layers imperative, object oriented, and functional xD
19:05:30 joel135 joins (sid136450@id-136450.hampstead.irccloud.com)
19:05:36 sclv joins (sid39734@haskell/developer/sclv)
19:05:39 pjlsergeant joins (sid143467@id-143467.hampstead.irccloud.com)
19:05:44 <EvanR> but they are covering what I'm talking about basically
19:05:56 iphy joins (sid67735@id-67735.lymington.irccloud.com)
19:06:00 degraafk joins (sid71464@id-71464.lymington.irccloud.com)
19:06:18 christiaanb joins (sid84827@id-84827.lymington.irccloud.com)
19:06:19 hongminhee joins (sid295@id-295.tinside.irccloud.com)
19:06:21 bbooth joins (~bbooth@bam.lbl.gov)
19:06:31 rubin55 joins (sid175221@id-175221.hampstead.irccloud.com)
19:06:32 glowcoil joins (sid3405@id-3405.tinside.irccloud.com)
19:06:33 sa joins (sid1055@id-1055.tinside.irccloud.com)
19:06:42 PotatoGim joins (sid99505@id-99505.lymington.irccloud.com)
19:06:48 bbhoss joins (sid18216@id-18216.tinside.irccloud.com)
19:06:59 scav joins (sid309693@id-309693.helmsley.irccloud.com)
19:07:06 × fef quits (~thedawn@user/thedawn) (Ping timeout: 276 seconds)
19:07:21 × bbooth quits (~bbooth@bam.lbl.gov) (Client Quit)
19:07:52 astra` joins (sid289983@user/amish)
19:07:54 integral joins (sid296274@user/integral)
19:08:11 gonz____ joins (sid304396@id-304396.lymington.irccloud.com)
19:08:20 Firedancer joins (sid336191@id-336191.hampstead.irccloud.com)
19:08:30 kristjansson_ joins (sid126207@id-126207.tinside.irccloud.com)
19:08:51 hamishmack joins (sid389057@id-389057.hampstead.irccloud.com)
19:08:58 jmct_ joins (sid160793@id-160793.tinside.irccloud.com)
19:08:59 aria joins (sid380617@id-380617.lymington.irccloud.com)
19:09:19 <[exa]> EvanR: re first one if you say "mtl-like HasMonads" everyone will know :] the second is much closer to actual effect systems and interpreters, perhaps some naming from the effect packages would fit
19:09:24 Adeon_ joins (sid418992@id-418992.lymington.irccloud.com)
19:09:28 acertain joins (sid470584@id-470584.hampstead.irccloud.com)
19:09:31 SanchayanMaity joins (sid478177@id-478177.hampstead.irccloud.com)
19:09:40 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
19:09:54 Boarders_ joins (sid425905@id-425905.lymington.irccloud.com)
19:09:55 mustafa joins (sid502723@rockylinux/releng/mustafa)
19:09:56 taktoa[c] joins (sid282096@id-282096.tinside.irccloud.com)
19:09:59 Adeon_ is now known as Adeon
19:10:19 hendi joins (sid489601@id-489601.lymington.irccloud.com)
19:10:38 philpax_ joins (sid516926@id-516926.lymington.irccloud.com)
19:10:43 <EvanR> mtl-like is like class Monad m => MonadCoolThing m where ?
19:10:55 shdw joins (~shdw@23-233-101-24.cpe.pppoe.ca)
19:11:07 burnside_ joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
19:11:13 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
19:13:18 <[exa]> yes, MonadState MonadReader MonadWhatever
19:13:37 typetetris joins (sid275937@id-275937.tinside.irccloud.com)
19:13:39 enemeth79 joins (sid309041@id-309041.lymington.irccloud.com)
19:13:53 Pent joins (sid313808@id-313808.lymington.irccloud.com)
19:14:10 <EvanR> is that naming scheme really common or is there something less Monady xD
19:14:27 jackdk joins (sid373013@cssa/jackdk)
19:14:37 agander_m joins (sid407952@id-407952.tinside.irccloud.com)
19:14:54 ephemient joins (uid407513@id-407513.lymington.irccloud.com)
19:15:11 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
19:15:20 <[exa]> not sure, AFAIK everyone who goes with typeclasses just goes with that
19:15:20 hubvu joins (sid495858@user/hubvu)
19:15:43 awpr joins (uid446117@id-446117.lymington.irccloud.com)
19:15:44 _0x47 joins (sid508683@id-508683.tinside.irccloud.com)
19:16:07 × arahael quits (~arahael@14-203-84-159.static.tpgi.com.au) (Ping timeout: 256 seconds)
19:16:15 whez joins (sid470288@id-470288.lymington.irccloud.com)
19:19:04 nattiestnate joins (~nate@2001:448a:20a0:4134:25e:715f:d637:5263)
19:19:26 linkedlistist joins (uid528169@id-528169.lymington.irccloud.com)
19:23:27 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 260 seconds)
19:26:02 euouae joins (~euouae@user/euouae)
19:26:11 <sshine> EvanR, yeah so I think you can discuss granularity here. "has-style" could also be finer, e.g. HasLog, HasDatabase. and the particular example from cardano-sl was one degree more parameterised, e.g. Has LoggingParams. but here's a similar approach with GADTs: https://github.com/hasura/eff#eff-in-action
19:28:41 <EvanR> oh, here Effect is a datakind?
19:29:20 <EvanR> hmm no
19:29:55 <EvanR> the m out of nowhere in Filesystem is weird
19:31:17 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
19:32:12 <sshine> hmm, yeah.
19:32:42 <sshine> I'm not sure about that, either.
19:33:29 <[exa]> freer? (there the "logging" of actions is the default though)
19:34:38 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9)
19:35:42 × shailangsa quits (~shailangs@host86-185-98-19.range86-185.btcentralplus.com) (Remote host closed the connection)
19:37:06 × jjhoo quits (~jahakala@user/jjhoo) (Remote host closed the connection)
19:37:07 pfurla joins (~pfurla@2804:14d:5c81:4104:d09a:3c35:dab9:95ad)
19:39:34 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:100e:941d:330:91e9) (Ping timeout: 260 seconds)
19:46:43 × jonathanx_ quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Ping timeout: 256 seconds)
19:50:49 yauhsien joins (~yauhsien@118-167-40-224.dynamic-ip.hinet.net)
19:54:05 × shdw quits (~shdw@23-233-101-24.cpe.pppoe.ca) (Ping timeout: 256 seconds)
19:54:21 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0)
19:55:26 × yauhsien quits (~yauhsien@118-167-40-224.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
19:57:24 jjhoo joins (jahakala@user/jjhoo)
19:57:57 zincy_ joins (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3)
20:00:56 × Vajb quits (~Vajb@nalkaylds2h97nzof-2.v6.elisa-mobile.fi) (Read error: Connection reset by peer)
20:02:09 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
20:04:17 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
20:05:25 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
20:05:25 × juhp quits (~juhp@128.106.188.82) (Ping timeout: 256 seconds)
20:06:47 juhp joins (~juhp@128.106.188.82)
20:09:44 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
20:14:16 <nf> guess i'll cross-post from #haskell-lens: is there some way to combine the indices of two indexed folds? for example, i'd want something like ["ab","cd"] ^@.. ifolded . ifolded to return [((0, 0), 'a'), ((0, 1), 'b'), ((1, 0), 'c'), ((1, 1), 'd')]
20:16:24 unit73e joins (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291)
20:17:43 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
20:23:38 fendor joins (~fendor@178.165.196.64.wireless.dyn.drei.com)
20:26:03 kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net)
20:30:19 × kayvank quits (~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
20:31:31 × pfurla quits (~pfurla@2804:14d:5c81:4104:d09a:3c35:dab9:95ad) (Quit: gone to sleep. ZZZzzz…)
20:31:48 <[exa]> nf: icompose (,) ?
20:32:23 <[exa]> (wild guess)
20:33:58 <nf> ah, that looks like what i want
20:34:10 <nf> or <.>
20:34:46 kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net)
20:34:50 <nf> yep, ifolded <.> ifolded
20:34:55 <nf> thanks [exa] !
20:35:39 <[exa]> oh wow, wild guess worked
20:35:42 <[exa]> \o/
20:38:10 × burnside_ quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
20:38:12 <nf> weirdly enough, folded <.> folded seems to work too
20:38:41 cjb joins (~cjb@user/cjb)
20:39:59 [exa] stumped
20:40:00 <nf> seems like folded indexes any foldable generically, whereas ifolded has a separate typeclass
20:41:49 <[exa]> yeah possibly with better index types
20:42:39 <[exa]> ooh yeah, `FoldableWithIndex k (Map k)`
20:43:25 y04n45402 joins (~y04nn@nayon.fr)
20:43:33 <[exa]> wuw, some useful stuff there, `FoldableWithIndex [Int] Tree`
20:44:17 mimmy_ joins (~mimmy@cpef81d0f857c83-cmf81d0f857c80.cpe.net.cable.rogers.com)
20:44:24 <nf> nice
20:45:41 <nf> it gets weirder: TraversableWithIndex i f => TraversableWithIndex [i] (Free f)
20:45:54 × y04nn quits (~y04nn@92.223.89.196) (Ping timeout: 260 seconds)
20:45:57 × quintasan quits (~quassel@quintasan.pl) (Remote host closed the connection)
20:47:05 quintasan joins (~quassel@quintasan.pl)
20:47:22 <[exa]> Free monads are basically trees with some piping around, so yeah, good :]
20:47:56 <[exa]> the one for Compose is nice too
20:48:23 <[exa]> I need some indexed bikeshedding project to play with all this stuff
20:49:10 × mimmy_ quits (~mimmy@cpef81d0f857c83-cmf81d0f857c80.cpe.net.cable.rogers.com) (Ping timeout: 260 seconds)
20:49:13 × kayvank quits (~user@52-119-115-185.PUBLIC.monkeybrains.net) (Remote host closed the connection)
20:51:17 Sgeo joins (~Sgeo@user/sgeo)
20:51:58 × myShoggoth quits (~myShoggot@97-120-85-195.ptld.qwest.net) (Ping timeout: 260 seconds)
20:53:47 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
20:53:47 × jinsun quits (~quassel@user/jinsun) (Ping timeout: 264 seconds)
20:54:24 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
20:55:51 × _ht_ quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
20:56:26 × cosimone quits (~user@2001:b07:ae5:db26:a7aa:8027:6b4e:2fb3) (Remote host closed the connection)
20:56:42 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
20:56:47 kayvank joins (~user@52-119-115-185.PUBLIC.monkeybrains.net)
20:56:50 cosimone joins (~user@2001:b07:ae5:db26:a7aa:8027:6b4e:2fb3)
20:59:32 kayvank15 joins (~kayvank@52-119-115-185.PUBLIC.monkeybrains.net)
20:59:54 × kayvank15 quits (~kayvank@52-119-115-185.PUBLIC.monkeybrains.net) (Client Quit)
21:01:52 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:2505:c76:f78:c1d6)
21:06:53 × eruditass quits (uid248673@id-248673.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
21:07:18 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:2505:c76:f78:c1d6) (Ping timeout: 260 seconds)
21:08:11 Successus joins (~Successus@gateway/tor-sasl/successus)
21:11:18 × jjhoo quits (jahakala@user/jjhoo) (Remote host closed the connection)
21:11:20 xsperry joins (~xs@user/xsperry)
21:13:30 jjhoo joins (~jahakala@user/jjhoo)
21:15:07 × y04n45402 quits (~y04nn@nayon.fr) (Remote host closed the connection)
21:15:37 × Successus quits (~Successus@gateway/tor-sasl/successus) ()
21:16:26 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:9487:a7c7:e639:ebc4)
21:16:28 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:18:22 × fendor quits (~fendor@178.165.196.64.wireless.dyn.drei.com) (Read error: Connection reset by peer)
21:19:17 × zincy_ quits (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3) (Remote host closed the connection)
21:19:31 zincy_ joins (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3)
21:20:24 renzhi joins (~xp@2607:fa49:6500:b100::6e7f)
21:21:07 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:9487:a7c7:e639:ebc4) (Ping timeout: 250 seconds)
21:21:08 <euouae> I'm looking into the Alloy analyzer, https://alloytools.org/ does Haskell have any tools like this?
21:22:03 wootehfoot joins (~wootehfoo@user/wootehfoot)
21:22:13 jinsun joins (~quassel@user/jinsun)
21:22:41 × zincy_ quits (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3) (Remote host closed the connection)
21:22:41 <dsal> euouae: That's kind of a different class of thing, but I guess you could write such a thing in Haskell. I use TLA+ some which is written in Java, so if it can be done there, it can be done anywhere.
21:23:59 trcc joins (~trcc@2-104-60-169-cable.dk.customer.tdc.net)
21:24:36 <euouae> what do you use TLA+ for?
21:25:02 × whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
21:25:11 <dsal> Describing whether a concept is even possible given known primitives.
21:25:43 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
21:27:15 <dsal> Place I'm working has this thing written in some hacky node stuff with MongoDB. I modeled it in TLA+ to prove that it's completely impossible to guarantee it can any of the things they'd expect it to do (except for special cases where everything goes perfect).
21:27:35 <euouae> got'em
21:28:21 <euouae> I am starting with Alloy to test a design of a backend thing I want to write
21:28:32 <euouae> I don't know if this will be a waste of time or not but I'm giving it a shot
21:28:37 <dsal> I started by modeling my idea, which was really boring because my idea was fairly simple and just kind of worked. Makes that type of tool pretty confusing because like, yeah, the thing I thought works the way I think it might.
21:30:34 pfurla joins (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a)
21:32:08 × abhixec_ quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Quit: leaving)
21:33:00 <trcc> I am trying to write a simple CLI using optparse-applicative. The first argument has to be a string, without any option. I.e. ./program hello -arg1 -arg2 -arg3 where hello is the first argument and a string
21:33:48 <dsal> trcc: you can build named subcommand parsers like that.
21:34:19 <trcc> dsal: subcommand. That was the keyword I was after. Thank you, I will try and find it.
21:34:20 zincy_ joins (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3)
21:34:38 <dsal> Yeah. optparse-applicative does a lot of stuff.
21:34:40 deadmarshal joins (~deadmarsh@95.38.116.117)
21:35:10 <dsal> trcc, e.g.: https://www.irccloud.com/pastebin/5MOYg4gI/sink.txt
21:36:36 <trcc> dsal: ye makes sense. In this case I want to create a file. I.e. ./program hello creates a file called hello. ./program hello_world creates a file called hello_world etc
21:36:54 <trcc> so it is not really fixed like in that exampe
21:37:06 <dsal> Ah, then you probably don't want to do that. heh
21:37:49 <dsal> I do have a command to interact with s3 that works a bit like cp:
21:37:52 <euouae> trcc you can leave the argumetns unparsed, pop one out and then parse them
21:37:53 <dsal> dsmac:tesla dustin$ s3up create *.md blah
21:37:53 <dsal> E: Invalid paths for create: final parameter must be an object ending in /
21:38:27 <dsal> (i.e., if there are two arguments, the second can be anything, but if there are more than two, the last has to end in /)
21:38:47 <trcc> euouae: can you elaborte?
21:39:06 × deadmarshal quits (~deadmarsh@95.38.116.117) (Ping timeout: 260 seconds)
21:39:16 <trcc> dsal: something like that. I need the first argument to be a string and then whatever optional arguments are next
21:40:41 myShoggoth joins (~myShoggot@97-120-85-195.ptld.qwest.net)
21:44:03 mimmy_ joins (~mimmy@cpef81d0f857c83-cmf81d0f857c80.cpe.net.cable.rogers.com)
21:45:24 <euouae> trcc https://blog.ocharles.org.uk/posts/2012-12-17-24-days-of-hackage-optparse-applicative.html
21:45:36 <trcc> thanks
21:45:59 <[itchyjunk]> Hi, i wanted to mod some number with %. i wrote a function and from what haskell told me realized that my signature should be (Integral a) => a -> String
21:46:22 <trcc> ye exactly euouae. thanks
21:46:39 <[itchyjunk]> Now i wanted to `iterate` this function on numbers 1 through 10. but `iterate f [1 .. 10]` doesn't work because i think these are Num and not Integrals
21:46:42 <trcc> actually just found the argument parser here hehe https://hackage.haskell.org/package/optparse-applicative-0.16.1.0#builders
21:47:02 × myShoggoth quits (~myShoggot@97-120-85-195.ptld.qwest.net) (Ping timeout: 260 seconds)
21:48:25 <euouae> [itchyjunk], what do you mean by "iterate"?
21:48:38 Feuermagier joins (~Feuermagi@user/feuermagier)
21:48:45 pavonia joins (~user@user/siracusa)
21:48:48 <euouae> Because the iterate function will apply f multiple times, and the signature doesn't match
21:48:53 <[itchyjunk]> i wanted to repeatedly apply function f to natural numbers between 1 and n. google recommended iterate :s maybe i misread
21:48:54 × mimmy_ quits (~mimmy@cpef81d0f857c83-cmf81d0f857c80.cpe.net.cable.rogers.com) (Ping timeout: 260 seconds)
21:48:57 <[itchyjunk]> oh
21:48:59 <geekosaur> this whole thing sounds confused. in particular % is not mod
21:49:31 <[itchyjunk]> oops, right % is not mod, `mod` is mod. i've fixed that part already, sorry
21:49:40 <[itchyjunk]> let me post the code as well
21:49:47 <euouae> > take 10 $ iterate (*2) 1
21:49:48 <lambdabot> [1,2,4,8,16,32,64,128,256,512]
21:50:09 <geekosaur> > take 10 $ iterate (*2) 1.0
21:50:11 <lambdabot> [1.0,2.0,4.0,8.0,16.0,32.0,64.0,128.0,256.0,512.0]
21:50:12 <[itchyjunk]> https://bpa.st/QQSQ
21:50:22 <[itchyjunk]> this is my helper function that i wanted to apply to a list of natural numbers
21:51:04 <geekosaur> hm. is there a point to making it any Integral instead of just specializing to Int or Integer?
21:51:27 <[itchyjunk]> i loaded the function without a signature and checked with :t
21:51:37 <[itchyjunk]> i originally had (Num a) which gave me errors
21:51:50 <[itchyjunk]> :t was using Integral so i used that
21:51:50 <lambdabot> error:
21:51:50 <lambdabot> • Variable not in scope:
21:51:50 <lambdabot> was :: t0 -> (a0 -> Integer) -> t1 -> Expr -> t2 -> t3 -> t
21:51:59 <[itchyjunk]> oops sorry
21:52:00 <geekosaur> usually you don't need or want the fully generalized type, to be honest
21:52:09 <geekosaur> it just complicates things later
21:53:02 <geekosaur> but, in any case, you misunderstand the problem. specifically, this is valid:
21:53:11 <[itchyjunk]> changing it to Int and Integer both generate error
21:53:32 shdw joins (~shdw@23-233-101-24.cpe.pppoe.ca)
21:53:51 <geekosaur> :t [1 .. 10] :: Integral a => [a]
21:53:52 <lambdabot> Integral a => [a]
21:54:06 <geekosaur> maybe you should show the actual code and actual error
21:54:09 <geekosaur> @where paste
21:54:09 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
21:54:18 <[itchyjunk]> the code i posted is the actual error
21:54:22 <[itchyjunk]> code*
21:55:02 <[itchyjunk]> https://paste.tomsmeding.com/7hmCUEA6
21:55:16 <[itchyjunk]> Int, Integer and Integral in signature respectively
21:55:31 <geekosaur> ok, that one is because you misunderstand the difference between a type and a constraint
21:55:47 <geekosaur> Int and Integer are types. Integral and Num are constraints
21:56:08 <[itchyjunk]> oh i thought you contained it to a type
21:56:27 <geekosaur> (Integral a => a) means "any type a which has an Integral instance"
21:56:56 <geekosaur> if you wanted to use Int you'd just say Int instead of (Integral a) => … a …
21:57:47 <euouae> Integral can be thought of as an interface. It's the things that you can demand of a type
21:58:30 <geekosaur> ^
21:59:44 × trcc quits (~trcc@2-104-60-169-cable.dk.customer.tdc.net) (Remote host closed the connection)
21:59:49 <EvanR> the implementation for that type is sitting in some pile somewhere, and putting the constraint lets you grab the right one without explicitly find it and passing it around
22:00:03 <[itchyjunk]> hmmm
22:00:16 trcc joins (~trcc@2-104-60-169-cable.dk.customer.tdc.net)
22:00:31 <[itchyjunk]> So what does the Integral interface give me that Num interface doesn't? Because seems to not work with Num interface, right?
22:00:36 <EvanR> division
22:00:40 <[itchyjunk]> ahhh
22:00:43 <geekosaur> :t mod
22:00:44 <lambdabot> Integral a => a -> a -> a
22:00:53 <geekosaur> :t divMod
22:00:54 <lambdabot> Integral a => a -> a -> (a, a)
22:01:30 <EvanR> > :t 0 `div` 0
22:01:32 <lambdabot> <hint>:1:1: error: parse error on input ‘:’
22:01:36 <EvanR> :t 0 `div` 0
22:01:37 <lambdabot> Integral a => a
22:01:38 <geekosaur> divMod is actually the more fundamental one on most CPUs including x86; you get division and remainder at the same time from a single machine opcode
22:01:55 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
22:02:03 <EvanR> is divMod actually implemented that way? sounds too good to be true xD
22:02:06 <geekosaur> so div and mod do divMod at machien level and throw halfd of it away
22:02:11 <geekosaur> yes
22:02:27 <geekosaur> there is no specific "div" or "mod" machine op iirc
22:02:32 <geekosaur> just a div+mod op
22:02:48 <geekosaur> which puts the div part in one register and the mod in another
22:02:48 <[itchyjunk]> oh interesting
22:02:53 <EvanR> how about multiply with the excess
22:03:15 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 276 seconds)
22:03:44 jpds joins (~jpds@gateway/tor-sasl/jpds)
22:04:31 <EvanR> that gets throw away too I think
22:04:39 × trcc quits (~trcc@2-104-60-169-cable.dk.customer.tdc.net) (Ping timeout: 250 seconds)
22:04:44 <dsal> Yay, I finally used Finite for the first time in a real program.
22:04:52 <geekosaur> anyway the machine op requires types that are Integral, so div, mod, and divMod have that constraint
22:05:08 <EvanR> congratz, you're now a finitist
22:05:12 <geekosaur> the Num constraint gives you (+), (-), and (*) but no division
22:05:28 <geekosaur> Integral gives you divMod and friends; Fractional gives you (/) which is real division
22:06:50 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:818b:d7ec:141a:89c5)
22:07:14 <geekosaur> ("real" in the sense of (a simulation of) mathematical "real numbers" as distinct from mathematical integers)
22:08:00 <EvanR> > (5 :+ 0) / (0 :+ 1)
22:08:02 <lambdabot> 0.0 :+ (-5.0)
22:08:26 <EvanR> unreal division
22:08:37 <geekosaur> I was going to leave the complex plane out of it, this is already confusing enough :)
22:09:23 jmorris joins (uid433911@id-433911.hampstead.irccloud.com)
22:09:46 <geekosaur> anyway haskell tends to get somewhat precise about these kinds of things (although not precise enough for some; revisions of the Num hierarchy are requested somewhat regularly and there are some implementations on Hackage)
22:10:59 <geekosaur> … so enough with that diversion. you said even with the Integral constraint you were getting an error?
22:11:26 <geekosaur> the only thing I see in your paste is a tabs warning
22:11:35 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:818b:d7ec:141a:89c5) (Ping timeout: 250 seconds)
22:11:59 <euouae> You also mentioned 'iterate' and I think you mean 'map'
22:12:00 <geekosaur> much like python, haskell is indentation sensitive and editors don't always agree with each other or the compiler about what a tab means, so it's best to avoid them
22:12:04 <geekosaur> yeh
22:12:20 × pfurla quits (~pfurla@2804:14d:5c81:4104:d41b:9326:c4d8:9f2a) (Quit: gone to sleep. ZZZzzz…)
22:12:36 <[itchyjunk]> so Num is like natural numbers
22:12:46 <[itchyjunk]> with no division
22:12:57 <geekosaur> it's the set of operations that are meaningful on any kind of number
22:13:01 <[itchyjunk]> so Integral must be like.. something else. Z ring?
22:13:20 <geekosaur> remember, these are essentially interfaces
22:13:47 <[itchyjunk]> right
22:13:56 <geekosaur> so Num is the set of operations you can define on any kind of number (integers, reals, complex, quaternion, you name it)
22:14:28 <geekosaur> Integral is the operations you can define on specifically integer-like numbers, namely integer division / modulus
22:14:55 <geekosaur> Fractional is (floating point) division and related operations
22:15:10 acidjnk joins (~acidjnk@2001:16b8:6774:9a00:69ab:ea7f:c2d0:49e0)
22:15:25 <geekosaur> Floating is trigonometric operations and other things that can result in transcendental numbers
22:15:49 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0) (Remote host closed the connection)
22:16:17 <[itchyjunk]> hmm i've never come across Floating type data structure i think
22:16:25 <geekosaur> :t sin
22:16:26 <lambdabot> Floating a => a -> a
22:16:26 × Adeon quits (sid418992@id-418992.lymington.irccloud.com) ()
22:16:38 <geekosaur> :t sqrt
22:16:39 <lambdabot> Floating a => a -> a
22:17:18 Adeon joins (sid418992@id-418992.lymington.irccloud.com)
22:17:20 <geekosaur> usually this distinction doesn't mean much because you're almost always using Double or occasionally Complex Double, which is both Fractional and Floating
22:17:35 × shdw quits (~shdw@23-233-101-24.cpe.pppoe.ca) (Quit: Leaving)
22:19:10 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:19:11 <[itchyjunk]> Ah, things can implement multiple interfaces
22:19:18 <geekosaur> yep
22:19:27 <geekosaur> % :info Int
22:19:28 <yahb> geekosaur: type Int :: *; data Int = I# Int#; -- Defined in `GHC.Types'; instance Eq Int -- Defined in `GHC.Classes'; instance Ord Int -- Defined in `GHC.Classes'; instance Enum Int -- Defined in `GHC.Enum'; instance Num Int -- Defined in `GHC.Num'; instance Real Int -- Defined in `GHC.Real'; instance Show Int -- Defined in `GHC.Show'; instance [safe] PrintfArg Int -- Defined in `Text.Printf'; instance Data Int --
22:19:48 <geekosaur> you can ask ghci for the full set
22:20:32 × acidjnk quits (~acidjnk@2001:16b8:6774:9a00:69ab:ea7f:c2d0:49e0) (Ping timeout: 240 seconds)
22:20:54 × rtsn quits (~nstr@c-c7fe225c.07-59-7570703.bbcust.telenor.se) (Ping timeout: 268 seconds)
22:21:03 <geekosaur> so as to your earlier comment about the Z ring, the standard Haskell numeric typeclasses don't really capture the notion of rings. there are alternative typeclasses that do
22:21:27 <EvanR> Num isn't the same as a ring just because haskell likes to take laws seriously, which would make Double for instance not Nummable
22:21:32 <geekosaur> although those have their own problems because Int, for example, doesn't fit them well because it's secretly a quotient type
22:21:32 rtsn joins (~nstr@c-c7fe225c.07-59-7570703.bbcust.telenor.se)
22:22:00 <geekosaur> which you can't truly capture within Haskell
22:22:24 <EvanR> Int is a cromulent ring though isn't it
22:22:34 zebrag joins (~chris@user/zebrag)
22:22:55 <geekosaur> Int is Z/2^64, which is a perfecly fine ring but not one you can describe in Haskell
22:23:15 <EvanR> that's Word
22:23:19 <[itchyjunk]> hmm
22:23:39 <geekosaur> mm, yes, sorry
22:24:07 <EvanR> if it obeys laws... to hell with describing it in haskell XD
22:25:47 <[itchyjunk]> I thought math people liked haskell because of math axioms being carried over :D
22:25:49 ees joins (~user@pool-108-18-30-46.washdc.fios.verizon.net)
22:26:00 <EvanR> you can use other types that obey your laws if you want
22:26:01 <[itchyjunk]> at least, proof assistance seems to be popularly written in FP
22:26:17 <[itchyjunk]> ah true, i guess the laws don't generally matter
22:26:19 hololeap_ joins (~hololeap@user/hololeap)
22:26:35 <EvanR> haskell doesn't check your laws, unfortunately
22:26:39 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 276 seconds)
22:27:03 <EvanR> though it may rely on them sometimes
22:27:15 <EvanR> Functor laws, Monad laws
22:27:22 × dolio quits (~dolio@130.44.130.54) (Quit: ZNC 1.8.2 - https://znc.in)
22:30:10 <euouae> I like Haskell because I can very quickly dish out programs that do what I want :P
22:30:14 ees parts (~user@pool-108-18-30-46.washdc.fios.verizon.net) ()
22:31:37 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving)
22:32:31 dolio joins (~dolio@130.44.130.54)
22:32:40 <[itchyjunk]> People using Py say the same :D
22:32:47 <[itchyjunk]> I wonder if people who use asm say the same also
22:33:53 <EvanR> yeah, menuetOS (OS by/for asm programmers)
22:36:02 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
22:38:30 Codaraxis__ joins (~Codaraxis@user/codaraxis)
22:42:07 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:b4a8:9431:5c1:c0e0)
22:42:23 × Codaraxis_ quits (~Codaraxis@user/codaraxis) (Ping timeout: 256 seconds)
22:46:16 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
22:49:49 ees joins (~user@pool-108-18-30-46.washdc.fios.verizon.net)
22:58:27 myShoggoth joins (~myShoggot@97-120-85-195.ptld.qwest.net)
22:59:06 econo joins (uid147250@user/econo)
23:03:03 × bitdex_ quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 276 seconds)
23:03:38 × zincy_ quits (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3) (Remote host closed the connection)
23:04:17 f-a joins (f2a@f2a.jujube.ircnow.org)
23:04:45 bitdex_ joins (~bitdex@gateway/tor-sasl/bitdex)
23:06:13 raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
23:08:27 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
23:08:57 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
23:14:07 × haritz quits (~hrtz@user/haritz) (Ping timeout: 256 seconds)
23:15:06 × max22- quits (~maxime@2a01cb0883359800ebf1dbb598d360cc.ipv6.abo.wanadoo.fr) (Quit: Leaving)
23:15:09 <unit73e> did the SDL2 animation example base on time. next will do movement. proper movement, not that choppy lazyfoo example.
23:15:32 <unit73e> with colision that's enough for a simple game
23:16:02 Lycurgus joins (~juan@98.4.112.204)
23:16:13 <unit73e> It's taking some time but I'll finish this
23:16:19 × Tuplanolla quits (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi) (Quit: Leaving.)
23:16:23 × alx741 quits (~alx741@186.178.108.219) (Ping timeout: 256 seconds)
23:16:31 <unit73e> I mean this here: https://gitlab.com/unit73e/sdl2-examples
23:16:43 <Lycurgus> what machine lang coders could/can say is that nothing is getting between them and the iron
23:17:23 <unit73e> except what's between the chair and keyboard :p
23:17:23 <dolio> They can't say that, though.
23:17:45 <dolio> Unless they buy a CPU without microcode or something.
23:18:15 <Lycurgus> in the day, microcoded arches weren't that common
23:18:45 <dolio> I mean, people will still say it anyway.
23:19:08 haritz joins (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220)
23:19:08 × haritz quits (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220) (Changing host)
23:19:08 haritz joins (~hrtz@user/haritz)
23:19:15 <unit73e> if you're talking about why you like Haskell that's because I don't like to do maintenance and Haskell encourages programmers do avoid doing some of the silly things that will later make the app unmaintainable
23:19:36 <Lycurgus> also there were user microprogrammable archees
23:19:51 <Lycurgus> only one major one though
23:19:53 nitrix parts (~nitrix@user/nitrix) (Leaving)
23:20:19 × euouae quits (~euouae@user/euouae) (Quit: )
23:20:28 shailangsa joins (~shailangs@host86-186-133-114.range86-186.btcentralplus.com)
23:21:46 × ees quits (~user@pool-108-18-30-46.washdc.fios.verizon.net) (Ping timeout: 260 seconds)
23:21:49 <unit73e> and then java/c/python/c# devs say, oh muh mutable objects are so much easier to work with, yes but it's also a lot easier to mess your entire program with that
23:22:50 <Lycurgus> also the biggest microcoded arch, 360/370 the instruction set in effect was the machine/iron
23:24:34 <Lycurgus> there's a lot of free stuff from haskell but generally you have no idea how it actually at the lowest level works
23:25:25 <Lycurgus> relatively speaking, it's a faith
23:26:32 <unit73e> does a driver have to care how the gasoline electrons collide with each other when the engine starts?
23:26:46 <unit73e> it's the same for high level languages
23:27:49 <Lycurgus> what you actually have to be believer of though is the pure mathematics is the only right model of computation
23:27:52 <geekosaur> I'm inclined to agree with that. Even for C I'm placing my faith in the compiler
23:27:59 <geekosaur> enh
23:28:05 f-a parts (f2a@f2a.jujube.ircnow.org) ()
23:28:10 <geekosaur> Haskell is rather far from pure maths
23:28:21 <geekosaur> and I never use it as if it were
23:29:09 <geekosaur> something loike numeric-prelude gets you much closer to pure mathematics as computing substrate. you can go count how many packages use it at packdeps.haskellers.com/reverse
23:29:53 <Lycurgus> i said that was the notional conceit, not the claimed realization
23:30:02 <geekosaur> Monad is *inspired by* category theory. it doesn't require you to know CT to use it, or even to develop your own monads
23:30:12 <Lycurgus> like communicating objects before it
23:31:34 <smunix> unit73e, nice! What would it take to add nix to it? It may help remove the `Requirements` section
23:31:43 <Lycurgus> well they were coeval igess, but then OO got stale and corporatized
23:33:55 × cosimone quits (~user@2001:b07:ae5:db26:a7aa:8027:6b4e:2fb3) (Ping timeout: 250 seconds)
23:34:30 <unit73e> smunix, nix as in nixos? I put SDL2 apps/plugins required to be generic for any OS. Should be easy enough for anyone to figure out, I think.
23:34:43 <EvanR> unit73e, see also #haskell-game xD
23:35:06 <unit73e> there's a specific haskell game server? lol
23:35:07 <unit73e> thanks
23:35:20 <EvanR> channel
23:35:25 <EvanR> just a*
23:35:28 <geekosaur> "room" if you prefer
23:35:38 <unit73e> yes channel, I mix a lot because of discord and friends :\
23:35:57 <EvanR> fr--- libera is the server lol
23:36:02 <unit73e> yeah
23:36:16 <EvanR> well, network I guess
23:36:26 <unit73e> and hashtags used to mean channels but twitter ruined that lol
23:36:46 mimmy_ joins (~mimmy@2607:fea8:6e0:7f90:7c3d:8173:a37e:d50a)
23:36:51 <Sqaure> Is there some easy way to query Aeson "Value" type. Im thinking lens like getters if you will.
23:38:08 Topsi joins (~Tobias@dyndsl-037-138-064-016.ewe-ip-backbone.de)
23:38:20 <unit73e> ? you have to give a type to Aeson, not the other way around, right?
23:38:59 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
23:39:29 <Sqaure> Aeson is the lib that defines a tree like structure called Value. Basically just typed json. I see now there is lens-aeson
23:40:05 <seanparsons> Sqaure: I can definitely recommend lens-aeson, I often use it to drill into instances of Value.
23:40:30 <Sqaure> seanparsons, ah ok. I guess I'll roll with that then
23:41:31 × mimmy_ quits (~mimmy@2607:fea8:6e0:7f90:7c3d:8173:a37e:d50a) (Ping timeout: 250 seconds)
23:44:17 pfurla joins (~pfurla@2804:14d:5c81:4104:d09a:3c35:dab9:95ad)
23:46:41 × Lycurgus quits (~juan@98.4.112.204) (Quit: Exeunt)
23:47:01 × Jing quits (~hedgehog@2604:a840:3::1094) (Remote host closed the connection)
23:47:22 × vysn quits (~vysn@user/vysn) (Ping timeout: 260 seconds)
23:47:43 Jing joins (~hedgehog@2604:a840:3::1094)
23:47:57 × Feuermagier quits (~Feuermagi@user/feuermagier) (Remote host closed the connection)
23:48:23 nautical joins (~nautical@2601:602:900:1630::396f)
23:50:44 emf joins (~emf@2620:10d:c090:400::5:5322)
23:50:54 zincy_ joins (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3)
23:53:31 Feuermagier joins (~Feuermagi@user/feuermagier)
23:55:23 × zincy_ quits (~zincy@2a00:23c8:970c:4801:78f3:43f3:fd48:5ac3) (Ping timeout: 250 seconds)
23:55:33 × myShoggoth quits (~myShoggot@97-120-85-195.ptld.qwest.net) (Read error: Connection reset by peer)
23:55:51 myShoggoth joins (~myShoggot@97-120-85-195.ptld.qwest.net)
23:56:46 × emf quits (~emf@2620:10d:c090:400::5:5322) (Quit: emf)

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