Home liberachat/#haskell: Logs Calendar

Logs on 2022-08-19 (liberachat/#haskell)

00:02:11 × califax quits (~califax@user/califx) (Remote host closed the connection)
00:02:43 × jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 252 seconds)
00:03:23 etra0 joins (~quassel@186-78-138-177.baf.movistar.cl)
00:03:53 califax joins (~califax@user/califx)
00:04:31 <qrpnxz> since methods just aren't a thing in haskell, it wasn't evident to me. If i had been doing, say, Go, i would've been there from the start. Rather interesting.
00:06:23 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
00:06:49 <yushyin> but functions associated with classes are called methods in haskell :P
00:09:35 <Cale> also, it's fair enough to model objects in Haskell with records of functions if that suits your application
00:10:17 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
00:10:37 <Cale> (and in fact, I'd recommend that sort of thing over defining a datatype as a sum if there are so many summands that the number of times you ever end up pattern matching is lower than the number of constructors of your type)
00:10:50 ChaiTRex joins (~ChaiTRex@user/chaitrex)
00:12:08 <qrpnxz> By methods i mean function associated with datatypes. Standard operating procedure in an OOP(ish) language is you create an object and it keeps track of some stuff for you, and you have operations on it. Then as a separate thing you have interfaces (in haskell typeclasses) which subsets of those operations meet. In haskell it's more just free floating data and doing stuff with it, but i wanted
00:12:10 <qrpnxz> data i could access and do stuff to and do some side-effects. I ended up with an effect that was basically a StateT IO, but that literally an object lol. It was just hidden from me that it was an object because i had been keeping it implicit in the Monad effect always, but its' useful to get that state in hand (exit the method chain 😉) and just have the state sometimes, when you do that it
00:12:13 <qrpnxz> become really obvious you were really working with an object all along
00:14:29 × jargon quits (~jargon@184.101.168.117) (Remote host closed the connection)
00:15:27 nate4 joins (~nate@98.45.169.16)
00:16:26 <Cale> The general pattern is to have a type which is just a record of functions corresponding to the types of the public methods / messages that you can send to your OOP object, and then rather than defining subclasses, you just define functions which build records of that type. They'll take all the "private" data as arguments, and if you want, you can avoid real mutable state by having objects that just return new objects
00:16:27 <Cale> of the same type rather than mutating (possibly by applying these constructor functions with new arguments)
00:17:47 <qrpnxz> ehhh, for my app i don't really need the dynamism of a record of functions. Top level is fine.
00:17:59 <qrpnxz> but that sounds could be useful
00:18:16 <Cale> Some large percentage of the time, that'll be all you need of OO, and all the stuff about subtyping was a red herring ;)
00:18:42 matthewmosior joins (~matthewmo@173.170.253.91)
00:18:53 <Cale> (because mostly it's just used to get hold of objects that have the same methods but work differently anyway)
00:19:07 <qrpnxz> inheritance very rarely needed in my experience. Go doesn't even have classes. Just methods and that's great.
00:19:22 <qrpnxz> (and interfaces of course, superpower)
00:21:12 <qrpnxz> Go has something called embedding that will forward methods for you to an inner object. That's neat if you want to forward a large interface.
00:21:26 <yushyin> qrpnxz: I know what you meant by that, I just wanted to make a little joke :)
00:21:50 <qrpnxz> ahhh ok :)
00:23:11 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
00:23:11 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
00:23:11 wroathe joins (~wroathe@user/wroathe)
00:25:28 stef204 joins (~stef204@user/stef204)
00:26:19 jmorris joins (uid537181@id-537181.uxbridge.irccloud.com)
00:35:10 beteigeuze1 joins (~Thunderbi@2001:8a0:7d92:3b01:34e5:5642:a1e2:df48)
00:36:51 × beteigeuze quits (~Thunderbi@168.182.177.239) (Ping timeout: 248 seconds)
00:36:51 beteigeuze1 is now known as beteigeuze
00:48:19 × freemint quits (~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607) (Ping timeout: 256 seconds)
00:49:41 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 255 seconds)
01:00:27 <zzz> is anyone familiar.with both vty and ansi-terminal? i'm trying to choose one for making simple visualizations
01:04:14 jargon joins (~jargon@184.101.168.117)
01:10:27 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:10:59 × xff0x quits (~xff0x@ap007189.d.east.v6connect.net) (Ping timeout: 248 seconds)
01:16:35 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:18:59 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds)
01:26:57 × d34df00d quits (~d34df00d@2600:1700:8c60:3a10::46) (Remote host closed the connection)
01:28:15 merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl)
01:31:23 × mikoto-chan quits (~mikoto-ch@mobile-access-2e8419-147.dhcp.inet.fi) (Ping timeout: 256 seconds)
01:33:23 × bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 248 seconds)
01:37:37 × mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 256 seconds)
01:38:47 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 252 seconds)
01:41:38 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
01:43:34 vysn joins (~vysn@user/vysn)
01:45:08 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
01:46:14 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
01:49:05 × Inst quits (~Inst@2601:6c4:4080:3f80:8497:52c0:a7ea:bbfa) (Ping timeout: 255 seconds)
01:50:12 <g> zzz: those two exist at different levels of abstraction completely
01:54:11 xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
01:55:07 <jackdk> g: do you know if anyone else is maintaining `cereal`? I have a PR that I would like to see get in: https://github.com/GaloisInc/cereal/pull/97
01:55:08 mikoto-chan joins (~mikoto-ch@mobile-access-2e8419-147.dhcp.inet.fi)
01:55:45 × beteigeuze quits (~Thunderbi@2001:8a0:7d92:3b01:34e5:5642:a1e2:df48) (Ping timeout: 256 seconds)
01:55:47 × vysn quits (~vysn@user/vysn) (Quit: WeeChat 3.5)
01:55:54 <g> I consider it deprecated and on life support. I don't think anyone else is watching it
01:56:29 <g> It exists from a time before binary adapted its improvements
01:56:41 <g> Adopted*
01:58:01 vysn joins (~vysn@user/vysn)
02:02:43 × merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 248 seconds)
02:03:06 <g> I'll merge that; I just haven't been doing Haskell stuff for a bit
02:03:43 × luffy quits (~chenqisu1@183.217.201.23) (Ping timeout: 252 seconds)
02:06:27 <jackdk> Thanks. I'm not wedded to any particular library and I see that binary also got a release this month. Should I migrate off cereal onto binary instead?
02:07:06 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
02:11:03 × crns quits (~netcrns@user/crns) (Ping timeout: 268 seconds)
02:11:51 crns joins (~netcrns@p5dc33362.dip0.t-ipconnect.de)
02:11:51 × crns quits (~netcrns@p5dc33362.dip0.t-ipconnect.de) (Changing host)
02:11:51 crns joins (~netcrns@user/crns)
02:21:07 luffy joins (~chenqisu1@183.217.200.212)
02:21:53 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
02:23:14 nate4 joins (~nate@98.45.169.16)
02:23:31 × td_ quits (~td@muedsl-82-207-238-008.citykom.de) (Ping timeout: 248 seconds)
02:25:17 td_ joins (~td@94.134.91.58)
02:34:25 matthewmosior joins (~matthewmo@173.170.253.91)
02:38:25 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
02:39:13 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
02:56:32 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
02:56:38 matthewmosior joins (~matthewmo@173.170.253.91)
02:58:55 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
03:00:39 justsomeguy joins (~justsomeg@user/justsomeguy)
03:01:39 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 252 seconds)
03:02:03 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
03:02:42 matthewmosior joins (~matthewmo@173.170.253.91)
03:05:39 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
03:06:40 × jero98772 quits (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) (Remote host closed the connection)
03:07:21 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
03:11:07 × vglfr quits (~vglfr@145.224.94.248) (Read error: Connection reset by peer)
03:11:17 vglfr joins (~vglfr@145.224.94.248)
03:11:53 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
03:13:30 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
03:15:35 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 252 seconds)
03:15:47 × vysn quits (~vysn@user/vysn) (Ping timeout: 248 seconds)
03:17:55 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 248 seconds)
03:18:38 × zmt01 quits (~zmt00@user/zmt00) (Quit: Leaving)
03:23:44 zmt00 joins (~zmt00@user/zmt00)
03:23:45 × Vajb quits (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) (Read error: Connection reset by peer)
03:24:17 Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi)
03:26:02 matthewmosior joins (~matthewmo@173.170.253.91)
03:28:31 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
03:34:06 × stef204 quits (~stef204@user/stef204) (Quit: WeeChat 3.6)
03:45:40 × vglfr quits (~vglfr@145.224.94.248) (Ping timeout: 256 seconds)
03:48:12 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
03:52:35 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 248 seconds)
03:58:48 merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl)
04:01:26 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
04:02:00 stiell joins (~stiell@gateway/tor-sasl/stiell)
04:04:57 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
04:05:25 chexum joins (~quassel@gateway/tor-sasl/chexum)
04:11:08 nate4 joins (~nate@98.45.169.16)
04:12:04 vglfr joins (~vglfr@145.224.94.221)
04:12:23 iqubic joins (~iqubic@2601:602:9502:c70:a0c2:a899:16cf:ad56)
04:12:52 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
04:17:25 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds)
04:17:52 × Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer)
04:18:01 Vajb joins (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8)
04:19:05 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
04:21:01 <iqubic> Alright... I'm looking to create a function of the type "Ord a => [a] -> Maybe [a]" which generates the next lexicographical permutation, if one exists. Do you folks think that List is the right data structure for this function to use? For my purposes, I need all 6! permutations of six elements in lexicographical order. Is there a better way to do
04:21:02 <iqubic> this than just starting at the beginning and just generating permutations one at a time?
04:21:27 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
04:21:47 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
04:21:57 × mikoto-chan quits (~mikoto-ch@mobile-access-2e8419-147.dhcp.inet.fi) (Ping timeout: 252 seconds)
04:21:57 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
04:22:11 <iqubic> Actually that's not even what I need. I need a way to take a list of "Ord a => [a]" and figure out where in the list of all lexicographical permutations of that length it falls.
04:22:20 stiell joins (~stiell@gateway/tor-sasl/stiell)
04:25:54 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 256 seconds)
04:28:09 × kimjetwav quits (~user@2607:fea8:235e:b600:e431:ef6a:50a6:3d1a) (Quit: reboot time)
04:29:56 <iqubic> How would I construct such a function?
04:32:19 nate4 joins (~nate@98.45.169.16)
04:33:16 × merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
04:34:46 chexum_ joins (~quassel@gateway/tor-sasl/chexum)
04:34:47 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 268 seconds)
04:36:40 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds)
04:37:11 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
04:38:17 <Axman6> next xs = listToMaybe . dropWhile (<= xs) . sort . permutations $ xs -- :p
04:39:04 <iqubic> Is that efficient?
04:39:19 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
04:39:21 <iqubic> Also, what is the dropWhile doing?
04:40:03 <iqubic> Really I just need "sort . permutations" though.
04:40:29 <iqubic> And is the "sort . permutations" efficient?
04:41:46 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 256 seconds)
04:44:08 <Solid> I mean it generates a list of length n!, so no, but if you just go up to 6! anyways then it shouldn't matter
04:45:40 mikoto-chan joins (~mikoto-ch@mobile-access-2e8419-147.dhcp.inet.fi)
04:47:04 × justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 244 seconds)
04:47:17 <iqubic> Is there a more efficient way of generating these permutations?
04:47:27 × etra0 quits (~quassel@186-78-138-177.baf.movistar.cl) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
04:55:03 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 268 seconds)
05:03:41 <dsal> It's possible. If you have a working implementation, you can decide whether it's fast enough and have something to compare to for correctness and performance differences to if you decide to try making something faster.
05:04:13 <iqubic> I see.
05:08:20 nate4 joins (~nate@98.45.169.16)
05:11:44 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
05:13:07 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds)
05:16:20 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 256 seconds)
05:18:59 × mikoto-chan quits (~mikoto-ch@mobile-access-2e8419-147.dhcp.inet.fi) (Ping timeout: 248 seconds)
05:19:49 mikoto-chan joins (~mikoto-ch@mobile-access-2e8419-147.dhcp.inet.fi)
05:20:02 coot joins (~coot@213.134.176.158)
05:22:54 <Axman6> I'm sure there probably is an efficient algorithm from going from one permutation to its lexicographically next permutation, but I'm not sure what it would look like
05:23:28 <iqubic> I'm going to need all 6! permutations in order.
05:23:32 <Axman6> https://www.geeksforgeeks.org/lexicographically-next-permutation-in-cpp/
05:27:35 <iqubic> Axman6: That's just using a built in function lol
05:27:45 <iqubic> So, I'm still an ignorant girl...
05:28:39 <Axman6> oh, ha - I didn't read that far in :)
05:28:51 <Axman6> https://stackoverflow.com/questions/17745870/how-does-this-algorithm-for-generating-the-next-lexicographically-ordered-permut is probably more useful as it seems to explain the algorithm
05:29:57 <iqubic> That seems like an imperative algorithm. Is there an easy way to "swap to elements in a list" in Haskell?
05:32:02 <Axman6> if you're careful you can return pass around functions which place a given element at a certain location pretty easily
05:32:34 <iqubic> Huh?!?!
05:32:59 <Axman6> > (\n -> 1:2:3:n:5:6:[
05:33:01 <lambdabot> <hint>:1:21: error:
05:33:02 <lambdabot> parse error (possibly incorrect indentation or mismatched brackets)
05:33:05 <Axman6> > (\n -> 1:2:3:n:5:6:[]) 10
05:33:07 <lambdabot> [1,2,3,10,5,6]
05:33:27 <iqubic> I see.
05:33:41 <iqubic> How does that help me with the next permutation problem?
05:37:08 <Axman6> because if you're careful you can use that to swap the two elements of a list fairly efficiently once you find them
05:37:35 × jargon quits (~jargon@184.101.168.117) (Remote host closed the connection)
05:37:53 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
05:38:11 <jackdk> Although some kind of small array type is likely to be more efficient than a list
05:39:28 <Axman6> yeah ST might make it easier to crib from the imperative algorithms
05:40:10 <iqubic> I've never used ST
05:40:51 <Axman6> One day, I had also never used ST, but then I did, and then I had
05:41:14 <iqubic> Is ST hard?
05:41:21 <jackdk> `runST $ do { your imperative stuff in the ST monad}` but you get a pure result
05:41:41 <jackdk> because of type-level tricks which prevent it from doing anything with _observable_ side effects
05:41:56 <iqubic> I see.
05:41:58 <Axman6> it';s just imperative programming with slightly less succinct syntax for array access
05:42:18 <Axman6> Guaranteed Pure^{TM}
05:42:25 × mikoto-chan quits (~mikoto-ch@mobile-access-2e8419-147.dhcp.inet.fi) (Ping timeout: 256 seconds)
05:42:27 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 248 seconds)
05:42:46 <jackdk> Pure™... What is your goal here, by the way? I missed that part of the discussion. I get that we're looking for next lexicographic permutation, but why?
05:43:12 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
05:43:19 <iqubic> I never stated why.
05:45:24 <iqubic> How does ST work? How does one use it?
05:45:49 <c_wraith> jackdk already showed how it works above.
05:46:07 <Axman6> https://wiki.haskell.org/Monad/ST
05:46:29 <iqubic> What's the api for `do imperative stuff`?
05:46:32 <c_wraith> It's literally the same as using IORefs/IOArrays/Vectors, except things are named with ST instead of IO.
05:46:44 <jackdk> :t runST
05:46:45 <lambdabot> (forall s. ST s a) -> a
05:46:46 <c_wraith> and you put a runST on the outside to contain it
05:46:50 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
05:46:56 <iqubic> I don't know how IORefs or any of that work
05:47:16 <Axman6> you can use https://hackage.haskell.org/package/vector-0.13.0.0/docs/Data-Vector-Mutable.html
05:47:27 <Axman6> look at the types, they tell you basically everything you need to know
05:47:40 <iqubic> Is Vector in base?
05:47:42 <c_wraith> Maybe start with an IO version. The types are a little simpler.
05:47:47 × mud quits (~mud@user/kadoban) (Ping timeout: 248 seconds)
05:47:48 <jackdk> If this is a learning exercise, I would suggest maybe just bashing out something not especially performant using lists
05:47:54 kadobanana joins (~mud@user/kadoban)
05:48:13 <iqubic> This is just learning excersie, yeah.
05:48:24 <jackdk> and getting used to things like monadic I/O rather than micro-optimising this one problem (as much as making things fast is Axman6 's jam)
05:48:25 <iqubic> *exercise
05:48:40 <jackdk> In >5 years of industrial programming, I've never used runST
05:48:46 <iqubic> I know how Monadic I/O works.
05:48:50 <Axman6> swap :: Int -> Int -> MVector s a -> ST s (); swap i j vec = do {x <- read vec i; y <- read vec j; write vec i y; write vec j x; }
05:49:01 <iqubic> I'll use that.
05:49:27 × k8yun quits (~k8yun@user/k8yun) (Quit: Leaving)
05:49:32 <jackdk> then if you do want to stick with that, learn how to do it with mutable vectors in IO, then learn ST if you want but you could also delay learning that
05:49:39 <c_wraith> I mostly use runST to demonstrate how unsafeInterleaveST is *so much* worse than unsafeInterleaveIO
05:49:50 k8yun joins (~k8yun@user/k8yun)
05:50:27 × k8yun quits (~k8yun@user/k8yun) (Remote host closed the connection)
05:51:28 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 256 seconds)
05:51:37 <Axman6> mkVec xs = do { generate (length xs) (xs !!) } -- this is shit but will work
05:52:16 <c_wraith> doesn't vector have backpermute for that?
05:54:44 <iqubic> What's that do Axman?
05:55:33 Solid parts (~slot@xmonad/slotThe) (WeeChat 3.6)
06:01:58 biberu joins (~biberu@user/biberu)
06:02:44 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
06:02:52 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
06:03:28 ChaiTRex joins (~ChaiTRex@user/chaitrex)
06:04:06 <Axman6> makes a vector out of a list
06:04:37 mbuf joins (~Shakthi@122.165.55.71)
06:05:41 nilradical joins (~nilradica@user/naso)
06:06:59 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 248 seconds)
06:08:29 × martin02 quits (~silas@141.84.69.76) (Ping timeout: 256 seconds)
06:11:19 Guest77 joins (~Guest77@2409:4072:78b:1c64:53ba:8bf1:c84c:c5f3)
06:11:35 <Guest77> greetings
06:12:13 <Axman6> Hello!
06:12:58 × Guest77 quits (~Guest77@2409:4072:78b:1c64:53ba:8bf1:c84c:c5f3) (Client Quit)
06:13:15 <iqubic> Thank you all for helping a lady out. Some people don't think that woman should be in tech.
06:13:23 <iqubic> Especially not a trans woman like me
06:13:41 <Axman6> Given your name, I just assumed you were a sentient Apple product :p
06:13:56 <iqubic> Nope
06:14:04 × azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 268 seconds)
06:14:12 <iqubic> I'm a trans woman who uses she/her pronouns
06:15:52 isrpr joins (~isrpr@179-97-26-159.onixnet.net.br)
06:17:26 <dsal> We have a lot of female engineers at work.
06:17:37 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
06:17:43 <dsal> Anyone who says a particular class of people shouldn't be in tech probably shouldn't be in tech.
06:18:50 <iqubic> Welp, I guess you've just identified a class of people who shouldn't be in tech. Please get out. Lol JK. You can stay
06:19:06 <dsal> Stupid infinite recursion.
06:19:51 <Axman6> > let shouldn'tBeInTech _ = () in fix shouldn'tBeInTech
06:19:52 <lambdabot> ()
06:20:46 × isrpr quits (~isrpr@179-97-26-159.onixnet.net.br) (Quit: Client closed)
06:21:18 <Axman6> > let shouldn'tBeInTech x = x+x in fix shouldn'tBeInTech
06:21:21 <lambdabot> *Exception: <<loop>>
06:21:59 martin02 joins (~silas@141.84.69.76)
06:22:54 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 264 seconds)
06:26:25 MajorBiscuit joins (~MajorBisc@c-001-001-055.client.tudelft.eduvpn.nl)
06:29:30 merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl)
06:33:04 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
06:42:12 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
06:42:36 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
06:43:04 lortabac joins (~lortabac@2a01:e0a:541:b8f0:b9c0:d54b:40d8:d0f7)
06:43:14 nilradical joins (~nilradica@user/naso)
06:47:31 × nilradical quits (~nilradica@user/naso) (Ping timeout: 248 seconds)
06:55:58 × shriekingnoise quits (~shrieking@186.137.167.202) (Quit: Quit)
06:56:17 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:56:55 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:58:32 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
07:00:53 × califax quits (~califax@user/califx) (Remote host closed the connection)
07:01:21 califax joins (~califax@user/califx)
07:02:59 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 248 seconds)
07:04:01 × merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
07:05:59 × tcard quits (~tcard@p945242-ipngn9701hodogaya.kanagawa.ocn.ne.jp) (Quit: Leaving)
07:07:48 vysn joins (~vysn@user/vysn)
07:08:08 nilradical joins (~nilradica@user/naso)
07:09:05 jgeerds joins (~jgeerds@55d46bad.access.ecotel.net)
07:12:00 tcard joins (~tcard@p945242-ipngn9701hodogaya.kanagawa.ocn.ne.jp)
07:13:05 × kadobanana quits (~mud@user/kadoban) (Ping timeout: 256 seconds)
07:13:43 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
07:13:48 jil joins (~user@160.155.45.49)
07:13:50 <jil> hello
07:14:20 <jil> I'm trying to translate the term 'list comprehension' in french buth I don't understand where it came from ?
07:14:27 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
07:15:56 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
07:16:23 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
07:18:52 <lortabac> jil: the python docs call them "listes en compréhension"
07:18:55 <lortabac> https://docs.python.org/fr/3/tutorial/datastructures.html#list-comprehensions
07:19:18 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 256 seconds)
07:19:42 <lortabac> wikipedia uses the same term too
07:20:34 merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl)
07:20:43 <c_wraith> there's an interesting discussion of how little programming terms actually get translated at https://french.stackexchange.com/questions/19353/recommend-a-dictionary-of-computing-terminology
07:21:28 <iqubic> Is Vector in base?
07:21:41 <c_wraith> No, it's in vector
07:25:24 acidjnk_new joins (~acidjnk@p200300d6e7137a5105821a742c1d7cd6.dip0.t-ipconnect.de)
07:25:32 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 256 seconds)
07:30:10 matthewmosior joins (~matthewmo@173.170.253.91)
07:30:37 <jil> merci lortabac
07:32:35 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
07:33:37 nilradical joins (~nilradica@user/naso)
07:35:59 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
07:36:16 Midjak joins (~Midjak@82.66.147.146)
07:37:59 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
07:39:05 × nilradical quits (~nilradica@user/naso) (Ping timeout: 268 seconds)
07:40:09 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
07:42:16 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
07:43:29 × califax quits (~califax@user/califx) (Ping timeout: 268 seconds)
07:43:29 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 268 seconds)
07:44:44 califax joins (~califax@user/califx)
07:44:46 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
07:46:37 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
07:49:34 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 268 seconds)
07:51:34 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
07:51:37 benin0 joins (~benin@183.82.27.55)
07:52:59 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
07:55:17 <merijn> c_wraith: That's also because no one is trying :p
07:55:43 <merijn> c_wraith: Except for me, who tried to make his translated thesis summary as Dijkstra-ish as possible and I think it went pretty wel
07:55:49 <c_wraith> no one tries because no one tries
07:56:06 <arahael> Translators and those who read the translated docs often don't have the same skill set.
07:56:28 × iqubic quits (~iqubic@2601:602:9502:c70:a0c2:a899:16cf:ad56) (Quit: Client closed)
07:56:38 <arahael> It's a bit of a catch-22. You need to read and understnad the document before knowing hte best way to translate it. Once you've understood it, you're probably no-longer going to need to have it proeprly translated.
07:57:33 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 252 seconds)
07:59:35 <arahael> lortabac: I notice that the french wikipedia has the same translation: https://fr.wikipedia.org/wiki/Liste_en_compréhension
08:00:08 <arahael> Hmm, that's probably more for jil.
08:00:49 <arahael> Sadly doesn't cite any french resources.
08:02:06 nilradical joins (~nilradica@user/naso)
08:03:24 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
08:04:14 nilradical joins (~nilradica@user/naso)
08:06:51 gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de)
08:07:27 freemint joins (~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607)
08:10:22 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
08:11:46 × gurkenglas quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
08:12:48 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
08:13:56 × jil quits (~user@160.155.45.49) (Remote host closed the connection)
08:14:00 ccntrq joins (~Thunderbi@172.209.94.92.rev.sfr.net)
08:15:05 × califax quits (~califax@user/califx) (Quit: ZNC 1.8.2 - https://znc.in)
08:15:18 × cheater quits (~Username@user/cheater) (Quit: (BitchX) Nice shoes, wanna fuck?)
08:15:31 califax joins (~califax@user/califx)
08:16:08 cheater joins (~Username@user/cheater)
08:16:31 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
08:16:37 × nilradical quits (~nilradica@user/naso) (Ping timeout: 252 seconds)
08:21:01 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds)
08:22:25 nate4 joins (~nate@98.45.169.16)
08:24:03 × vglfr quits (~vglfr@145.224.94.221) (Ping timeout: 248 seconds)
08:25:47 fserucas|eod joins (~fserucas|@46.50.4.22)
08:27:15 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds)
08:27:53 newnew joins (~Me@185.103.89.75)
08:30:24 × luffy quits (~chenqisu1@183.217.200.212) (Remote host closed the connection)
08:30:50 luffy joins (~chenqisu1@183.217.200.212)
08:30:55 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:b9c0:d54b:40d8:d0f7) (Quit: WeeChat 2.8)
08:30:57 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
08:35:15 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 248 seconds)
08:37:41 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
08:39:12 lortabac joins (~lortabac@2a01:e0a:541:b8f0:6c83:30b3:8060:5262)
08:41:19 × newnew quits (~Me@185.103.89.75) (K-Lined)
08:42:52 nilradical joins (~nilradica@user/naso)
08:44:02 vglfr joins (~vglfr@145.224.94.199)
08:44:53 × MajorBiscuit quits (~MajorBisc@c-001-001-055.client.tudelft.eduvpn.nl) (Ping timeout: 256 seconds)
08:46:28 waldo joins (~waldo@user/waldo)
08:46:44 MajorBiscuit joins (~MajorBisc@46-229-126.internethome.cytanet.com.cy)
08:46:51 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
08:51:08 __monty__ joins (~toonn@user/toonn)
08:51:15 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 248 seconds)
08:52:02 matthewmosior joins (~matthewmo@173.170.253.91)
08:52:49 × MajorBiscuit quits (~MajorBisc@46-229-126.internethome.cytanet.com.cy) (Ping timeout: 256 seconds)
08:53:59 MajorBiscuit joins (~MajorBisc@c-001-001-055.client.tudelft.eduvpn.nl)
09:00:08 × cony_mony[m] quits (~conymonym@2001:470:69fc:105::2:2ea2) (Quit: You have been kicked for being idle)
09:00:10 × acidjnk_new quits (~acidjnk@p200300d6e7137a5105821a742c1d7cd6.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
09:00:11 × phuegrvs[m] quits (~phuegrvsm@2001:470:69fc:105::1:65e4) (Quit: You have been kicked for being idle)
09:00:29 × cheater quits (~Username@user/cheater) (Ping timeout: 268 seconds)
09:04:12 acidjnk_new joins (~acidjnk@p200300d6e7137a5105821a742c1d7cd6.dip0.t-ipconnect.de)
09:08:05 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:17:03 chomwitt joins (~chomwitt@2a02:587:dc16:4100:8dbb:3126:608b:4b4c)
09:18:31 Pickchea joins (~private@user/pickchea)
09:18:35 × benin0 quits (~benin@183.82.27.55) (Ping timeout: 252 seconds)
09:19:30 yvan-sraka joins (~yvan-srak@laubervilliers-657-1-202-212.w81-250.abo.wanadoo.fr)
09:19:49 × yvan-sraka quits (~yvan-srak@laubervilliers-657-1-202-212.w81-250.abo.wanadoo.fr) (Remote host closed the connection)
09:20:09 yvan-sraka joins (~yvan-srak@laubervilliers-657-1-202-212.w81-250.abo.wanadoo.fr)
09:20:38 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
09:21:39 cheater joins (~Username@user/cheater)
09:21:53 × waldo quits (~waldo@user/waldo) (Ping timeout: 252 seconds)
09:23:56 × califax quits (~califax@user/califx) (Remote host closed the connection)
09:23:57 × chomwitt quits (~chomwitt@2a02:587:dc16:4100:8dbb:3126:608b:4b4c) (Ping timeout: 268 seconds)
09:24:28 califax joins (~califax@user/califx)
09:25:55 × luffy quits (~chenqisu1@183.217.200.212) (Ping timeout: 248 seconds)
09:26:40 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
09:27:30 nilradical joins (~nilradica@user/naso)
09:27:45 luffy joins (~chenqisu1@183.217.200.212)
09:29:39 × cheater quits (~Username@user/cheater) (Ping timeout: 248 seconds)
09:29:46 benin0 joins (~benin@183.82.27.55)
09:30:08 cheater joins (~Username@user/cheater)
09:31:37 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
09:32:04 nilradical joins (~nilradica@user/naso)
09:34:36 notzmv joins (~zmv@user/notzmv)
09:35:46 cfricke joins (~cfricke@user/cfricke)
09:40:21 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
09:43:01 × yvan-sraka quits (~yvan-srak@laubervilliers-657-1-202-212.w81-250.abo.wanadoo.fr) (Remote host closed the connection)
09:43:54 CiaoSen joins (~Jura@p200300c95738a5002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
09:44:03 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 248 seconds)
09:52:01 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
09:53:20 chomwitt joins (~chomwitt@2a02:587:dc16:4100:f631:4899:ec57:c0c)
09:58:41 × chomwitt quits (~chomwitt@2a02:587:dc16:4100:f631:4899:ec57:c0c) (Ping timeout: 255 seconds)
10:05:05 mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec)
10:05:44 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
10:13:22 × cosimone quits (~user@93-44-186-171.ip98.fastwebnet.it) (Remote host closed the connection)
10:18:47 × feliix42 quits (~felix@gibbs.uberspace.de) (Ping timeout: 244 seconds)
10:19:05 feliix42 joins (~felix@gibbs.uberspace.de)
10:19:17 × mjacob quits (~mjacob@adrastea.uberspace.de) (Ping timeout: 244 seconds)
10:20:55 mjacob joins (~mjacob@adrastea.uberspace.de)
10:23:33 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
10:27:03 cosimone joins (~user@93-44-186-171.ip98.fastwebnet.it)
10:28:47 × luffy quits (~chenqisu1@183.217.200.212) (Remote host closed the connection)
10:29:48 Successus joins (~Successus@user/Successus)
10:31:24 × jmorris quits (uid537181@id-537181.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
10:33:30 luffy joins (~chenqisu1@183.217.200.212)
10:38:58 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
10:39:37 nilradical joins (~nilradica@user/naso)
10:41:05 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 268 seconds)
10:41:07 × xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 248 seconds)
10:42:13 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
10:44:27 × Pickchea quits (~private@user/pickchea) (Ping timeout: 256 seconds)
10:44:39 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
10:49:17 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
10:50:09 nilradical joins (~nilradica@user/naso)
10:50:43 × crns quits (~netcrns@user/crns) (Ping timeout: 248 seconds)
10:52:12 <tomsmeding> merijn: yes but you only did it for kicks
10:52:30 <tomsmeding> no one _really_ wants to program in a localised programming language nowadays
10:53:14 <tomsmeding> they exist -- Logo has it, and iirc Pyret also had it (but they removed it later)
10:57:28 × nilradical quits (~nilradica@user/naso) (Ping timeout: 256 seconds)
10:59:38 <tomsmeding> https://fr.wikipedia.org/wiki/Logo_(langage)#Primitives_graphiques
11:01:04 zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f)
11:05:29 kadobanana joins (~mud@user/kadoban)
11:05:55 × coot quits (~coot@213.134.176.158) (Quit: coot)
11:06:30 akegalj joins (~akegalj@141-136-174-63.dsl.iskon.hr)
11:17:38 crns joins (~netcrns@p5dc33362.dip0.t-ipconnect.de)
11:17:38 × crns quits (~netcrns@p5dc33362.dip0.t-ipconnect.de) (Changing host)
11:17:38 crns joins (~netcrns@user/crns)
11:23:39 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
11:24:32 stiell joins (~stiell@gateway/tor-sasl/stiell)
11:27:15 instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net)
11:29:50 nilradical joins (~nilradica@user/naso)
11:30:59 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
11:31:16 nilradical joins (~nilradica@user/naso)
11:31:47 × instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 248 seconds)
11:35:29 xff0x joins (~xff0x@2405:6580:b080:900:b0b1:b121:ed17:12e4)
11:35:40 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
11:36:32 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
11:40:50 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
11:46:37 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
11:56:01 sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
11:57:23 × luffy quits (~chenqisu1@183.217.200.212) (Ping timeout: 248 seconds)
11:58:04 eldritch_ joins (~eldritch@2804:7f4:8280:908a:e700:6e3a:767b:7bfb)
12:03:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
12:03:15 × acidjnk_new quits (~acidjnk@p200300d6e7137a5105821a742c1d7cd6.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
12:03:31 × nilradical quits (~nilradica@user/naso) (Remote host closed the connection)
12:04:32 nilradical joins (~nilradica@user/naso)
12:04:41 × xff0x quits (~xff0x@2405:6580:b080:900:b0b1:b121:ed17:12e4) (Ping timeout: 244 seconds)
12:06:45 xff0x joins (~xff0x@ap007189.d.east.v6connect.net)
12:09:02 matthewmosior joins (~matthewmo@173.170.253.91)
12:09:26 × nilradical quits (~nilradica@user/naso) (Ping timeout: 256 seconds)
12:09:32 <dminuoso> Im looking at the old internals of text, and a Text was a ByteArray together with an offset and length. Why exactly is that offset kept in there?
12:10:25 <Franciman> dminuoso: excuse moi, are ou referring to strict or lazy text?
12:10:27 <Franciman> sankyu
12:10:50 nilradical joins (~nilradica@user/naso)
12:11:05 <dminuoso> Well either, the lazy text is essentially just [T.Text]
12:11:34 <Franciman> maybe the offset helps computing the position when ou are amidst text pieces
12:11:50 <Franciman> in a feest wa
12:11:52 <Franciman> y
12:12:05 <Franciman> just random hypotheses, best would be to check
12:12:07 <dminuoso> The offset is not about computing, its rather that the text is essentially just what starts at the offset
12:12:07 <Franciman> keks
12:12:17 luffy joins (~chenqisu1@183.217.200.212)
12:12:40 <dminuoso> I mean some operations can become extremely fast like `uncons` because uncons just reads the character at the current offset, and returns the *same* shared ByteArray with just the offset adjusted.
12:12:57 <dminuoso> (Or `tail` in general)
12:14:29 <Franciman> ;)
12:14:51 <Franciman> i see
12:15:05 <merijn> tomsmeding: I think the notion of localising languages is mostly pointless, since programming languages aren't English, so translations wouldn't be whatever their translated either. i.e., there is no problem that "translation" actually solves
12:15:27 <dminuoso> Though I guess that alone is perhaps reason enough to keep it as length + offset
12:15:42 <merijn> dminuoso: The offset is because copying a subsection of a Text doesn't copy
12:15:54 <Franciman> merijn: do you mean that «where» is not an english word?
12:16:05 <merijn> dminuoso: i.e. splitting many sub-Text of one huge texts only requires keeping 1 copy of the original
12:16:06 <Franciman> or that it's relation to the english word «where» is not relevant at all for learning haskell
12:16:08 <Franciman> ?
12:16:34 <Franciman> in the second case let me just state that knowledge of the english language helps learning faster the meaning of the where construct
12:16:37 <Franciman> but sure
12:16:42 <merijn> Franciman: It's an English word, but english semantics don't apply. At best it can you a limited clue of what it may mean
12:16:44 <dminuoso> merijn: Is this a common operation?
12:16:49 <Franciman> i'm all in favour of a language where local bindings are introduced by «afompio»
12:17:00 <dminuoso> I really dont know how text is generally used for the most part
12:17:02 <Franciman> afompio x = 12 iortia 2 + x
12:17:03 <merijn> dminuoso: I would think so
12:17:09 <merijn> dminuoso: ByteString does the same
12:17:36 <Franciman> i totally suggest languages with 1 letter private keywords
12:17:44 <Franciman> like: l x = 1 i 2 + x
12:17:54 nate4 joins (~nate@98.45.169.16)
12:18:38 <merijn> Franciman: I mean, there's like, what 10 english keywords in 98% of languages all of which are known to essentially anyone above, say, 10 years old
12:19:21 <merijn> translation just means you can't effectively google because all resources are fractured per translation
12:21:52 <dminuoso> merijn: Okay I think I just understood why text-short is a thing.
12:22:13 <dminuoso> That one keeps just a compacted ByteArray# inside, without any offsets
12:22:54 <dminuoso> So we have zero-copy slices at the cost of 2 words in Text?
12:23:02 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds)
12:23:37 <merijn> dminuoso: Yes
12:24:25 <merijn> dminuoso: See also: https://hackage.haskell.org/package/text-2.0.1/docs/Data-Text.html#v:copy
12:24:56 <dminuoso> Ah yes, thats pretty cool
12:27:56 × AlexNoo quits (~AlexNoo@94.233.241.197) (Read error: Connection reset by peer)
12:28:14 jero98772 joins (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff)
12:28:19 AlexNoo joins (~AlexNoo@94.233.241.197)
12:36:35 <tomsmeding> it's also a _bit_ of a footgun if you accidentally hold onto a large bytestring just by keeping around a small slice of it :p
12:37:17 <tomsmeding> but it's super nice to be able to essentially get all the benefits of C++'s std::string_view without having to think about lifetimes
12:37:31 coot joins (~coot@213.134.176.158)
12:41:28 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
12:44:48 × nek0 quits (~nek0@2a01:4f8:222:2b41::12) (Quit: The Lounge - https://thelounge.chat)
12:48:27 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
12:55:48 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
13:00:02 nek0 joins (~nek0@2a01:4f8:222:2b41::12)
13:01:15 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
13:01:22 matthewmosior joins (~matthewmo@173.170.253.91)
13:01:37 × merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Quit: relog)
13:03:51 × luffy quits (~chenqisu1@183.217.200.212) (Ping timeout: 256 seconds)
13:07:48 NewbiePlumber joins (~NewbiePlu@2601:43:200:154f:f8b2:f8bc:c51:6567)
13:09:24 <NewbiePlumber> Is there a way to call GHC from a haskell script? I'm having trouble finding info about it, but I'm sure it's possible.
13:10:19 <NewbiePlumber> Specifically, calling GHC to compile a program, including the source of the script it's being called from.
13:10:38 <geekosaur> not sure I understand the question. ghc is available as a library, though; it's a pain to use directly, but there are libraries such as hint that make it easier
13:11:01 <geekosaur> but this sounds like it'd be easier to just use createProcess
13:11:19 <dminuoso> NewbiePlumber: https://hackage.haskell.org/package/ghc-9.2.4/docs/GHC-Driver-Pipeline.html
13:11:47 <NewbiePlumber> Wonderful, TY
13:11:55 <dminuoso> You say wonderful now.
13:12:05 <dminuoso> I will remind you when you come back. :-)
13:12:10 <NewbiePlumber> :)
13:13:40 <dminuoso> NewbiePlumber: Also look at https://hackage.haskell.org/package/ghc-9.2.4/docs/GHC-Driver-Make.html
13:15:42 benin06 joins (~benin@183.82.27.55)
13:16:44 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
13:17:02 Pickchea joins (~private@user/pickchea)
13:17:31 polyphem_ joins (~rod@2a02:810d:840:8754:21b3:55de:e4b1:a444)
13:18:00 × benin0 quits (~benin@183.82.27.55) (Ping timeout: 256 seconds)
13:18:01 benin06 is now known as benin0
13:19:31 × polyphem quits (~rod@2a02:810d:840:8754:224e:f6ff:fe5e:bc17) (Ping timeout: 248 seconds)
13:20:21 × jmd_ quits (~jmdaemon@user/jmdaemon) (Quit: ZNC 1.8.2 - https://znc.in)
13:22:51 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
13:22:55 jmdaemon joins (~jmdaemon@user/jmdaemon)
13:26:51 ccapndave joins (~ccapndave@2a02:1210:6cf0:6b00:4164:a2e6:3c4e:7446)
13:26:59 merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl)
13:30:28 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:6c83:30b3:8060:5262) (Ping timeout: 256 seconds)
13:32:18 × NewbiePlumber quits (~NewbiePlu@2601:43:200:154f:f8b2:f8bc:c51:6567) (Quit: Client closed)
13:33:25 × Pickchea quits (~private@user/pickchea) (Ping timeout: 252 seconds)
13:35:53 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
13:36:07 lortabac joins (~lortabac@2a01:e0a:541:b8f0:efea:8b97:b92a:dc65)
13:42:41 × megaTherion quits (~therion@unix.io) (Quit: ZNC 1.8.2 - https://znc.in)
13:43:04 × nilradical quits (~nilradica@user/naso) ()
13:44:28 megaTherion joins (~therion@unix.io)
13:48:18 × ccapndave quits (~ccapndave@2a02:1210:6cf0:6b00:4164:a2e6:3c4e:7446) (Quit: Textual IRC Client: www.textualapp.com)
13:49:35 × Kaiepi quits (~Kaiepi@142.68.249.28) (Read error: Connection reset by peer)
13:50:24 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds)
13:53:02 waldo joins (~waldo@user/waldo)
13:53:54 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
13:58:19 stiell joins (~stiell@gateway/tor-sasl/stiell)
13:58:57 × Igloo quits (~ian@matrix.chaos.earth.li) (Ping timeout: 268 seconds)
13:59:26 caffery156 joins (~caffery@user/caffery156)
14:00:30 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:00:42 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
14:03:08 shriekingnoise joins (~shrieking@186.137.167.202)
14:03:12 × akegalj quits (~akegalj@141-136-174-63.dsl.iskon.hr) (Quit: leaving)
14:04:09 bairyn is now known as ByronJohnson
14:13:17 gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de)
14:13:52 Pickchea joins (~private@user/pickchea)
14:17:10 matthewmosior joins (~matthewmo@173.170.253.91)
14:18:46 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds)
14:21:09 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
14:21:36 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
14:26:34 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
14:28:16 × benin0 quits (~benin@183.82.27.55) (Ping timeout: 256 seconds)
14:28:19 × CiaoSen quits (~Jura@p200300c95738a5002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
14:28:40 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:efea:8b97:b92a:dc65) (Quit: WeeChat 2.8)
14:30:11 Igloo joins (~ian@matrix.chaos.earth.li)
14:30:25 Sgeo joins (~Sgeo@user/sgeo)
14:30:50 × cosimone quits (~user@93-44-186-171.ip98.fastwebnet.it) (Remote host closed the connection)
14:31:51 cosimone joins (~user@93-44-186-171.ip98.fastwebnet.it)
14:32:34 benin0 joins (~benin@183.82.27.55)
14:41:56 × merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Quit: leaving)
14:49:12 kenran joins (~kenran@200116b82b7a7900db5466d8203a458a.dip.versatel-1u1.de)
14:52:11 matthewmosior joins (~matthewmo@173.170.253.91)
14:55:45 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.6)
14:56:35 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
14:57:25 × kenran quits (~kenran@200116b82b7a7900db5466d8203a458a.dip.versatel-1u1.de) (Quit: WeeChat info:version)
15:02:20 merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl)
15:04:35 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 248 seconds)
15:11:02 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
15:15:40 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
15:20:35 × polyphem_ quits (~rod@2a02:810d:840:8754:21b3:55de:e4b1:a444) (Ping timeout: 248 seconds)
15:21:52 polyphem_ joins (~rod@2a02:810d:840:8754:224e:f6ff:fe5e:bc17)
15:26:10 matthewmosior joins (~matthewmo@173.170.253.91)
15:30:36 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
15:35:09 × caffery156 quits (~caffery@user/caffery156) (Ping timeout: 256 seconds)
15:36:55 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
15:41:08 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
15:42:05 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
15:48:23 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
15:48:46 × ccntrq quits (~Thunderbi@172.209.94.92.rev.sfr.net) (Remote host closed the connection)
15:48:57 etra0 joins (~quassel@186-78-138-177.baf.movistar.cl)
15:49:34 × etra0 quits (~quassel@186-78-138-177.baf.movistar.cl) (Client Quit)
15:49:50 etra0 joins (~quassel@186-78-138-177.baf.movistar.cl)
15:50:57 × merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Quit: leaving)
15:51:21 merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl)
15:53:38 Guest6 joins (~Guest6@47.186.214.206)
15:58:11 pareto-optimal-d joins (~pareto-op@2001:470:69fc:105::1:b61f)
15:59:06 matthewmosior joins (~matthewmo@173.170.253.91)
16:00:29 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
16:03:53 matthewmosior joins (~matthewmo@173.170.253.91)
16:06:30 × fserucas|eod quits (~fserucas|@46.50.4.22) (Quit: Leaving)
16:06:41 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds)
16:07:07 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
16:08:02 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
16:08:30 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
16:09:48 matthewmosior joins (~matthewmo@173.170.253.91)
16:11:20 × Guest6 quits (~Guest6@47.186.214.206) (Quit: Client closed)
16:14:14 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
16:14:27 × jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 248 seconds)
16:17:18 darxun joins (sid504814@id-504814.tinside.irccloud.com)
16:18:25 stiell joins (~stiell@gateway/tor-sasl/stiell)
16:19:24 nate4 joins (~nate@98.45.169.16)
16:19:30 matthewmosior joins (~matthewmo@173.170.253.91)
16:20:00 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
16:20:44 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:21:04 stiell joins (~stiell@gateway/tor-sasl/stiell)
16:24:29 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds)
16:27:36 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
16:29:33 × sudden quits (~cat@user/sudden) (Ping timeout: 256 seconds)
16:33:05 jgeerds joins (~jgeerds@55d46bad.access.ecotel.net)
16:33:39 × sagax quits (~sagax_nb@user/sagax) (Ping timeout: 248 seconds)
16:39:11 × benin0 quits (~benin@183.82.27.55) (Quit: The Lounge - https://thelounge.chat)
16:45:25 × MajorBiscuit quits (~MajorBisc@c-001-001-055.client.tudelft.eduvpn.nl) (Ping timeout: 256 seconds)
16:50:24 azimut joins (~azimut@gateway/tor-sasl/azimut)
16:50:39 zebrag joins (~chris@user/zebrag)
16:51:34 × freemint quits (~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607) (Remote host closed the connection)
16:55:07 × zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!)
16:55:38 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
16:55:49 freemint joins (~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607)
17:04:14 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
17:10:45 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
17:10:59 × Pickchea quits (~private@user/pickchea) (Ping timeout: 248 seconds)
17:12:07 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:dcaf:f55:44e3:8747)
17:12:31 matthewmosior joins (~matthewmo@173.170.253.91)
17:12:45 azimut joins (~azimut@gateway/tor-sasl/azimut)
17:15:15 × waldo quits (~waldo@user/waldo) (Ping timeout: 252 seconds)
17:17:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
17:17:09 kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net)
17:17:13 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
17:17:32 × mbuf quits (~Shakthi@122.165.55.71) (Quit: Leaving)
17:17:42 × freemint quits (~freemint@2001:638:904:ffe8:339b:2f0c:7daf:5607) (Ping timeout: 256 seconds)
17:21:24 × kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
17:23:07 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
17:26:51 acidjnk_new joins (~acidjnk@p200300d6e7137a7948778105a8f3356f.dip0.t-ipconnect.de)
17:27:55 Rumham347 joins (~Rumham347@128-193-154-233.ptpg.oregonstate.edu)
17:31:34 AlexNoo_ joins (~AlexNoo@178.34.163.8)
17:33:34 × Alex_test quits (~al_test@94.233.241.197) (Ping timeout: 256 seconds)
17:33:39 × Successus quits (~Successus@user/Successus) ()
17:33:51 Successus joins (~Successus@user/Successus)
17:33:52 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:dcaf:f55:44e3:8747) (Remote host closed the connection)
17:34:27 × AlexZenon quits (~alzenon@94.233.241.197) (Ping timeout: 248 seconds)
17:35:24 × AlexNoo quits (~AlexNoo@94.233.241.197) (Ping timeout: 268 seconds)
17:37:18 Alex_test joins (~al_test@178.34.163.8)
17:37:53 AlexNoo_ is now known as AlexNoo
17:38:45 AlexZenon joins (~alzenon@178.34.163.8)
17:43:07 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds)
17:45:03 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
17:45:03 matthewmosior joins (~matthewmo@173.170.253.91)
17:49:18 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
17:49:36 justsomeguy joins (~justsomeg@user/justsomeguy)
18:08:25 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds)
18:14:37 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
18:14:37 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
18:14:37 wroathe joins (~wroathe@user/wroathe)
18:15:16 × coot quits (~coot@213.134.176.158) (Quit: coot)
18:16:05 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 256 seconds)
18:16:13 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
18:17:28 Lord_of_Life_ is now known as Lord_of_Life
18:18:06 matthewmosior joins (~matthewmo@173.170.253.91)
18:22:41 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
18:22:44 × vglfr quits (~vglfr@145.224.94.199) (Read error: Connection reset by peer)
18:22:55 vglfr joins (~vglfr@145.224.94.199)
18:24:05 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:26:48 berberman_ joins (~berberman@user/berberman)
18:26:55 econo joins (uid147250@user/econo)
18:27:14 × berberman quits (~berberman@user/berberman) (Ping timeout: 268 seconds)
18:27:15 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 248 seconds)
18:27:47 × acidjnk_new quits (~acidjnk@p200300d6e7137a7948778105a8f3356f.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
18:30:38 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
18:32:25 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.5)
18:33:16 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
18:39:57 × vglfr quits (~vglfr@145.224.94.199) (Read error: Connection reset by peer)
18:40:28 vglfr joins (~vglfr@145.224.94.199)
18:52:38 matthewmosior joins (~matthewmo@173.170.253.91)
18:56:59 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
19:01:23 × eldritch_ quits (~eldritch@2804:7f4:8280:908a:e700:6e3a:767b:7bfb) (Ping timeout: 248 seconds)
19:01:33 eldritch_ joins (~eldritch@179.182.242.20)
19:01:43 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:03:02 × eldritch_ quits (~eldritch@179.182.242.20) (Remote host closed the connection)
19:03:26 eldritch_ joins (~eldritch@2804:7f4:8280:d69a:2d8:cf1:22ec:4a14)
19:05:54 beteigeuze joins (~Thunderbi@2001:8a0:7d92:3b01:34e5:5642:a1e2:df48)
19:05:59 toluene joins (~toluene@user/toulene)
19:12:53 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:13:01 × vysn quits (~vysn@user/vysn) (Ping timeout: 244 seconds)
19:13:30 sagax joins (~sagax_nb@user/sagax)
19:14:23 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:14:38 matthewmosior joins (~matthewmo@173.170.253.91)
19:16:19 × malte quits (~malte@mal.tc) (Ping timeout: 248 seconds)
19:16:42 jakalx parts (~jakalx@base.jakalx.net) ()
19:17:25 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:18:19 acidjnk_new joins (~acidjnk@p200300d6e7137a7948778105a8f3356f.dip0.t-ipconnect.de)
19:18:56 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
19:19:48 × jespada quits (~jespada@2803:9800:9842:8ca9:c4f5:ee5c:649d:9f1f) (Quit: Textual IRC Client: www.textualapp.com)
19:21:48 matthewmosior joins (~matthewmo@173.170.253.91)
19:23:15 × beteigeuze quits (~Thunderbi@2001:8a0:7d92:3b01:34e5:5642:a1e2:df48) (Quit: beteigeuze)
19:25:55 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
19:28:38 gdown joins (~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net)
19:33:16 gmg joins (~user@user/gehmehgeh)
19:35:31 arjun joins (~arjun@user/arjun)
19:35:35 kenran joins (~kenran@200116b82b7a7900826c8522348aa8f4.dip.versatel-1u1.de)
19:41:21 matthewmosior joins (~matthewmo@173.170.253.91)
19:43:30 chomwitt joins (~chomwitt@2a02:587:dc16:4100:194d:beae:942b:9603)
19:44:45 causal joins (~user@2001:470:ea0f:3:329c:23ff:fe3f:1e0e)
19:47:18 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 256 seconds)
19:48:56 × Rumham347 quits (~Rumham347@128-193-154-233.ptpg.oregonstate.edu) (Ping timeout: 252 seconds)
19:49:47 <Athas> RecordWildCards was a mistake.
19:54:46 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:58:43 <jean-paul[m]> Go on
20:00:13 pavonia joins (~user@user/siracusa)
20:01:17 jakalx joins (~jakalx@base.jakalx.net)
20:04:29 chexum_ is now known as chexum
20:04:41 matthewmosior joins (~matthewmo@173.170.253.91)
20:06:55 × arjun quits (~arjun@user/arjun) (Quit: tip toe-ing my way outta here)
20:10:20 wootehfoot joins (~wootehfoo@user/wootehfoot)
20:17:58 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
20:19:23 bgthomas joins (~Guest65@2a01:e0a:32f:6350:ab39:eade:6d49:6de9)
20:20:13 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
20:20:56 nate4 joins (~nate@98.45.169.16)
20:22:27 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 248 seconds)
20:22:55 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
20:23:38 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
20:25:51 × nate4 quits (~nate@98.45.169.16) (Ping timeout: 256 seconds)
20:29:15 <dsal> RecordWildCards can be used in ways I don't like very much. I was working on a codebase where they primarily only used it in ways I don't like.
20:33:16 sudden joins (~cat@user/sudden)
20:33:38 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
20:35:28 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
20:43:27 yvan-sraka joins (~yvan-srak@2a01:e0a:38d:a110:99bb:869:d96c:69da)
20:45:29 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
20:45:55 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Ping timeout: 248 seconds)
20:47:09 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
20:50:30 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
20:51:36 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
20:51:51 × kenran quits (~kenran@200116b82b7a7900826c8522348aa8f4.dip.versatel-1u1.de) (Quit: WeeChat info:version)
21:01:10 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:01:37 × eldritch_ quits (~eldritch@2804:7f4:8280:d69a:2d8:cf1:22ec:4a14) (Quit: Leaving)
21:01:38 Guest34 joins (~Guest34@2601:201:4200:7860::d1cc)
21:02:06 cat-master21[m] joins (~cat-maste@2001:470:69fc:105::1:e3c4)
21:02:30 × Guest34 quits (~Guest34@2601:201:4200:7860::d1cc) (Client Quit)
21:03:05 cat-master21[m] parts (~cat-maste@2001:470:69fc:105::1:e3c4) ()
21:12:00 × w1gz quits (~weechat@2a03:b0c0:1:d0::1123:1) (Ping timeout: 268 seconds)
21:12:03 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 248 seconds)
21:12:14 Rumham347 joins (~Rumham347@128-193-154-233.ptpg.oregonstate.edu)
21:12:27 Rumham34794 joins (~Rumham347@128-193-154-233.ptpg.oregonstate.edu)
21:12:32 × Rumham34794 quits (~Rumham347@128-193-154-233.ptpg.oregonstate.edu) (Write error: Broken pipe)
21:13:05 × ddellacosta quits (~ddellacos@143.244.47.100) (Ping timeout: 268 seconds)
21:16:08 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
21:22:36 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
21:24:20 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
21:27:12 <qrpnxz> sad
21:29:34 <sm> /me likes it
21:30:43 × zebrag quits (~chris@user/zebrag) (Ping timeout: 248 seconds)
21:31:07 zebrag joins (~chris@user/zebrag)
21:35:31 × acidjnk_new quits (~acidjnk@p200300d6e7137a7948778105a8f3356f.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
21:46:18 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
21:52:26 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
21:53:07 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 256 seconds)
21:53:24 iqubic joins (~iqubic@2601:602:9502:c70:b32a:b8a9:2eb9:d17)
21:54:08 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:57:35 × bgthomas quits (~Guest65@2a01:e0a:32f:6350:ab39:eade:6d49:6de9) (Quit: Client closed)
21:58:39 × Successus quits (~Successus@user/Successus) ()
22:00:19 <iqubic> So, I have a variable "xs :: Text" with some newline characters in it and when I use `print xs` I get everything printed in a single line like "FOO\nBAR\n\nBAZ". Is there a way to get GHC to print this out on different lines? I'm executing this in GHCi, if that matters. Maybe GHCi just does things in a different way than I was expecting.
22:01:02 <sm> putStrLn
22:01:04 × thatcher quits (lp0@heathens.club) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
22:01:47 leah_ joins (lp0@heathens.club)
22:02:02 <dsal> iqubic: Print is going to call Show, which is not what you want.
22:02:09 <sm> oh.. but the one imported from Data.Text.IO I think.
22:02:25 <dsal> Look at https://hackage.haskell.org/package/text-2.0.1/docs/Data-Text-IO.html
22:06:27 × yvan-sraka quits (~yvan-srak@2a01:e0a:38d:a110:99bb:869:d96c:69da) (Remote host closed the connection)
22:07:47 <iqubic> Thanks dsal!
22:14:12 Pickchea joins (~private@user/pickchea)
22:15:41 <iqubic> `T.putStrLn` is what I was looking for.
22:19:49 × biberu quits (~biberu@user/biberu) (Read error: Connection reset by peer)
22:24:52 tzh_ joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
22:24:57 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
22:25:18 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
22:25:51 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Ping timeout: 268 seconds)
22:29:29 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 252 seconds)
22:38:10 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
22:49:24 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
22:49:59 ChaiTRex joins (~ChaiTRex@user/chaitrex)
22:52:27 MajorBiscuit joins (~MajorBisc@46-229-126.internethome.cytanet.com.cy)
23:04:38 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
23:07:59 Kaiepi joins (~Kaiepi@142.68.249.28)
23:08:11 bilegeek joins (~bilegeek@2600:1008:b061:7c30:f8c3:4d61:f45e:8611)
23:09:15 einfair joins (~einfair@broadband-90-154-71-147.ip.moscow.rt.ru)
23:09:27 <einfair> how to define operator "|" ?
23:10:11 <geekosaur> you can't; it's reserved
23:12:33 <geekosaur> you might use unicode alternatives, but then you need to figure out how to type them (e.g. ¦)
23:13:09 <geekosaur> you can also use | as part of a larger operator, but it can't be used by itself
23:14:09 <dsal> einfair: What do you want it to represent?
23:14:15 <hpc> "reserved" isn't quite right, because it doesn't act like an identifier
23:14:17 <hpc> it's syntax
23:14:27 <hpc> like '=' and 'import'
23:15:13 × foul_owl quits (~kerry@23.82.194.107) (Ping timeout: 268 seconds)
23:16:28 <einfair> logical OR i want - ∨
23:16:43 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
23:16:59 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
23:18:03 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:18:30 <hpc> :t (||)
23:18:32 <lambdabot> Bool -> Bool -> Bool
23:18:42 luffy joins (~chenqisu1@183.217.200.212)
23:18:51 <hpc> and bitwise or is...
23:18:54 <hpc> :t (.|.)
23:18:56 <lambdabot> Bits a => a -> a -> a
23:19:10 <jean-paul[m]> look at those little bits, they're so cute
23:21:21 × ystael quits (~ystael@user/ystael) (Ping timeout: 268 seconds)
23:22:11 × jgeerds quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 248 seconds)
23:23:14 matthewmosior joins (~matthewmo@173.170.253.91)
23:28:14 × Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep)
23:28:43 <dsal> I did `(∥) = Data.Bits.(.|.)` once.
23:29:17 <dsal> Though all I ended up needing in this project was `(≫) = shiftR` and `(⊕) = xor`
23:30:51 foul_owl joins (~kerry@174-21-65-36.tukw.qwest.net)
23:33:38 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
23:41:03 <sm> how is https://hackage.haskell.org/package/lens-5.2/docs/Control-Lens-Combinators.html#v:use different from MonadState's get ? It's a lens, so you can do more lensy things with it ?
23:41:59 nate4 joins (~nate@98.45.169.16)
23:42:47 matthewmosior joins (~matthewmo@173.170.253.91)
23:45:13 vysn joins (~vysn@user/vysn)
23:47:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
23:48:56 matthewmosior joins (~matthewmo@173.170.253.91)
23:51:48 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
23:52:18 <qrpnxz> sm: use is get for a subset determined by a lens
23:52:31 <qrpnxz> (or rather an getter i believe)
23:52:53 <qrpnxz> view is the same thing for reader
23:53:29 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:55:12 <dsal> I think the idea is that you can compose the getter. I don't use lens with state very much, though.
23:56:19 <qrpnxz> see also magnify and zoom, which expand on withReader/local
23:56:24 × vysn quits (~vysn@user/vysn) (Quit: WeeChat 3.5)
23:57:41 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Quit: ChaiTRex)
23:57:55 × foul_owl quits (~kerry@174-21-65-36.tukw.qwest.net) (Ping timeout: 248 seconds)
23:58:40 ChaiTRex joins (~ChaiTRex@user/chaitrex)

All times are in UTC on 2022-08-19.