Home liberachat/#haskell: Logs Calendar

Logs on 2021-12-04 (liberachat/#haskell)

00:01:01 zebrag joins (~chris@user/zebrag)
00:02:20 × zebrag quits (~chris@user/zebrag) (Client Quit)
00:07:20 × xff0x quits (~xff0x@2001:1a81:5394:4100:8386:5ae4:51fd:795) (Ping timeout: 252 seconds)
00:07:20 × tito quits (tito@tilde.team) (Ping timeout: 252 seconds)
00:07:33 × seanparsons quits (~seanparso@cpc158525-gill21-2-0-cust151.20-1.cable.virginm.net) (Quit: WeeChat 3.1)
00:07:50 zebrag joins (~chris@user/zebrag)
00:08:51 tito joins (tito@tilde.team)
00:12:21 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
00:12:50 × doyougnu quits (~doyougnu@c-73-25-202-122.hsd1.or.comcast.net) (Ping timeout: 252 seconds)
00:14:47 wootehfoot joins (~wootehfoo@user/wootehfoot)
00:16:55 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 256 seconds)
00:18:41 × OscarZ quits (~oscarz@95.175.104.170) (Quit: Leaving)
00:19:45 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
00:20:16 xff0x joins (~xff0x@2001:1a81:53c9:fe00:390a:f606:2045:4876)
00:22:46 pfurla joins (~pfurla@2804:14d:5c81:4104:5084:9b62:332c:deab)
00:25:29 × tito quits (tito@tilde.team) (Ping timeout: 252 seconds)
00:26:10 tito joins (tito@tilde.team)
00:28:28 <yin> what is this error: https://paste.jrvieira.com/1638577678818 ?
00:29:32 <mrianbloom> Random question: does anyone know how to create a top level FFI declaration using ghc-source-gen, I just spent an hour looking through the docs and I can't figure it out.
00:30:30 <boxscape_> yin you've enabled OverloadedLists and it doesn't know what kind of list it's supposed to be using
00:30:38 <boxscape_> one solution is to add a type signature
00:30:50 <dsal> Oh, OverloadedLists occasionally makes something better.
00:30:58 <dsal> It often makes things worse.
00:31:19 <yin> add a type signature to what?
00:31:23 <yin> :t '0'
00:31:24 <lambdabot> Char
00:31:38 <dsal> What's the [] part?
00:31:46 <dsal> That's what it's complaining about.
00:31:57 <boxscape_> to the list, so (∈ (['0','1'] :: [Char])) or similar
00:32:02 <yin> ah! i forgot i was using OverloadedLists
00:32:08 yin facepalms
00:32:24 <dsal> % :t ['x']
00:32:25 <yahb> dsal: (IsList l, Item l ~ Char) => l
00:32:25 <boxscape_> yin if you're using a plain old list you can also write "01" instead of ['0', '1']
00:33:46 <dsal> % [1, 2, 2, 3, 4, 5, 6,7,7] :: S.Set
00:33:47 <yahb> dsal: ; <interactive>:6:30: error:; * Expecting one more argument to `S.Set'; Expected a type, but `S.Set' has kind `* -> *'; * In an expression type signature: S.Set; In the expression: [1, 2, 2, 3, ....] :: S.Set; In an equation for `it': it = [1, 2, 2, ....] :: S.Set
00:33:51 <dsal> % [1, 2, 2, 3, 4, 5, 6,7,7] :: S.Set Int
00:33:51 <yahb> dsal: fromList [1,2,3,4,5,6,7]
00:34:04 <dsal> Rarely worth it for me.
00:35:11 <boxscape_> I imagine it's especially annoying that you can't do something like `traverse_ print [1,2,3]` anymore
00:38:28 <yin> boxscape_: i'm als using OverloadedStrings :D
00:38:46 <boxscape_> yin that on the other hand is quite useful imo
00:38:54 <yin> yes
00:39:03 <geekosaur> but OverloadedStrings won't cause a problem there I think
00:39:13 <geekosaur> because only one type will make sense
00:39:27 <boxscape_> hmm i'm not sure
00:39:35 <dsal> If you didn't have overloaded strings, the "01" thing would be unambiguous.
00:40:00 <boxscape_> geekosaur I think it just knows that it must be a Foldable Stringy type
00:40:34 <boxscape_> there could be more than one type fulfilling that
00:41:18 <geekosaur> mm, but won't Foldable default to [], thus forcing String?
00:41:25 <geekosaur> hm, only in ghci I guess
00:41:28 <boxscape_> yeah
00:41:45 <boxscape_> and the instance is defined as `a ~ Char => IsString [a]`, so it can't infer from Char either
00:42:25 × Gurkenglas quits (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de) (Ping timeout: 256 seconds)
00:47:16 chenqisu1 joins (~chenqisu1@183.217.200.156)
00:47:48 × bbear72 quits (~bbear@2a01:e34:ec2b:d430:e0dd:e718:df68:1877) (Quit: Client closed)
00:51:33 Tuplanolla joins (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi)
00:51:54 <yin> sorry i had to get away for a bit. i actually previously had "01" and it was ambiguous, it told me something alnog the lines of "there are 3 possible candidates: String and two other types that are out of scope"
00:52:35 <yin> i know Text but what's the other?
00:53:32 <geekosaur> there's still a bad ByteString instance iirc
00:54:11 mvk joins (~mvk@2607:fea8:5cdd:f000::9788)
00:54:18 <yin> a *bad* ByteString?
00:54:19 <geekosaur> (bad because it only works for a tiny subset of Chars, it loses data otherwise)
00:54:43 <yin> ah
00:55:00 <yin> i'm guessing "01"
00:55:03 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
00:55:08 <geekosaur> that one would be fine
00:55:30 <geekosaur> any Char > \255 it would truncate
00:55:53 <yin> h right, ByteStrings are 8bit
00:55:55 × tito quits (tito@tilde.team) (Ping timeout: 268 seconds)
00:56:25 tito joins (tito@tilde.team)
00:56:55 <yin> i feel it shouldn't be this much of a pain to work with binary in haskell
00:57:42 × nvmd quits (~nvmd@user/nvmd) (Quit: Later, nerds.)
00:57:49 <yin> where's BitString?
00:58:13 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
00:58:19 × johnw quits (~johnw@2607:f6f0:3004:1:c8b4:50ff:fef8:6bf0) (Quit: ZNC - http://znc.in)
00:58:35 <hpc> it should really be Word8String
00:58:37 pfurla_ joins (~pfurla@2804:14d:5c81:4104:d5f9:5bb:9da8:43da)
00:59:12 <hpc> (also yeah, is that Char truncate behavior ever useful?)
00:59:34 <geekosaur> there's some BitVector types out there
00:59:51 <geekosaur> I continue to be surprised vector doesn't provide a packed Bool Vector type
01:00:21 <yin> why packed, say I?
01:00:27 <yin> >:)
01:00:33 <geekosaur> becuase that'd beyour bitstring
01:00:54 <geekosaur> recall that an unpacked Bool is 64 bits
01:01:09 <geekosaur> of which 1 is used
01:01:14 <yin> well yeah, in _practice_
01:01:24 <yin> noone cares about practice
01:02:03 <geekosaur> and I think even in 9.2's new sized stuff it's still 8 bits
01:02:20 × pfurla quits (~pfurla@2804:14d:5c81:4104:5084:9b62:332c:deab) (Ping timeout: 252 seconds)
01:02:47 <yin> what changed in 9.2?
01:02:49 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
01:02:52 <yin> i'm out of the loop
01:04:30 <kennyd> @pl (\x -> printf "%2d. %s\n" x (fizzbuzz x))
01:04:30 <lambdabot> ap (printf "%2d. %s\n") fizzbuzz
01:04:33 <kennyd> how does that shit work?
01:04:52 <geekosaur> instead of always using a machine word (64 bits) it now uses an appropriate size for the type
01:05:28 <yin> oh nice! finally
01:05:36 <geekosaur> so Char uses 32 bits since it's a Unicode codepoint, Bool uses 8 bits as the smallest memory value available, Int32 is actually 32 bits, etc.
01:05:41 <yin> i still want 1bit bits :p
01:06:22 <geekosaur> someone bring back KL10s :þ
01:06:58 <geekosaur> although that still wouldn't work because I think the smallest it got was 3 bits
01:07:38 <yin> kennyd:
01:07:41 <yin> :t ap
01:07:42 <lambdabot> Monad m => m (a -> b) -> m a -> m b
01:07:45 <geekosaur> and that onlyt for registers; memory was 36 bits
01:08:33 geekosaur wonders if that translation would actualy work given that printf is rather "special"
01:08:54 <geekosaur> and @pl has no clue about PrintfType
01:09:46 <geekosaur> also @pl is out of date
01:09:52 × lbseale quits (~ep1ctetus@user/ep1ctetus) (Read error: Connection reset by peer)
01:09:52 <geekosaur> :t (<*>)
01:09:53 <lambdabot> Applicative f => f (a -> b) -> f a -> f b
01:10:56 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:17:03 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:17:24 res0nat0r8 joins (~Fletch@dia.whatbox.ca)
01:18:18 <monochrom> Yeah, @pl was written way before Applicative existed.
01:18:51 <monochrom> Plus other minor issues such as it doesn't check types.
01:19:08 <monochrom> @pl \x -> x x
01:19:09 <lambdabot> join id
01:19:11 <monochrom> :)
01:20:09 <monochrom> "wont fix" :)
01:20:11 <boxscape_> :t join id
01:20:12 <lambdabot> error:
01:20:12 <lambdabot> • Occurs check: cannot construct the infinite type: m ~ (->) (m a)
01:20:12 <lambdabot> Expected type: m (m a)
01:20:57 <int-e> @pl (\x -> x x) (\x -> x x)
01:21:00 <lambdabot> ap id id (ap id id)
01:21:00 <lambdabot> optimization suspended, use @pl-resume to continue.
01:25:00 burnside_ joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
01:25:00 × burnsidesLlama quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Read error: Connection reset by peer)
01:26:31 <yin> @pl-resume
01:26:33 <yin> ;D
01:26:38 <lambdabot> ap id id (ap id id)
01:26:38 <lambdabot> optimization suspended, use @pl-resume to continue.
01:27:19 <monochrom> It is true to the nature of (\x -> x x) (\x -> x x).
01:33:50 × namkeleser quits (~namkelese@101.175.102.188) (Quit: Client closed)
01:36:36 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 245 seconds)
01:37:14 × acidjnk_new quits (~acidjnk@p200300d0c7271e92d1e9828b51aa3006.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
01:49:51 d34df00d joins (~d34df00d@2600:1700:8c60:3a10::48)
01:50:05 <d34df00d> Hi folks!
01:50:39 <d34df00d> I've read a post recently with a mention of a (de)serialization library that's more efficient than both cereal and binary, but I can't remember its name. Does anything come to your (hive)mind?
01:51:01 <d34df00d> Here, "its name" is "the library name", not "the post name".
01:58:06 <d34df00d> Ah, right, that's fpco's store.
01:58:06 <d34df00d> Thanks!
02:01:16 × burnside_ quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Remote host closed the connection)
02:02:49 notzmv joins (~zmv@user/notzmv)
02:09:13 × pfurla_ quits (~pfurla@2804:14d:5c81:4104:d5f9:5bb:9da8:43da) (Quit: gone to sleep. ZZZzzz…)
02:09:53 pfurla joins (~pfurla@2804:14d:5c81:4104:d5f9:5bb:9da8:43da)
02:13:08 johnw joins (~johnw@2607:f6f0:3004:1:c8b4:50ff:fef8:6bf0)
02:15:52 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:17:41 × mmhat quits (~mmh@55d45bca.access.ecotel.net) (Ping timeout: 256 seconds)
02:19:10 × Tuplanolla quits (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi) (Quit: Leaving.)
02:26:29 × neurocyte0132889 quits (~neurocyte@user/neurocyte) (Ping timeout: 252 seconds)
02:29:47 mmhat joins (~mmh@55d45ca5.access.ecotel.net)
02:32:07 × xff0x quits (~xff0x@2001:1a81:53c9:fe00:390a:f606:2045:4876) (Ping timeout: 268 seconds)
02:33:28 xff0x joins (~xff0x@2001:1a81:53e7:c700:b7b4:37a0:2750:d862)
02:33:29 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
02:37:42 × chenqisu1 quits (~chenqisu1@183.217.200.156) (Remote host closed the connection)
02:41:25 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 256 seconds)
02:41:59 machinedgod joins (~machinedg@24.105.81.50)
02:42:51 <iqubic> I'm looking to do some ascii art animations for some of my Haskell AoC solutions. What libraries should I look into to do that?
02:44:58 justsomeguy joins (~justsomeg@user/justsomeguy)
02:46:22 <jackdk> emit \e[2J a lot?
02:47:45 × mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Ping timeout: 252 seconds)
02:49:55 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
02:54:37 CiaoSen joins (~Jura@p200300c9570204002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
02:56:39 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 276 seconds)
02:57:03 hololeap joins (~hololeap@user/hololeap)
02:59:37 ec_ joins (~ec@gateway/tor-sasl/ec)
02:59:45 <dsal> That's basically what I did.
02:59:53 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
03:00:00 × machinedgod quits (~machinedg@24.105.81.50) (Remote host closed the connection)
03:00:15 machinedgod joins (~machinedg@24.105.81.50)
03:01:03 <dsal> It looks like I've used this before: https://hackage.haskell.org/package/ansi-terminal
03:04:26 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
03:10:57 stevenxl joins (~stevenlei@174.128.182.51)
03:12:02 × mmhat quits (~mmh@55d45ca5.access.ecotel.net) (Quit: WeeChat 3.3)
03:14:33 <yin> iqubic: JuicyPixels is pretty good for the most basic stuff
03:14:43 <iqubic> That's also good.
03:15:27 <yin> curses at least
03:15:48 <yin> there's a decent vector animation library but i cant remember its name
03:16:23 lavaman joins (~lavaman@98.38.249.169)
03:16:23 <yin> why is GeneralizedNewtypeDeriving not allowed in Safe Haskell?
03:16:47 <boxscape> jle`: we talked the other day about having a function that can convert any data instance to a String - I have this now, and it works pretty well https://paste.tomsmeding.com/wO8wDWza
03:17:10 <boxscape> of course you'd have to special case other primitive types if they're used
03:17:28 <boxscape> s/data/Data
03:19:19 chenqisu1 joins (~chenqisu1@183.217.200.156)
03:21:05 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
03:22:12 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
03:22:12 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
03:22:12 wroathe joins (~wroathe@user/wroathe)
03:22:13 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 252 seconds)
03:26:59 × CiaoSen quits (~Jura@p200300c9570204002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
03:36:57 × td_ quits (~td@94.134.91.231) (Ping timeout: 256 seconds)
03:38:29 td_ joins (~td@muedsl-82-207-238-245.citykom.de)
03:40:00 × chenqisu1 quits (~chenqisu1@183.217.200.156) (Quit: Leaving)
03:40:01 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.3)
03:43:29 × waleee quits (~waleee@h-82-196-111-63.NA.cust.bahnhof.se) (Ping timeout: 252 seconds)
03:45:22 <hololeap> is there a way to hook up pretty-show to Debug.Trace
03:45:34 <hololeap> with color support
03:45:40 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
03:46:03 <dmj`> hololeap: now that's a good idae
03:46:05 <dmj`> idea
03:46:39 <dmj`> traceSolarized
03:48:52 harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67)
03:49:34 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
03:49:38 deadmarshal joins (~deadmarsh@95.38.116.22)
03:51:03 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 268 seconds)
03:51:58 waleee joins (~waleee@h-82-196-111-63.NA.cust.bahnhof.se)
03:52:37 <dmj`> hololeap: if you copy Debug.Trace into its own lib, and sprinkle in System.Console.Rainbow I bet it would work
03:53:20 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
03:53:20 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
03:53:20 finn_elija is now known as FinnElija
03:53:36 dyeplexer joins (~dyeplexer@user/dyeplexer)
03:53:57 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 256 seconds)
03:53:57 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Ping timeout: 256 seconds)
03:54:52 <hololeap> oh it actually works already!
03:55:02 <hololeap> trace (T.unpack $ pShow r) r
03:55:08 <hololeap> I actually meant pretty-simple
03:55:32 <hololeap> and if anyone wants to try that be aware it's Data.Text.Lazy
03:56:23 <sm> hololeap: the utilities in https://hackage.haskell.org/package/hledger-lib-1.24/docs/Hledger-Utils-Debug.html do that
03:57:25 <hololeap> the devs might be willing to add it to pretty-simple
03:58:00 <sm> I don't think debugging helpers really belong in pretty-simple, also I'm not married to that lib (it has a few issues)
03:58:37 <sm> I think they'd be great added to Debug.Trace! but not sure how hard that would be
04:00:49 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
04:05:07 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
04:11:22 <jle`> boxscape: ah nice :O i think you can do it for anything that resolves down to an ADT, and special casing on string works well too
04:11:34 <boxscape_> yeah, that makes sense
04:14:45 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
04:19:31 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 256 seconds)
04:31:42 sprout joins (~quassel@2a02:a467:ccd6:1:ed9e:6da6:fee6:2db6)
04:31:53 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
04:34:05 × sprout_ quits (~quassel@2a02:a467:ccd6:1:654a:7e1b:4ab5:b4bb) (Ping timeout: 252 seconds)
04:39:24 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
04:41:14 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
04:45:58 deadmarshal joins (~deadmarsh@95.38.116.22)
04:46:29 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
04:51:11 × boxscape_ quits (~boxscape_@p4ff0bb6c.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
04:55:36 chenqisu1 joins (~chenqisu1@183.217.200.156)
05:01:13 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 252 seconds)
05:02:13 yauhsien joins (~yauhsien@101.12.103.143)
05:05:22 × waleee quits (~waleee@h-82-196-111-63.NA.cust.bahnhof.se) (Quit: WeeChat 3.3)
05:10:14 deadmarshal joins (~deadmarsh@95.38.116.22)
05:14:59 × yauhsien quits (~yauhsien@101.12.103.143) (Ping timeout: 256 seconds)
05:20:39 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
05:23:29 × chenqisu1 quits (~chenqisu1@183.217.200.156) (Ping timeout: 256 seconds)
05:33:24 × xff0x quits (~xff0x@2001:1a81:53e7:c700:b7b4:37a0:2750:d862) (Remote host closed the connection)
05:33:41 xff0x joins (~xff0x@2001:1a81:53e7:c700:ed50:8b1e:4614:201b)
05:33:51 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
05:33:58 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
05:37:16 mbuf joins (~Shakthi@171.61.205.226)
05:47:03 × stevenxl quits (~stevenlei@174.128.182.51) (Ping timeout: 252 seconds)
05:50:05 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
05:50:05 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
05:50:05 wroathe joins (~wroathe@user/wroathe)
05:55:13 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
05:57:32 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
05:59:03 [_] joins (~itchyjunk@user/itchyjunk/x-7353470)
06:00:53 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 256 seconds)
06:00:57 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 256 seconds)
06:01:36 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
06:06:03 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
06:06:35 deadmarshal joins (~deadmarsh@95.38.116.22)
06:07:39 sheltheconquerer joins (~ret@109-110-184-193-dynamic.shabdiznet.com)
06:07:42 justsomeguy joins (~justsomeg@user/justsomeguy)
06:24:42 × kennyd quits (~bc8165b6@cerf.good1.com) (Quit: CGI:IRC (Session timeout))
06:25:33 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 252 seconds)
06:27:03 × jonathanx quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Remote host closed the connection)
06:30:50 jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
06:30:55 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Remote host closed the connection)
06:34:08 evan joins (~evan@2600:1700:ba69:10:81bb:b5c:744b:f329)
06:34:14 evan is now known as Guest4250
06:35:39 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
06:36:40 notzmv joins (~zmv@user/notzmv)
06:38:51 × shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Ping timeout: 256 seconds)
06:39:06 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:40:13 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
06:42:27 <sheltheconquerer> :q
06:42:29 <sheltheconquerer> clear
06:42:31 <sheltheconquerer> quit
06:42:32 × sheltheconquerer quits (~ret@109-110-184-193-dynamic.shabdiznet.com) (Quit: WeeChat 3.3)
06:44:01 × [_] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
06:49:58 × jonathanx quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Quit: Leaving)
06:53:03 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:dcf1:6c47:4df:1ed1) (Remote host closed the connection)
06:55:39 max22- joins (~maxime@2a01cb0883359800761b1c69d9198b7f.ipv6.abo.wanadoo.fr)
07:09:55 stevenxl joins (~stevenlei@174.128.182.51)
07:13:22 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
07:14:19 × stevenxl quits (~stevenlei@174.128.182.51) (Ping timeout: 252 seconds)
07:15:12 × deadmarshal quits (~deadmarsh@95.38.116.22) (Read error: Connection reset by peer)
07:15:35 deadmarshal joins (~deadmarsh@95.38.116.22)
07:17:13 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
07:18:01 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
07:18:08 lavaman joins (~lavaman@98.38.249.169)
07:18:16 × pfurla quits (~pfurla@2804:14d:5c81:4104:d5f9:5bb:9da8:43da) (Quit: gone to sleep. ZZZzzz…)
07:22:33 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
07:24:35 × Guest4250 quits (~evan@2600:1700:ba69:10:81bb:b5c:744b:f329) (Ping timeout: 252 seconds)
07:25:42 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
07:27:09 img joins (~img@user/img)
07:30:59 cyphase joins (~cyphase@user/cyphase)
07:33:15 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 256 seconds)
07:36:56 chenqisu1 joins (~chenqisu1@183.217.200.156)
07:40:36 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
07:46:55 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 256 seconds)
07:50:59 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
07:50:59 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
07:50:59 wroathe joins (~wroathe@user/wroathe)
07:51:23 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
07:52:31 × rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 256 seconds)
07:53:26 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b)
07:54:51 deadmarshal joins (~deadmarsh@95.38.116.22)
07:55:23 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
07:58:41 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b) (Ping timeout: 252 seconds)
08:02:00 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
08:06:41 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
08:14:09 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Quit: Konversation terminated!)
08:15:26 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
08:16:42 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
08:18:52 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
08:24:03 zer0bitz joins (~zer0bitz@dsl-hkibng32-54fbfb-173.dhcp.inet.fi)
08:27:33 dyeplexer joins (~dyeplexer@user/dyeplexer)
08:31:25 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
08:36:05 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 252 seconds)
08:37:35 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
08:42:10 chomwitt joins (~chomwitt@ppp-94-67-1-114.home.otenet.gr)
08:44:09 × fabfianda quits (~fabfianda@net-109-115-246-237.cust.vodafonedsl.it) (Ping timeout: 252 seconds)
08:44:55 fabfianda joins (~fabfianda@mob-5-90-243-224.net.vodafone.it)
08:46:01 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
08:49:47 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
08:50:32 Sgeo joins (~Sgeo@user/sgeo)
08:56:14 × curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Quit: Leaving)
08:58:13 stevenxl joins (~stevenlei@174.128.182.51)
09:01:39 × whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
09:01:55 curiousgay joins (~curiousga@77-120-141-90.kha.volia.net)
09:02:51 × ishutin quits (~ishutin@87-97-82-128.pool.digikabel.hu) (Ping timeout: 245 seconds)
09:02:51 × stevenxl quits (~stevenlei@174.128.182.51) (Ping timeout: 252 seconds)
09:04:34 ishutin joins (~ishutin@178-164-208-88.pool.digikabel.hu)
09:04:41 xkuru joins (~xkuru@user/xkuru)
09:07:19 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 256 seconds)
09:13:05 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
09:14:36 × fabfianda quits (~fabfianda@mob-5-90-243-224.net.vodafone.it) (Read error: Connection reset by peer)
09:14:44 fabfianda joins (~fabfianda@net-109-115-246-237.cust.vodafonedsl.it)
09:16:28 deadmarshal joins (~deadmarsh@95.38.116.22)
09:17:36 allbery_b joins (~geekosaur@xmonad/geekosaur)
09:17:36 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
09:17:38 iqubic` joins (~user@c-67-171-37-233.hsd1.wa.comcast.net)
09:17:39 allbery_b is now known as geekosaur
09:17:59 × iqubic` quits (~user@c-67-171-37-233.hsd1.wa.comcast.net) (Client Quit)
09:19:21 × iqubic quits (~user@2601:602:9502:c70:f6f0:c69f:f066:4465) (Ping timeout: 252 seconds)
09:20:24 iqubic joins (~user@c-67-171-37-233.hsd1.wa.comcast.net)
09:21:37 mc47 joins (~mc47@xmonad/TheMC47)
09:22:20 × curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Quit: Leaving)
09:25:31 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
09:28:15 curiousgay joins (~curiousga@77-120-141-90.kha.volia.net)
09:38:54 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
09:39:53 acidjnk_new joins (~acidjnk@p200300d0c7271e92fcd25810b1025e43.dip0.t-ipconnect.de)
09:42:35 Midjak joins (~Midjak@may53-1-78-226-116-92.fbx.proxad.net)
09:46:19 img joins (~img@user/img)
09:52:40 Tuplanolla joins (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi)
09:53:59 wootehfoot joins (~wootehfoo@user/wootehfoot)
09:54:32 fef joins (~thedawn@user/thedawn)
09:55:37 × fef quits (~thedawn@user/thedawn) (Remote host closed the connection)
09:56:01 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 252 seconds)
10:04:02 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
10:04:03 × mbuf quits (~Shakthi@171.61.205.226) (Quit: Leaving)
10:06:26 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
10:07:23 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 252 seconds)
10:07:45 Lord_of_Life_ is now known as Lord_of_Life
10:10:31 fef joins (~thedawn@user/thedawn)
10:21:14 jmorris joins (uid433911@id-433911.hampstead.irccloud.com)
10:23:52 cosimone\ joins (~user@2001:b07:ae5:db26:a7aa:8027:6b4e:2fb3)
10:30:17 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
10:32:27 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
10:33:43 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
10:33:57 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
10:35:54 × fabfianda quits (~fabfianda@net-109-115-246-237.cust.vodafonedsl.it) (Read error: Connection reset by peer)
10:36:09 fabfianda joins (~fabfianda@mob-5-90-243-224.net.vodafone.it)
10:38:11 × kmein quits (~weechat@user/kmein) (Quit: ciao kakao)
10:38:28 kmein joins (~weechat@user/kmein)
10:42:28 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
10:46:29 × Techcable quits (~Techcable@168.235.93.147) (Ping timeout: 256 seconds)
10:46:31 stevenxl joins (~stevenlei@174.128.182.51)
10:48:15 halides joins (halides@imases.biss.ee)
10:48:22 × FragByte quits (~christian@user/fragbyte) (Quit: Quit)
10:49:11 burnsidesLlama joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
10:49:39 <halides> hi all, doing the mooc at https://haskell.mooc.fi/ and figured i'd join here to ask some noob questions :-)
10:49:57 <halides> i guess this is the biggest channel for that?
10:50:09 <halides> opqdonut: hi ;-)
10:50:16 FragByte joins (~christian@user/fragbyte)
10:51:01 × stevenxl quits (~stevenlei@174.128.182.51) (Ping timeout: 252 seconds)
10:52:45 <Rembane> halides: Do it! :)
10:56:33 × xff0x quits (~xff0x@2001:1a81:53e7:c700:ed50:8b1e:4614:201b) (Ping timeout: 268 seconds)
10:56:55 xff0x joins (~xff0x@2001:1a81:53e7:c700:7792:97a8:546b:8af7)
10:57:24 × burnsidesLlama quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Remote host closed the connection)
10:58:36 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
10:58:55 <halides> thanks Rembane :-)
11:03:06 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
11:10:11 simendsjo joins (~user@84.211.91.241)
11:20:23 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
11:22:25 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:25:22 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
11:25:32 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
11:25:32 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Quit: WeeChat 3.3)
11:26:46 × xff0x quits (~xff0x@2001:1a81:53e7:c700:7792:97a8:546b:8af7) (Ping timeout: 268 seconds)
11:27:07 xff0x joins (~xff0x@2001:1a81:53e7:c700:9294:809b:2f89:3306)
11:28:25 × curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Ping timeout: 256 seconds)
11:36:24 burnsidesLlama joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
11:40:53 × burnsidesLlama quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Ping timeout: 256 seconds)
11:42:23 × zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection)
11:43:46 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
11:46:42 gehmehgeh joins (~user@user/gehmehgeh)
11:48:01 × fef quits (~thedawn@user/thedawn) (Remote host closed the connection)
11:48:10 <nerdypepper> is there a "replace range" method on String or Text anywhere? or would such a method be unsound?
11:49:31 mmhat joins (~mmh@55d45ca5.access.ecotel.net)
11:49:40 zaquest joins (~notzaques@5.130.79.72)
11:50:46 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
11:51:58 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Remote host closed the connection)
11:52:33 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
11:54:58 zer0bitz_ joins (~zer0bitz@dsl-hkibng32-54fbfb-173.dhcp.inet.fi)
11:55:37 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
11:57:01 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
11:57:23 × zer0bitz quits (~zer0bitz@dsl-hkibng32-54fbfb-173.dhcp.inet.fi) (Ping timeout: 252 seconds)
11:58:31 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 256 seconds)
11:59:35 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 252 seconds)
12:01:42 × zer0bitz_ quits (~zer0bitz@dsl-hkibng32-54fbfb-173.dhcp.inet.fi) (Read error: Connection reset by peer)
12:02:33 waleee joins (~waleee@h-82-196-111-63.na.cust.bahnhof.se)
12:02:41 fef joins (~thedawn@user/thedawn)
12:03:41 zer0bitz joins (~zer0bitz@dsl-hkibng32-54fbfb-173.dhcp.inet.fi)
12:03:44 <geekosaur> actual "replace" would violate purity, but producing a modified String/Text would be fine
12:04:08 <geekosaur> for String it'd just perform poorly because String is [Char] and lists kinda suck
12:05:07 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
12:06:20 <geekosaur> https://hackage.haskell.org/package/text-1.2.5.0/docs/Data-Text.html#v:replace
12:07:28 × vgtw quits (~vgtw@c-6a60205c.07-348-756d651.bbcust.telenor.se) (Ping timeout: 268 seconds)
12:08:36 cosimone` joins (~user@93-47-228-147.ip115.fastwebnet.it)
12:09:39 burnsidesLlama joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
12:10:02 × cosimone\ quits (~user@2001:b07:ae5:db26:a7aa:8027:6b4e:2fb3) (Ping timeout: 252 seconds)
12:11:39 × whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
12:11:50 nrl^ joins (~nrl@68.101.58.90)
12:12:45 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
12:13:53 × burnsidesLlama quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Ping timeout: 252 seconds)
12:14:32 geekosaur joins (~geekosaur@xmonad/geekosaur)
12:17:57 deadmarshal joins (~deadmarsh@95.38.116.22)
12:26:13 × Gurkenglas quits (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de) (Ping timeout: 256 seconds)
12:33:37 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
12:34:48 stevenxl joins (~stevenlei@174.128.182.51)
12:38:05 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 252 seconds)
12:39:11 × stevenxl quits (~stevenlei@174.128.182.51) (Ping timeout: 252 seconds)
12:41:01 × jmorris quits (uid433911@id-433911.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
12:42:18 × fef quits (~thedawn@user/thedawn) (Ping timeout: 276 seconds)
12:47:26 × TheCoffeMaker quits (~TheCoffeM@user/thecoffemaker) (Ping timeout: 252 seconds)
12:49:35 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
12:54:06 TheCoffeMaker joins (~TheCoffeM@user/thecoffemaker)
12:54:23 fef joins (~thedawn@user/thedawn)
12:54:39 pta2002 joins (~pta2002@161.230.90.170)
12:55:13 __monty__ joins (~toonn@user/toonn)
12:55:50 <pta2002> Hi, quick question. I have a function a -> Either b a, and I want to make [a] -> Either b [a] from that function, that will return the left side if any of the applications of the first function error out
12:56:08 <pta2002> I am sure there's some obvious way to do this, but I can't remember how ><
12:57:50 <pta2002> I mean, I can easily do this the long way, just wanted to know if there is some simple function that I can just apply to it
13:00:13 × TheCoffeMaker quits (~TheCoffeM@user/thecoffemaker) (Ping timeout: 256 seconds)
13:00:45 <pta2002> Basically I want (a -> Either b a) -> [a] -> Either b [a], but hoogle finds nothing :(
13:01:13 <Taneb> :t traverse
13:01:14 <lambdabot> (Traversable t, Applicative f) => (a -> f b) -> t a -> f (t b)
13:01:24 <pta2002> hm let me try that
13:01:25 <Taneb> :t traverse @[] @(Either _)
13:01:26 <lambdabot> error:
13:01:26 <lambdabot> Pattern syntax in expression context: traverse@[]
13:01:27 <lambdabot> Did you mean to enable TypeApplications?
13:01:34 <geekosaur> gotta use yahb
13:01:45 <Taneb> I can't remember how to invoke yahb :(
13:01:56 <geekosaur> % :t traverse @[] @(Either _)
13:01:57 <yahb> geekosaur: (a -> Either w b) -> [a] -> Either w [b]
13:02:02 <Taneb> Thanks
13:02:57 × AlexNoo quits (~AlexNoo@178.34.151.83) (Quit: Leaving)
13:03:03 × Alex_test quits (~al_test@178.34.151.83) (Quit: ;-)
13:03:07 slowButPresent joins (~slowButPr@user/slowbutpresent)
13:03:11 × AlexZenon quits (~alzenon@178.34.151.83) (Quit: ;-)
13:03:24 TheCoffeMaker joins (~TheCoffeM@user/thecoffemaker)
13:03:30 <pta2002> hm now it's not working even though by that description it should
13:03:37 × cosimone` quits (~user@93-47-228-147.ip115.fastwebnet.it) (Ping timeout: 256 seconds)
13:03:55 <pta2002> hang on i'll figure this out
13:04:04 cosimone` joins (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20)
13:04:29 <pta2002> I have now figured this out, I was missing an argument
13:04:34 <pta2002> thanks!
13:04:58 <Taneb> Happy to help!
13:05:01 <pta2002> also, that :t traverse @[] @(Either _) thing, is that possible to run in GHCi? gives me an error when I try
13:05:21 <Taneb> Run ":set -XTypeApplications" in GHCi
13:05:41 <pta2002> ah got it
13:05:56 <geekosaur> yahb is ghci, it just has a bunch of extensions enabled and is a fairly recent version of ghc
13:06:17 <geekosaur> but TypeApplications goes back a bit so version shouldn't matter
13:09:59 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 252 seconds)
13:12:50 × cosimone` quits (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20) (Ping timeout: 268 seconds)
13:13:27 Techcable joins (~Techcable@168.235.93.147)
13:15:27 deadmarshal joins (~deadmarsh@95.38.116.22)
13:19:53 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 252 seconds)
13:22:38 AlexZenon joins (~alzenon@178.34.151.83)
13:22:42 AlexNoo joins (~AlexNoo@178.34.151.83)
13:24:24 Alex_test joins (~al_test@178.34.151.83)
13:34:58 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Remote host closed the connection)
13:35:45 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
13:41:01 × waleee quits (~waleee@h-82-196-111-63.na.cust.bahnhof.se) (Ping timeout: 256 seconds)
13:42:58 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
13:52:29 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
13:56:23 × Katarushisu quits (~Katarushi@cpc147334-finc20-2-0-cust27.4-2.cable.virginm.net) (Ping timeout: 256 seconds)
13:59:11 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b)
14:03:31 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b) (Ping timeout: 252 seconds)
14:06:53 deadmarshal joins (~deadmarsh@95.38.116.22)
14:08:46 jstolarek joins (~jstolarek@137.220.120.162)
14:18:30 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 276 seconds)
14:19:33 pfurla joins (~pfurla@2804:14d:5c81:4104:9dad:b7eb:58e3:98e6)
14:21:21 jpds joins (~jpds@gateway/tor-sasl/jpds)
14:23:26 × mmhat quits (~mmh@55d45ca5.access.ecotel.net) (Quit: WeeChat 3.3)
14:26:59 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
14:29:40 stevenxl joins (~stevenlei@174.128.182.67)
14:32:04 lavaman joins (~lavaman@98.38.249.169)
14:34:41 × acidjnk_new quits (~acidjnk@p200300d0c7271e92fcd25810b1025e43.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
14:36:31 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 252 seconds)
14:37:41 × simendsjo quits (~user@84.211.91.241) (Ping timeout: 256 seconds)
14:40:56 zincy_ joins (~zincy@host86-181-60-139.range86-181.btcentralplus.com)
14:41:21 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.3)
14:42:37 × chenqisu1 quits (~chenqisu1@183.217.200.156) (Quit: Leaving)
14:43:34 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Remote host closed the connection)
14:43:39 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
14:44:08 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
14:47:19 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
14:48:05 × stevenxl quits (~stevenlei@174.128.182.67) (Quit: leaving)
14:48:14 × juhp quits (~juhp@128.106.188.82) (Quit: juhp)
14:48:27 juhp joins (~juhp@128.106.188.82)
14:48:37 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
14:53:33 × juhp quits (~juhp@128.106.188.82) (Quit: juhp)
14:53:49 juhp joins (~juhp@128.106.188.82)
14:54:35 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 268 seconds)
14:55:23 zebrag joins (~chris@user/zebrag)
14:56:23 × Megant quits (megant@user/megant) (Ping timeout: 256 seconds)
14:58:06 Megant joins (megant@user/megant)
14:58:14 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
15:00:30 boxscape_ joins (~boxscape_@p4ff0bb6c.dip0.t-ipconnect.de)
15:09:28 MoC joins (~moc@user/moc)
15:11:52 × elvishjerricco quits (sid237756@id-237756.helmsley.irccloud.com) (Ping timeout: 265 seconds)
15:13:57 elvishjerricco joins (sid237756@id-237756.helmsley.irccloud.com)
15:14:57 × zincy_ quits (~zincy@host86-181-60-139.range86-181.btcentralplus.com) (Remote host closed the connection)
15:17:55 burnsidesLlama joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
15:18:44 renzhi joins (~xp@2607:fa49:6500:b100::5cef)
15:20:31 zincy_ joins (~zincy@2a00:23c8:970c:4801:f9b9:ddeb:6361:fc1a)
15:24:06 justsomeguy joins (~justsomeg@user/justsomeguy)
15:31:12 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
15:31:36 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
15:32:35 hololeap joins (~hololeap@user/hololeap)
15:36:37 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
15:38:55 xkuru joins (~xkuru@user/xkuru)
15:43:59 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 252 seconds)
15:44:23 deadmarshal joins (~deadmarsh@95.38.116.22)
15:49:01 machinedgod joins (~machinedg@24.105.81.50)
15:49:05 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 256 seconds)
15:52:52 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
15:52:52 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
15:52:52 wroathe joins (~wroathe@user/wroathe)
15:53:40 <__monty__> I'm having a bit of trouble with ghcid. `cabal v2-repl GiantSquid` fails to load because of errors but `ghcid -c cabal v2-repl GiantSquid` reports "All good."
15:55:15 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
15:58:06 mc47 joins (~mc47@xmonad/TheMC47)
15:59:50 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
16:00:06 × Drew[m] quits (~drewefenw@2001:470:69fc:105::c8c4) (Quit: You have been kicked for being idle)
16:00:11 × anotherbruce[m] quits (~anotherbr@2001:470:69fc:105::1:2548) (Quit: You have been kicked for being idle)
16:03:38 <albet70> I tried to install scotty on my vps, but my vps only has 1GB RAM, to installl scotty with cabal failed because of compiling is out-of-memory, how to solve that?
16:04:11 <sclv> you can give it a ton of virtual memory but it'll crawl
16:04:27 <sclv> best to build the binary on a system with the same os and config but with more ram, then copy it over
16:05:17 <albet70> that's a vps, how I can give it more virtual memory?
16:05:48 <albet70> I don't think I can change the swap partition
16:06:31 <albet70> does cabal or other tools provide binary package?
16:06:31 <int-e> Compile with -j1, lower optimization level... but you probably don't want the latter and at 1GB the former is not certain to be enough.
16:06:36 <albet70> or stack?
16:06:44 <int-e> Compiling elsewhere is the sane approach really.
16:07:47 × JimL quits (~quassel@89-162-2-132.fiber.signal.no) (Ping timeout: 260 seconds)
16:08:15 <int-e> This is one reason why people use containers. But you can do things like installing to a custom prefix (/usr/local or /opt) and copying that around?
16:08:18 <albet70> but I'm afraid the the package which compiled on other machines is too big to transfer
16:08:42 deadmarshal joins (~deadmarsh@95.38.116.22)
16:09:06 <albet70> I see there's a haskell docker container, but no scotty in it
16:09:17 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
16:09:38 <shachaf> I wonder, is producing statically-linked binaries practical with GHC yet?
16:10:01 <shachaf> I remember GMP was one reason that couldn't be done, but I heard people were working on alternatives.
16:10:22 <int-e> ?
16:10:41 <int-e> You /can/ link GMP statically. You just can't distribute the resulting binary.
16:11:09 <shachaf> Right, fair enough. I guess I should say "one reason that wasn't done".
16:12:51 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
16:12:55 <shachaf> But I wonder whether producing a completely statically-linked Linux binary is practical, with no libc or anything.
16:14:35 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
16:14:53 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
16:16:33 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
16:16:50 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
16:17:14 × hook54321 quits (sid149355@user/hook54321) (Ping timeout: 268 seconds)
16:18:38 johnjay joins (~pi@192.142.100.50)
16:18:46 <johnjay> is there any way to run and compile haskell on a tablet?
16:18:51 <johnjay> or should I use replit or some similar site?
16:19:33 hook54321 joins (sid149355@user/hook54321)
16:19:51 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
16:20:07 cosimone joins (~user@93-47-228-147.ip115.fastwebnet.it)
16:20:09 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
16:21:37 <albet70> "johnjay :is there any way to run and compile haskell on a tablet?", a x86 tablet is possible
16:21:51 <johnjay> sure. but i think we both know i'm using an android. XD
16:22:02 <albet70> if it's x86-android, u can use chroot
16:22:03 <johnjay> i guess ipads still exist. you can draw on them apparently
16:22:53 <albet70> "johnjay :sure. but i think we both know i'm using an android. XD", oh I forgot, there's a ghc package for arm64
16:23:25 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
16:23:35 <johnjay> i see. i think i tried compiling something on my imac and i had problems cause of that
16:23:53 <johnjay> i don't fully understand how the built in rosetta emulation works either
16:23:56 <albet70> u need install a debian rootfs on android, then install that ghc arm64 package
16:24:00 <johnjay> it sort of runs x86 stuff... idk
16:24:16 <johnjay> is that like rooting the device? idk the lingo
16:24:28 <albet70> "johnjay :is that like rooting the device? idk the lingo", no need to root
16:24:47 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Ping timeout: 256 seconds)
16:24:55 <albet70> use linuxdepoly some kind of android app to create a chroot environment
16:24:59 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
16:25:06 <albet70> or termux
16:25:56 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
16:25:56 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
16:25:56 wroathe joins (~wroathe@user/wroathe)
16:26:51 <johnjay> i know about termux. i thought about trying run haskell from there
16:27:00 <johnjay> apparently the termux in the app store is old and not supported due to google changes
16:28:13 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.3)
16:28:15 hiruji is now known as aeka
16:29:37 <albet70> then download termux from f-droid, remember u need termux-proot to get a linux environment, then download ghc-8.10.5-aarch64-deb10-linux.tar.xz from downloads.haskell.org, and compile it on that termux-proot
16:30:31 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
16:31:12 <johnjay> ahh ok. thanks i will
16:31:41 <albet70> my android phone has 6GB RAM, my computer has 4GB, and my vps has 1GB, how ironic
16:32:35 × mikoto-chan quits (~mikoto-ch@esm-84-240-99-143.netplaza.fi) (Quit: mikoto-chan)
16:32:45 × boxscape_ quits (~boxscape_@p4ff0bb6c.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
16:33:50 mikoto-chan joins (~mikoto-ch@esm-84-240-99-143.netplaza.fi)
16:35:14 neurocyte0132889 joins (~neurocyte@IP-213188116193.dynamic.medianet-world.de)
16:35:14 × neurocyte0132889 quits (~neurocyte@IP-213188116193.dynamic.medianet-world.de) (Changing host)
16:35:14 neurocyte0132889 joins (~neurocyte@user/neurocyte)
16:35:53 × pfurla quits (~pfurla@2804:14d:5c81:4104:9dad:b7eb:58e3:98e6) (Quit: gone to sleep. ZZZzzz…)
16:37:04 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
16:37:18 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
16:37:18 axeman joins (~AdminUser@2a02:8109:a3c0:b10:6a3a:b25d:23ad:1cf9)
16:37:30 × zincy_ quits (~zincy@2a00:23c8:970c:4801:f9b9:ddeb:6361:fc1a) (Remote host closed the connection)
16:37:36 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
16:39:16 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
16:39:57 zincy_ joins (~zincy@host86-181-60-139.range86-181.btcentralplus.com)
16:41:50 <tomsmeding> albet70: I have termux, not termux-proot. I've tried to use an aarch64 distribution of ghc before but it didn't work because some libraries were missing. Have you had more luck?
16:42:07 <tomsmeding> "install a debian rootfs" ah there you go
16:42:26 <tomsmeding> thanks all clear :)
16:44:37 Guest4250 joins (~evan@2600:1700:ba69:10:81bb:b5c:744b:f329)
16:45:44 lavaman joins (~lavaman@98.38.249.169)
16:50:02 ees joins (~user@pool-108-18-30-46.washdc.fios.verizon.net)
16:52:54 gabriel_sevecek joins (~gabriel@188-167-229-200.dynamic.chello.sk)
16:55:25 × axeman quits (~AdminUser@2a02:8109:a3c0:b10:6a3a:b25d:23ad:1cf9) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
16:55:53 axeman joins (~quassel@2a02:8109:a3c0:b10:6a3a:b25d:23ad:1cf9)
16:56:44 × Guest4250 quits (~evan@2600:1700:ba69:10:81bb:b5c:744b:f329) (Quit: WeeChat 3.3)
16:57:12 × axeman quits (~quassel@2a02:8109:a3c0:b10:6a3a:b25d:23ad:1cf9) (Client Quit)
16:57:32 axeman joins (~quassel@2a02:8109:a3c0:b10:6a3a:b25d:23ad:1cf9)
16:57:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
17:04:02 × ees quits (~user@pool-108-18-30-46.washdc.fios.verizon.net) (Remote host closed the connection)
17:06:26 shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net)
17:12:11 <albet70> tomsmeding: u need libnuma-dev, build-essential and libc-dev
17:12:24 ss4 joins (~wootehfoo@user/wootehfoot)
17:12:26 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
17:12:54 <albet70> and also termux-proot is a linux environment to run ghc, and it's part of termux
17:14:03 <albet70> and I do have a ghc-deb10-arm64.deb if u need, I can share it
17:16:38 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
17:16:56 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
17:18:16 × tv quits (~tv@user/tv) (Ping timeout: 268 seconds)
17:22:58 CiaoSen joins (~Jura@p200300c9570204002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
17:24:57 briandaed joins (~jaroslawj@185.234.208.208.r.toneticgroup.pl)
17:28:26 × _xor quits (~xor@72.49.199.147) (Read error: Connection reset by peer)
17:28:51 _xor joins (~xor@72.49.199.147)
17:30:09 × gabriel_sevecek quits (~gabriel@188-167-229-200.dynamic.chello.sk) (Quit: WeeChat 3.3)
17:31:02 bollu joins (uid233390@id-233390.helmsley.irccloud.com)
17:32:42 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
17:32:59 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
17:33:26 × xff0x quits (~xff0x@2001:1a81:53e7:c700:9294:809b:2f89:3306) (Ping timeout: 252 seconds)
17:34:12 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
17:34:19 xff0x joins (~xff0x@2001:1a81:53e7:c700:798e:f8b0:91f3:38f8)
17:34:29 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
17:35:05 × jstolarek quits (~jstolarek@137.220.120.162) (Ping timeout: 252 seconds)
17:36:11 × chomwitt quits (~chomwitt@ppp-94-67-1-114.home.otenet.gr) (Ping timeout: 256 seconds)
17:38:25 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
17:39:21 × fef quits (~thedawn@user/thedawn) (Ping timeout: 276 seconds)
17:39:29 × axeman quits (~quassel@2a02:8109:a3c0:b10:6a3a:b25d:23ad:1cf9) (Ping timeout: 252 seconds)
17:41:18 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b)
17:46:43 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
17:46:45 chomwitt joins (~chomwitt@ppp-94-67-1-114.home.otenet.gr)
17:47:53 axeman joins (~quassel@2a02:8109:a3c0:b10:fbae:9981:ef06:fecb)
17:49:13 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
17:50:55 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Ping timeout: 256 seconds)
17:51:27 lavaman joins (~lavaman@98.38.249.169)
17:53:27 × pta2002 quits (~pta2002@161.230.90.170) (Quit: leaving)
17:54:21 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
17:58:19 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
17:58:54 lavaman joins (~lavaman@98.38.249.169)
18:00:45 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 252 seconds)
18:02:44 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Remote host closed the connection)
18:03:23 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
18:03:40 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
18:07:29 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
18:07:47 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
18:08:29 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b) (Remote host closed the connection)
18:11:51 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
18:12:09 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
18:12:19 × nickdaly quits (45ce440a48@2604:bf00:561:2000::e2) (Remote host closed the connection)
18:12:28 nickdaly joins (45ce440a48@2604:bf00:561:2000::e2)
18:14:43 tv joins (~tv@user/tv)
18:18:30 × NinjaTrappeur quits (~ninja@user/ninjatrappeur) (Quit: WeeChat 3.3)
18:19:26 NinjaTrappeur joins (~ninja@user/ninjatrappeur)
18:19:49 econo joins (uid147250@user/econo)
18:23:48 Guest42 joins (~Guest42@cpc159864-nmal26-2-0-cust352.19-2.cable.virginm.net)
18:23:59 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b)
18:24:26 × Guest42 quits (~Guest42@cpc159864-nmal26-2-0-cust352.19-2.cable.virginm.net) (Client Quit)
18:26:16 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
18:31:12 <hololeap> anyone know of a mnemonic for remembering what some and many do?
18:33:22 × burnsidesLlama quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Remote host closed the connection)
18:33:42 <hololeap> I guess s/o/me -- one or more;
18:34:07 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
18:35:41 jstolarek joins (~jstolarek@137.220.120.162)
18:36:37 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
18:36:40 <c_wraith> I still find it weird that those are even part of Alternative, given that they don't do anything useful for a lot of instances
18:37:35 <c_wraith> > many [1,2,3]
18:37:37 <lambdabot> *Exception: <<loop>>
18:38:03 deadmarshal joins (~deadmarsh@95.38.116.22)
18:38:33 <geekosaur> some implies at least one to me
18:39:14 <hololeap> I guess you're right, but I don't usually think of "many" as including the possibility of zero
18:39:15 <geekosaur> many's a bit weird though namewise since to me it implies a lot
18:40:04 <hololeap> I have many achievements
18:40:30 <tomsmeding> "I have many friends"
18:41:08 <c_wraith> "A friend of the devil is a friend of mine". wait, wrong direction
18:41:21 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 256 seconds)
18:41:22 <lyxia> yeah I remember many as the one that's not some
18:41:25 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
18:41:49 tomsmeding remembers many as the combinator that's regex' *, and some is "the other one"
18:42:15 <c_wraith> I just... remember them. My capacity for trivia is vast.
18:42:23 <geekosaur> that's more orloess the rest of how I remember them, some is + so many must be *
18:42:37 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Remote host closed the connection)
18:42:46 <geekosaur> it's still weird though
18:43:19 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
18:45:48 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
18:46:06 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
18:47:01 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 256 seconds)
18:50:24 <hololeap> is there a way to prove that you have a Show instance for (f a) if you have a Show1 instance for f?
18:51:18 <tomsmeding> and Show a, presumably
18:51:31 Jeanne-Kamikaze joins (~Jeanne-Ka@static-198-54-131-169.cust.tzulo.com)
18:51:37 × cheater quits (~Username@user/cheater) (Ping timeout: 256 seconds)
18:51:41 <tomsmeding> you _don't_ necessarily have a Show instance for (f a) though; however, that information is sufficient to _make_ one
18:51:47 cheater joins (~Username@user/cheater)
18:51:59 <geekosaur> ^
18:52:24 <geekosaur> Show1 f is only enough to say that, *if* you have an a with Show, you can make Show (f a)
18:52:43 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
18:52:55 <tomsmeding> and if so, showsPrec = liftShowsPrec showsPrec showList
18:53:01 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
18:53:03 <dsal> hololeap: how many of these do you have?
18:53:04 justsomeguy joins (~justsomeg@user/justsomeguy)
18:53:41 <hololeap> how many of what do I have?
18:53:49 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
18:54:13 × mikoto-chan quits (~mikoto-ch@esm-84-240-99-143.netplaza.fi) (Read error: Connection reset by peer)
18:54:31 <dsal> How many intuitive mnemonics have you collected?
18:55:07 <hololeap> I have no idea
18:55:36 <hololeap> should I be counting them as I go? :3
18:56:36 <hpc> if only there was a way to remember lots of things at once, to make it easier to keep track of
18:57:00 mikoto-chan joins (~mikoto-ch@esm-84-240-99-143.netplaza.fi)
18:57:13 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Ping timeout: 256 seconds)
18:58:01 <dsal> hololeap: if the answer is zero, that's ok, because when I ask you how many of something you have, you can have none, but if you have some, then you must have at least one.
18:58:22 <hololeap> "many" ;)
18:59:22 Lycurgus joins (~juan@98.4.112.204)
18:59:29 × fabfianda quits (~fabfianda@mob-5-90-243-224.net.vodafone.it) (Ping timeout: 256 seconds)
18:59:42 <dsal> Good, then hopefully you see that I've answered your question several times. :)
18:59:52 fabfianda joins (~fabfianda@net-2-32-227-53.cust.dsl.teletu.it)
19:00:03 × jstolarek quits (~jstolarek@137.220.120.162) (Ping timeout: 256 seconds)
19:01:41 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
19:01:48 Erutuon joins (~Erutuon@user/erutuon)
19:01:56 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
19:01:59 × axeman quits (~quassel@2a02:8109:a3c0:b10:fbae:9981:ef06:fecb) (Ping timeout: 252 seconds)
19:02:46 <hololeap> oh, I get it
19:03:30 × Jeanne-Kamikaze quits (~Jeanne-Ka@static-198-54-131-169.cust.tzulo.com) (Quit: Leaving)
19:06:17 × cheater quits (~Username@user/cheater) (Ping timeout: 256 seconds)
19:06:25 cheater joins (~Username@user/cheater)
19:06:51 × fabfianda quits (~fabfianda@net-2-32-227-53.cust.dsl.teletu.it) (Ping timeout: 256 seconds)
19:07:45 × ec_ quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 276 seconds)
19:08:00 fabfianda joins (~fabfianda@mob-5-90-252-134.net.vodafone.it)
19:08:45 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
19:08:45 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
19:08:45 wroathe joins (~wroathe@user/wroathe)
19:11:55 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Remote host closed the connection)
19:11:59 <energizer> `let {x = 2 + x} in x` what do the curly braces mean?
19:12:19 <geekosaur> they can replace layout
19:12:58 burnsidesLlama joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
19:13:04 <energizer> oh
19:13:22 <geekosaur> so there, they're not doing much
19:13:22 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
19:14:40 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Remote host closed the connection)
19:14:58 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.3)
19:18:16 vicfred joins (~vicfred@user/vicfred)
19:18:55 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b) (Remote host closed the connection)
19:19:19 × burnsidesLlama quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Ping timeout: 256 seconds)
19:19:49 burnsidesLlama joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
19:20:35 lavaman joins (~lavaman@98.38.249.169)
19:22:45 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
19:22:47 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 256 seconds)
19:24:00 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 276 seconds)
19:24:29 geekosaur joins (~geekosaur@xmonad/geekosaur)
19:27:50 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
19:27:53 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
19:29:25 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b)
19:29:39 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
19:31:05 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
19:31:22 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
19:32:00 stiell joins (~stiell@gateway/tor-sasl/stiell)
19:33:18 <juri_> hmm. is anyone else using stan to lint check their code for totality? I'm wondering what to do with functions like sum, minimum, and maximum.
19:34:04 <maerwald> I don't think stan can check your code for totality
19:34:28 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
19:34:49 nitrix parts (~nitrix@user/nitrix) (Leaving)
19:35:26 <Lycurgus> i looked at it a while back, didn seem to be worth the effort
19:35:35 <eyJhb> Reading this piece of Haskell sourcecode https://termbin.com/2rtf and I am unsure what `s'` and `s''`means? I have tried searching for it, but can't really find an anwser.
19:35:37 <eyJhb> answer*
19:35:45 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Ping timeout: 256 seconds)
19:36:05 × cosimone quits (~user@93-47-228-147.ip115.fastwebnet.it) (Ping timeout: 252 seconds)
19:38:42 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:38:57 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 276 seconds)
19:39:46 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
19:40:43 <juri_> Stan has done my code a lot of good. mostly making me add calls to error when conditions are out of the norm.
19:41:57 <juri_> I just got done with eliminating head, tail, init, last, etc from Data.List, but eliminating sum, minimum, and maximum is a bit more problematic. they require noninfinite lists.
19:42:04 stiell joins (~stiell@gateway/tor-sasl/stiell)
19:42:09 axeman joins (~quassel@2a02:8109:a3c0:b10:90ba:bdb8:fd93:c610)
19:42:20 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:42:25 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
19:42:28 <dsal> > sum []
19:42:30 <lambdabot> 0
19:42:42 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
19:43:26 <dsal> I tried stan in the past and it mostly just made noise.
19:43:54 <dsal> I don't generally use a lot of partial functions, though.
19:43:54 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:44:12 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
19:44:12 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
19:44:12 wroathe joins (~wroathe@user/wroathe)
19:44:20 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:44:38 <dsal> I'm pretty convinced anyone who says not to use `sum` should probably offer a lot of qualifiers, though.
19:45:02 <Profpatsch> How about when I have a “lens” that will use an IO action to view/set the lens? Is that possible?
19:45:24 <energizer> https://en.wikibooks.org/wiki/Haskell/Fix_and_recursion says `fix` "finds the least-defined fixed point of a function" and "In any type, ⊥ is the least-defined value". So why isn't the least-defined fixed point of a function /always/ ⊥?
19:45:26 <geekosaur> eyJhb, they're just new identifiers. haskell allows you to add ticks (primes in math parlance) to variable names to make new ones, usually meaning they're related in sonme way to the unticked one
19:45:47 <geekosaur> > fix (const 2)
19:45:49 <lambdabot> 2
19:45:55 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:46:02 <energizer> geekosaur: bottom is less defined than 2, right?
19:46:10 <Lycurgus> or the one less ticked
19:46:18 <geekosaur> right, but const 2 <anything> is always 2
19:46:21 <Lycurgus> *ones
19:46:21 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:46:54 <geekosaur> so 2 is the least defined fixed point of (const 2)
19:47:13 <geekosaur> > const 2 undefined
19:47:15 <lambdabot> 2
19:47:29 <energizer> geekosaur: because it's impossible to get undefined out of `const 2 _`
19:47:44 <energizer> ok
19:47:55 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:47:58 <monochrom> ⊥ is less defined than 0:0:0... That doesn't mean ⊥ satisfies the equation x = 0:x. 0:0:0:... does.
19:48:17 kupi joins (uid212005@id-212005.hampstead.irccloud.com)
19:48:20 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:48:24 <eyJhb> Thanks geekosaur :)
19:48:29 <geekosaur> > let s' = 5 in s' -- s' is just another name
19:48:31 <lambdabot> 5
19:48:33 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
19:48:59 pfurla joins (~pfurla@201.17.118.230)
19:49:12 <Lycurgus> as far as stan, statements vs more stuff;peoples want like quickcheck but for real not just tests rather than like a deep lint
19:49:51 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:50:23 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:51:41 × cheater quits (~Username@user/cheater) (Ping timeout: 256 seconds)
19:51:44 cheater1__ joins (~Username@user/cheater)
19:51:48 cheater1__ is now known as cheater
19:51:55 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:52:34 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:53:05 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
19:54:06 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:54:44 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:55:31 × zer0bitz quits (~zer0bitz@dsl-hkibng32-54fbfb-173.dhcp.inet.fi) (Ping timeout: 252 seconds)
19:55:57 <juri_> Lycurgus: I have property tests, unit tests and integration tests. i think testing is a separate subject.
19:56:17 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:56:53 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:57:07 <geekosaur> > let foo'bar = 6 in foo'bar
19:57:08 <lambdabot> 6
19:57:18 <Lycurgus> will (programmer coded) tests go away when programs can be automatically proven correct?
19:57:50 <juri_> no, because correct programs don't necessarilly do what the programmer intended.
19:58:04 <geekosaur> you can prove a program fits its specification. you can't prove the spec is correct
19:58:28 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
19:58:41 <monochrom> "prove correct" is only relative to a specification. Now you have to test your specification.
19:58:47 <Lycurgus> so i was actually looking forward to a system that synthesized hs from English
19:59:06 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
19:59:06 <geekosaur> english is *way* too multivalued
19:59:18 <geekosaur> to work as either a programming language or a specification language
20:00:17 <geekosaur> not to mention things like, the common use of "sort" is not the programming one
20:00:19 <Lycurgus> well controlled english ofc
20:00:23 hololeap_ joins (~hololeap@user/hololeap)
20:00:39 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:00:51 <Lycurgus> for which there's already a well worked hs system
20:01:03 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 276 seconds)
20:01:15 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:02:48 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:03:27 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:04:56 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
20:05:01 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:05:14 × juhp quits (~juhp@128.106.188.82) (Ping timeout: 252 seconds)
20:05:40 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:06:45 juhp joins (~juhp@128.106.188.82)
20:07:13 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:07:23 <maerwald> I'm in love with windows paths
20:07:45 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:07:53 <juri_> maerwald: CON
20:08:00 <maerwald> `\\?\GLOBALROOT\GLOBAL??\UNC\localhost\c$\foo\bar` -> `C:\foo\bar`
20:08:22 <geekosaur> gesundheit
20:08:36 <maerwald> well, most of our libraries choke on it :p
20:08:45 <maerwald> but it's valid
20:08:54 <geekosaur> I don't blame them :þ
20:09:08 × Lycurgus quits (~juan@98.4.112.204) (Quit: Exeunt)
20:09:12 × lavaman quits (~lavaman@98.38.249.169) (Read error: Connection reset by peer)
20:09:17 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:09:40 <maerwald> makes you appreciate how well posix is actually designed
20:09:46 lavaman joins (~lavaman@98.38.249.169)
20:09:49 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:10:04 <maerwald> windows specification was created by an intern
20:10:18 <juri_> ... who was drunk.
20:11:20 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:11:30 <energizer> wiki gives exercise to write nonrecursive version of `filter` using `fix`. i'm stuck. can someone show the answer for another function like map or takeWhile
20:11:31 <yushyin> but only to reach ballmer peak
20:11:54 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:12:17 <maerwald> I reach that every day.
20:12:27 <geekosaur> and then blow past it?
20:12:45 <maerwald> without being actually drunk
20:13:24 <maerwald> I mean... if you read through windows documentation more than half an hour, you'll get there
20:13:27 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:14:06 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:14:06 <maerwald> it's a stream of WTF moments that doesn't end
20:14:26 <tomsmeding> energizer: 'fix' has type '(a -> a) -> a'. What if you set 'a ~ s -> t'?
20:14:37 <geekosaur> I was amazed at how much of basic win32 looked like "let's just flip the meaning of this flag so we're not a clone of os/2 1.x"
20:15:41 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:16:02 <geekosaur> regardless of how rational flipping that flag was
20:16:05 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:16:13 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:17:34 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:f5ec:bb0e:161e:528b) (Remote host closed the connection)
20:17:45 <EvanR> BeOS supremity
20:17:46 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:18:12 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
20:18:22 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:19:52 hololeap_ is now known as hololeap
20:19:56 betelgeuse9 joins (~betelgeus@94-225-47-8.access.telenet.be)
20:20:22 × betelgeuse9 quits (~betelgeus@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer)
20:25:37 <leah2> is there a haskell library ala Shake.Command that supports creating pipes?
20:27:25 Sgeo joins (~Sgeo@user/sgeo)
20:27:41 × chomwitt quits (~chomwitt@ppp-94-67-1-114.home.otenet.gr) (Quit: Leaving)
20:29:21 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
20:29:37 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
20:29:39 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
20:29:52 <geekosaur> Turtle or shelly?
20:29:59 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Remote host closed the connection)
20:30:05 <maerwald> pipes?
20:30:13 <maerwald> what do you mean with pipes
20:30:34 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
20:31:28 <geekosaur> System.Process in base can create pipes also but you'll have to do a bit more work. And in any case beware of the open3 problem: you can't sensibly read from and write to an external command at the same time, unlessa multithreaded
20:32:22 <geekosaur> (as "open3" should suggest, this is a very general problem not at all limited to haskell)
20:34:17 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Client Quit)
20:35:57 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
20:35:57 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
20:36:14 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
20:38:11 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
20:38:28 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
20:38:55 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
20:39:20 yauhsien joins (~yauhsien@61-231-22-20.dynamic-ip.hinet.net)
20:40:07 <tomsmeding> geekosaur: why, because writing and/or reading may block and thus prevent you from doing the other thing? Does select(2) (and friends) fix this in C?
20:41:13 <geekosaur> you expect tp write to the program, then read the result. program streams its output. program's output pipe blocks because you're not reading. program stops reading. you block on full pipe
20:41:19 <geekosaur> classic deadlock
20:41:32 <tomsmeding> oh right, if you don't anticipate this scenario
20:41:45 <geekosaur> select() only goes so far, you still have to be prepared to read output *while* writing
20:41:54 <tomsmeding> like, you can fix this as host program, but you need to be aware that it needs fixing
20:42:08 jinsun__ joins (~quassel@user/jinsun)
20:42:21 <leah2> geekosaur: i'll look at these, thx
20:42:22 <tomsmeding> easy trap though :)
20:42:34 <geekosaur> and very common one
20:42:53 awschnap joins (~lavaman@98.38.249.169)
20:43:07 <geekosaur> lots of people get this wrong because they assume the OS being concurrent means it can't happen, when *their program* must be concurrent in some sense to prevent it
20:43:27 <tomsmeding> which can be within one thread if you program carefully
20:43:55 × yauhsien quits (~yauhsien@61-231-22-20.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
20:44:11 <tomsmeding> good advice though
20:44:24 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Remote host closed the connection)
20:44:40 × pgib quits (~textual@173.38.117.87) (Ping timeout: 256 seconds)
20:44:40 <monochrom> Oh, I know of an even more fantastic fantasy of automatic concurrency.
20:44:53 × kmein quits (~weechat@user/kmein) (Ping timeout: 256 seconds)
20:44:53 × son0p quits (~ff@181.136.122.143) (Ping timeout: 256 seconds)
20:44:53 × barrucadu quits (~barrucadu@carcosa.barrucadu.co.uk) (Ping timeout: 256 seconds)
20:45:17 barrucadu joins (~barrucadu@carcosa.barrucadu.co.uk)
20:45:27 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Ping timeout: 256 seconds)
20:45:27 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
20:45:27 × fabfianda quits (~fabfianda@mob-5-90-252-134.net.vodafone.it) (Ping timeout: 256 seconds)
20:45:27 × jinsun quits (~quassel@user/jinsun) (Ping timeout: 256 seconds)
20:45:27 × wz1000 quits (~zubin@static.11.113.47.78.clients.your-server.de) (Ping timeout: 256 seconds)
20:45:28 kmein joins (~weechat@user/kmein)
20:45:39 <monochrom> I had a student who thought that just because you have called "listen(10)", it means when you call "accept(s)" it can talk to 10 clients concurrently.
20:45:44 deadmarshal joins (~deadmarsh@95.38.116.22)
20:45:46 wz1000 joins (~zubin@static.11.113.47.78.clients.your-server.de)
20:46:05 <tomsmeding> as if by magic ✨
20:46:16 <tomsmeding> mutable state doesn't exist
20:47:53 × AlexNoo quits (~AlexNoo@178.34.151.83) (Read error: Connection reset by peer)
20:48:19 AlexNoo joins (~AlexNoo@178.34.151.83)
20:50:03 × deadmarshal quits (~deadmarsh@95.38.116.22) (Ping timeout: 256 seconds)
20:51:59 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
20:52:16 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
20:53:20 <zincy_> monochrom: What so opening a concurrent connection means everything automatically works concurrently?
20:54:49 <EvanR> if I just have a haskell file and no project, can I possibly use vector without dealing with a "system package"
20:55:03 <monochrom> You write an accept-interact-close loop. You find that after the 1st client has connected, your loop is unresponsive to future clients.
20:55:14 <monochrom> You think that listen(big number) solves that.
20:56:05 <monochrom> Or rather, s/you/my student/
20:56:10 <tomsmeding> cabal repl -b vector --repl-options=yourfile.hs, but make sure that it has a module header otherwise it won't work
20:56:18 <dsal> EvanR: I'm afraid you're going to need to install NixOS and start using stack.
20:56:25 <zincy_> I am your student just not on your course
20:56:37 <geekosaur> cabal has scripts, they're just poorly documented
20:57:29 <dsal> Data.Map.Strict.partition is ~10x slower than Data.Map.Strict.filter when I end up matching slightly less than one item on average.
20:57:31 acidjnk_new joins (~acidjnk@p200300d0c7271e5135c37e9089e8a354.dip0.t-ipconnect.de)
20:58:17 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
20:59:05 <EvanR> dsal, lol
21:00:15 <EvanR> tomsmeding, k that's something
21:00:44 <sm> EvanR: certainly, use a stack script
21:00:52 <EvanR> :|
21:01:07 <EvanR> I might as well just create a cabal project
21:01:09 <sm> or a cabal script if you don't like stack, it's just not quite as good
21:01:21 <sm> you asked for no project
21:01:30 jinsun__ is now known as jinsun
21:01:30 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Remote host closed the connection)
21:01:34 <tomsmeding> but yeah also cabal script https://cabal.readthedocs.io/en/3.4/cabal-commands.html?highlight=script#cabal-v2-run
21:01:37 <EvanR> a stack script is less?
21:01:56 <EvanR> I haven't had to install stack this go around with haskell
21:02:05 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
21:02:10 <sm> a stack/cabal script is less than a project, yes (but still reproducible)
21:02:28 <sm> they're great
21:03:10 <EvanR> cool
21:03:25 JimL joins (~quassel@89-162-2-132.fiber.signal.no)
21:04:57 <EvanR> so a cabal script is a script that cabal runs... and the language is haskell?
21:05:19 <sm> yes
21:05:20 × hgolden quits (~hgolden2@cpe-172-114-81-123.socal.res.rr.com) (Remote host closed the connection)
21:05:37 × bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Remote host closed the connection)
21:06:36 <sm> https://docs.haskellstack.org/en/stable/GUIDE/#script-interpreter
21:06:59 <EvanR> that's awesome
21:07:28 coolnickname joins (~coolnickn@73.194.7.51.dyn.plus.net)
21:07:47 <EvanR> does it cache the compiled exe
21:08:04 <sm> stack does, cabal doesn't
21:09:01 trillp joins (~user@69.233.98.238)
21:10:27 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
21:13:31 <fgaz> EvanR: you could also use cabal-env to create an enviroment with the packages you need then use ghc directly
21:13:56 <EvanR> and that's different from just creating a cabal project? xD
21:16:24 <fgaz> it's... less declarative
21:17:08 <fgaz> it works great for quick experiments for example
21:17:26 <fgaz> long term i'd definitely create a project though
21:19:06 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:19:24 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:21:04 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:21:23 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:23:03 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:23:21 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:23:45 <EvanR> cool, the cabal script works and runs
21:23:56 <EvanR> and using vector instead of list is much faster
21:24:19 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
21:24:21 <EvanR> and running the script itself now has high latency due to compilation I guess xD
21:24:53 curiousgay joins (~curiousga@77-120-141-90.kha.volia.net)
21:25:02 <sm> yes, cabal compiles it every time
21:25:13 <sm> nullifying the advantage a bit
21:25:30 <EvanR> some unfortunate infrastructure overhead just to use arrays hehe
21:27:35 yauhsien joins (~yauhsien@61-231-32-247.dynamic-ip.hinet.net)
21:29:09 geekosaur wonders if there's some way to abuse ccache into being hcache
21:32:08 × yauhsien quits (~yauhsien@61-231-32-247.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
21:32:23 × axeman quits (~quassel@2a02:8109:a3c0:b10:90ba:bdb8:fd93:c610) (Quit: No Ping reply in 180 seconds.)
21:33:38 axeman joins (~quassel@2a02:8109:a3c0:b10:814a:ccac:5077:2ffa)
21:36:28 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:36:47 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:38:34 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:38:51 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:40:31 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:40:49 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:42:29 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:42:47 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:42:51 × burnsidesLlama quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Remote host closed the connection)
21:47:47 jgeerds joins (~jgeerds@55d4ac73.access.ecotel.net)
21:48:30 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
21:50:41 × zincy_ quits (~zincy@host86-181-60-139.range86-181.btcentralplus.com) (Remote host closed the connection)
21:51:57 vgtw joins (~vgtw@c-2359205c.07-348-756d651.bbcust.telenor.se)
21:53:50 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:54:07 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:55:47 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
21:56:05 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
21:57:00 × xff0x quits (~xff0x@2001:1a81:53e7:c700:798e:f8b0:91f3:38f8) (Ping timeout: 268 seconds)
21:57:26 jstolarek joins (~jstolarek@137.220.120.162)
21:57:35 xff0x joins (~xff0x@2001:1a81:53e7:c700:ae6c:946a:bfb4:e41d)
21:58:32 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
21:59:45 <EvanR> Vector.modify is documented as doing in-place update if possible other makes a copy. Is this real? I.e. does it ever not just make a copy
22:00:21 × briandaed quits (~jaroslawj@185.234.208.208.r.toneticgroup.pl) (Quit: Lost terminal)
22:00:39 <EvanR> otherwise*
22:02:00 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3)
22:02:12 <int-e> EvanR: I'd take this as code-speak for fusion, so if you modify a freshly created vector it'll just create one
22:03:15 <int-e> let's see if I understand the code well enough to figure out whether there's more to it
22:03:22 <EvanR> haha yeah I tried
22:04:04 <EvanR> clone creates a New wrapper, so maybe the optimizer can recognize that and avoid a copy
22:04:56 zincy_ joins (~zincy@2a00:23c8:970c:4801:f9b9:ddeb:6361:fc1a)
22:06:41 <int-e> e.g. there's a rule like this, `"clone/new [Vector]" forall p. clone (new p) = p` and `modify` is implemented as `modify p = new . New.modify p . clone`
22:07:20 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds)
22:07:33 <EvanR> so clone and new cancel
22:07:47 <EvanR> if you chain modifies, it only creates 1 new
22:07:55 <int-e> where `clone :: Vector v a => v a -> New v a` and `new :: Vector v a => New v a -> v a` switch between vector and vector-being-initialized (really a wrapper around ST)
22:08:37 × vgtw quits (~vgtw@c-2359205c.07-348-756d651.bbcust.telenor.se) (Ping timeout: 252 seconds)
22:08:40 <int-e> so yeah it still looks like code-speak for fusion :)
22:09:05 <EvanR> that's pretty slick
22:09:10 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
22:09:27 × zincy_ quits (~zincy@2a00:23c8:970c:4801:f9b9:ddeb:6361:fc1a) (Client Quit)
22:09:41 zincy_ joins (~zincy@2a00:23c8:970c:4801:f9b9:ddeb:6361:fc1a)
22:10:46 × xff0x quits (~xff0x@2001:1a81:53e7:c700:ae6c:946a:bfb4:e41d) (Ping timeout: 245 seconds)
22:11:48 xff0x joins (~xff0x@2001:1a81:53e7:c700:da53:be98:ac38:235d)
22:13:49 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
22:14:07 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
22:14:36 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:14:41 × nrl^ quits (~nrl@68.101.58.90) (Remote host closed the connection)
22:17:13 × awschnap quits (~lavaman@98.38.249.169) (Remote host closed the connection)
22:17:23 × zincy_ quits (~zincy@2a00:23c8:970c:4801:f9b9:ddeb:6361:fc1a) (Remote host closed the connection)
22:19:47 × neurocyte0132889 quits (~neurocyte@user/neurocyte) (Read error: Connection reset by peer)
22:20:55 neurocyte0132889 joins (~neurocyte@user/neurocyte)
22:21:04 burnsidesLlama joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
22:22:55 jassob1 is now known as jassob
22:24:56 × jstolarek quits (~jstolarek@137.220.120.162) (Ping timeout: 252 seconds)
22:25:29 × burnsidesLlama quits (~burnsides@dhcp168-020.wadham.ox.ac.uk) (Ping timeout: 252 seconds)
22:26:15 vgtw joins (~vgtw@c-2359205c.07-348-756d651.bbcust.telenor.se)
22:29:07 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
22:29:25 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
22:31:05 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
22:31:23 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
22:31:55 dsrt^ joins (~dsrt@68.101.58.90)
22:33:11 × vgtw quits (~vgtw@c-2359205c.07-348-756d651.bbcust.telenor.se) (Ping timeout: 252 seconds)
22:35:21 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
22:35:40 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
22:36:22 × MoC quits (~moc@user/moc) (Quit: Konversation terminated!)
22:36:22 burnsidesLlama joins (~burnsides@dhcp168-020.wadham.ox.ac.uk)
22:37:51 vgtw joins (~vgtw@c-2359205c.07-348-756d651.bbcust.telenor.se)
22:43:51 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
22:44:10 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
22:46:27 fabfianda joins (~fabfianda@net-109-115-246-237.cust.vodafonedsl.it)
22:46:36 madjestic joins (~madjestic@88-159-247-120.fixed.kpn.net)
22:50:05 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
22:50:24 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
22:52:04 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
22:52:22 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
22:53:28 rusty joins (~rustyboy@2a02:2f0e:5610:ab00:b16b:f583:26df:4061)
22:54:12 × max22- quits (~maxime@2a01cb0883359800761b1c69d9198b7f.ipv6.abo.wanadoo.fr) (Quit: Leaving)
22:56:19 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
22:56:38 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
22:57:45 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
22:58:16 × axeman quits (~quassel@2a02:8109:a3c0:b10:814a:ccac:5077:2ffa) (Ping timeout: 245 seconds)
22:59:24 geekosaur joins (~geekosaur@xmonad/geekosaur)
22:59:45 × curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Ping timeout: 256 seconds)
23:00:32 <juri_> grr. infinite type error. oh, fun.
23:02:21 × fabfianda quits (~fabfianda@net-109-115-246-237.cust.vodafonedsl.it) (Read error: Connection reset by peer)
23:03:39 fabfianda joins (~fabfianda@net-109-115-246-237.cust.vodafonedsl.it)
23:04:16 debdut joins (~debdut@115.187.40.134)
23:04:52 <juri_> oh. remove the definitions, and it's all happy.
23:04:55 <juri_> crud.
23:06:16 lavaman joins (~lavaman@98.38.249.169)
23:07:24 × debdut quits (~debdut@115.187.40.134) (Client Quit)
23:08:12 debdut joins (~debdut@115.187.40.134)
23:08:34 × mc47 quits (~mc47@xmonad/TheMC47) (Quit: Leaving)
23:11:05 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
23:12:32 <EvanR> an infinite error you say
23:12:36 <EvanR> > fix error
23:12:37 <lambdabot> "*Exception: *Exception: *Exception: *Exception: *Exception: *Exception: *Ex...
23:12:57 × debdut quits (~debdut@115.187.40.134) (Client Quit)
23:14:05 yauhsien joins (~yauhsien@61-231-32-247.dynamic-ip.hinet.net)
23:14:15 × CiaoSen quits (~Jura@p200300c9570204002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
23:14:25 pavonia joins (~user@user/siracusa)
23:16:12 debdut joins (~debdut@115.187.40.134)
23:16:17 × rusty quits (~rustyboy@2a02:2f0e:5610:ab00:b16b:f583:26df:4061) (Remote host closed the connection)
23:16:32 <hololeap> there's a potential semigroup on (Bool, a) where it stops at (True, a) and ignores any farther arguments. is there a name for this?
23:17:24 curiousgay joins (~curiousga@77-120-141-90.kha.volia.net)
23:18:27 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
23:18:39 × yauhsien quits (~yauhsien@61-231-32-247.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
23:19:23 × xff0x quits (~xff0x@2001:1a81:53e7:c700:da53:be98:ac38:235d) (Ping timeout: 252 seconds)
23:20:01 xff0x joins (~xff0x@2001:1a81:53e7:c700:4988:289c:a66b:6fe)
23:20:33 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
23:22:07 <hololeap> kind of a hybrid between First and Any
23:23:04 <EvanR> by just mapping to First you don't need to answer this xD
23:26:04 <EvanR> is there a way to "stick an a" on any semigroup like that and have it make sense... I guess not
23:26:36 <EvanR> there's Tagged but that's a phantom
23:28:03 <hololeap> that's true, I could foldMap (f :: a -> First a)
23:29:45 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
23:30:04 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
23:30:24 <EvanR> was thinking (Bool,a) -> First a
23:30:38 <EvanR> oh, tuple foldable
23:30:49 <maerwald> "lol" </> "/bar" -> "/bar" -- another bug on windows :p
23:31:37 <EvanR> no laughing on windows 👔
23:32:06 <maerwald> "/bar" on windows is equivalent to "bar", so the result should be "lol\\bar"
23:32:43 × zebrag quits (~chris@user/zebrag) (Remote host closed the connection)
23:36:19 zebrag joins (~chris@user/zebrag)
23:36:48 × debdut quits (~debdut@115.187.40.134) (Quit: debdut)
23:38:28 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
23:38:46 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
23:39:08 <juri_> windows. nevermore.
23:40:20 <sm> listening to a recent SPJ podcast interview, I was reminded that in a sense, it's Windows users that have paid for Haskell
23:41:42 <juri_> good. getting something good from evil does not mean you owe fealty to evil. you should congratulate those who held the line against evil, and move on.
23:41:45 <maerwald> they never paid me any money
23:42:12 <sm> microsoft paid SPJ (at least) to do whatever he wanted (GHC maintenance) for years
23:42:20 <EvanR> surprised to see accursedUnutterablePerformIO in latest bytestring code xD
23:42:29 × ss4 quits (~wootehfoo@user/wootehfoot) (Quit: Leaving)
23:42:31 <EvanR> thought that was censored a while back
23:42:38 × johnw quits (~johnw@2607:f6f0:3004:1:c8b4:50ff:fef8:6bf0) (Quit: ZNC - http://znc.in)
23:42:45 <sm> microsoft's money came from Windows users. Therefore, we should kind of thank windows users once in a while
23:43:06 <EvanR> anyway, is there a sane way to fold over 2 bytes at a time
23:43:46 × vgtw quits (~vgtw@c-2359205c.07-348-756d651.bbcust.telenor.se) (Quit: ZNC - https://znc.in)
23:45:37 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
23:45:54 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
23:46:38 <juri_> sm: windows users don't donate to microsoft. they pay, or they can't use their computers. thanking someone for being a victim is not healthy.
23:47:32 cowgirl joins (~coderobe@archlinux/trusteduser/coderobe)
23:47:36 cowgirl parts (~coderobe@archlinux/trusteduser/coderobe) (Killed (K-Lined))
23:48:32 <EvanR> I'm a windows user and I didn't pay
23:48:46 <EvanR> only occasionally I can't read whatever is behind the watermark
23:49:13 <EvanR> ghcup on windows works great thanks for that
23:49:36 vgtw joins (~vgtw@c-2359205c.07-348-756d651.bbcust.telenor.se)
23:49:41 × alx741 quits (~alx741@186.178.108.253) (Ping timeout: 256 seconds)
23:49:45 axeman joins (~quassel@2a02:8109:a3c0:b10:7b24:ebdc:13ed:79b5)
23:50:02 <maerwald[m]> EvanR: I accept bitcoin
23:50:51 <maerwald[m]> ADA is too low right now :p
23:52:40 <geekosaur> microsoft's money didn't come from windows users. it came from *office* users
23:53:08 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
23:54:53 namkeleser joins (~namkelese@101.175.128.51)
23:54:59 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:56:39 × hskpractice quits (~hskpracti@94-255-217-215.cust.bredband2.com) (Remote host closed the connection)
23:56:56 hskpractice joins (~hskpracti@94-255-217-215.cust.bredband2.com)
23:57:05 × ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Read error: No route to host)
23:57:35 ezzieyguywuf joins (~Unknown@user/ezzieyguywuf)

All times are in UTC on 2021-12-04.