Home liberachat/#haskell: Logs Calendar

Logs on 2023-08-15 (liberachat/#haskell)

00:00:13 <Axman6> quidnunc: I'm not familiar with the exercises, what tipics have you covered so far?
00:02:43 <int-e> "bitstream" sounds promising.
00:03:07 <Axman6> one way to complete that exercise might be to compute the products of every number with every number passed in, then sum those, and subtract each number multiplied by itself (a little wasteful but the code will be concise). Have you been introduced to applicatives or monads, particularly with regards to lists?
00:03:38 <Axman6> int-e: indeed it does, thanks
00:03:50 <int-e> (maybe there's a separate support package that provides arbitrary-width `FiniteBits` instances?)
00:04:05 <quidnunc> Axman6: Not much, just patterns, guards, case
00:04:48 <quidnunc> Axman6: Each file usually explains everything you need
00:05:14 <quidnunc> Axman6: No applicatives or monads
00:05:49 <Axman6> quidnunc: can you use sumProducts repeatedly?
00:05:50 <EvanR> I'm guessing list of Bool isn't going to cut it xD
00:06:05 × califax quits (~califax@user/califx) (Remote host closed the connection)
00:06:05 <Axman6> EvanR: it could for a proof of concept
00:06:22 califax joins (~califax@user/califx)
00:06:49 <probie> I think this one is meant to be a bit onerous to ensure you use `where` instead of writing one really long line. That said, remember that `a * b + a * c + a * d + a * e = a * (b + c + d + e)`
00:06:50 <quidnunc> Axman6: It's not defined outside of a comment so I don't think so
00:07:23 <EvanR> ah yes the Num laws
00:07:39 <quidnunc> probie: thanks
00:07:54 <Axman6> yeah it could be designed to make you feel the pain of not being able to use lists :)
00:09:09 <Axman6> > let sumProductasFromTheFuture xs = sum (listA2 (*) xs xs) - sum (map (join (*)) xs) in sumProductasFromTheFuture [1,2,3,4]
00:09:10 <lambdabot> error:
00:09:10 <lambdabot> • Variable not in scope:
00:09:10 <lambdabot> listA2 :: (a0 -> a0 -> a0) -> [a1] -> [a1] -> t0 a1
00:09:12 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
00:09:19 <Axman6> > let sumProductasFromTheFuture xs = sum (liftA2 (*) xs xs) - sum (map (join (*)) xs) in sumProductasFromTheFuture [1,2,3,4]
00:09:20 <lambdabot> 70
00:09:58 dobblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
00:09:59 × dobblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
00:09:59 dobblego joins (~dibblego@haskell/developer/dibblego)
00:09:59 <Axman6> > let sumProductasFromTheFuture xs = sum (liftA2 (*) xs xs) - sum (map (join (*)) xs) in sumProductasFromTheFuture [a,b,c] :: Expr]
00:10:00 <lambdabot> <hint>:1:129: error: parse error on input ‘]’
00:10:03 <Axman6> > let sumProductasFromTheFuture xs = sum (liftA2 (*) xs xs) - sum (map (join (*)) xs) in sumProductasFromTheFuture [a,b,c] :: Expr
00:10:05 <lambdabot> 0 + a * a + a * b + a * c + b * a + b * b + b * c + c * a + c * b + c * c - ...
00:10:27 <Axman6> ... yeah that's probably right >_>
00:10:34 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 256 seconds)
00:10:34 dobblego is now known as dibblego
00:11:19 × Tuplanolla quits (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi) (Quit: Leaving.)
00:12:52 <Axman6> I kinda wish Expr had an explicit brackets function for explicitly wrapping an expression
00:16:36 <Axman6> quidnunc: based on the comments in badSum, I think you are probably supposed to try and pull out commen sub expressions like probie said, and get used to definitions referring to each other.
00:17:39 <Axman6> seems like you could have something pretty efficient by first computing the sum of all the numbers then having several expressions of the form xProd = x * (totalNum - x)
00:17:56 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 256 seconds)
00:18:19 <Axman6> (totalSum* is what I meant to call that imaginary variable)
00:19:46 <quidnunc> Axman6: probie was right, it's not too bad if you just remember to use distributive property http://ix.io/4DuB/haskell
00:21:17 <Axman6> oh right, my idea would double count the pairs. yeah looks pretty clean. Generally I wouldn't indent things that far, just indent the where bt 2/4 spaces, and then definitions by the same amount again
00:22:23 <Axman6> (Or for true pro level industrial haskell, stick the "where" at the end of the first line: foo x = y + z where\n y = ...\n z = ... - gotta conserve those lines of code!)
00:23:07 [_] joins (~itchyjunk@user/itchyjunk/x-7353470)
00:24:22 <probie> I think the most common I see is 2+2 (where indented 2, following lines indented 2 more). It's interesting because I see that in both code which is otherwise using 2 space indentation and which is using 4 space indentation
00:25:19 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 246 seconds)
00:25:32 <Axman6> yeah, I believe my last job did that
00:28:22 <Axman6> int-e: packages that use unicode syntax make mildly angry, Bitstream α => (β -> Bool -> β) -> β -> α -> β shouldn't be any harder to read than Bitstream a => (b -> Bool -> b) -> b -> a -> b, but it definitely is
00:29:32 <geekosaur> I don't find it so, but I may use more Unicode than you do
00:30:09 <int-e> Axman6: it's mostly internal, with a few unicode aliases for functions that also have ASCII names
00:30:32 <Axman6> It's just unnecessary, it rarely, if ever, adds any clarity to the code.
00:30:44 <probie> Life hack - instead of α and β use p and р
00:31:02 <Axman6> :look_of_disapproval:
00:31:09 <int-e> I don't particularly like it, but it's not a reason for not using a package as long as I don't have to type Unicode myself.
00:31:19 <EvanR> it might also be a font thing because your alpha looks pretty much like an a here
00:31:49 <int-e> probie: aww, one of them was ASCII
00:31:53 <EvanR> geekosaur is now known as greekosaur
00:32:10 <geekosaur> heh
00:32:38 <Axman6> no, it wouldn't stop me using it, it just annoys me - use an editor that makes things look fancy on your own machine instead of making everyone else (one of the reasons I use Fira Code - I like the ligatures but wouldn't want to force the ones available in unicode on others))
00:33:07 <probie> Axman6: Personally, I'm a slight fan of Greek letters for type variables, and Latin letters for "value" variables, but not enough to use them in code other people have to look at
00:33:55 × fweht quits (uid404746@id-404746.lymington.irccloud.com) (Quit: Connection closed for inactivity)
00:34:27 <Axman6> I can see how that would be helpful, and would probably be all for it if it was the norm in the community (having a type level a and a value level a, which has type a, sure can be confusing to beginners)
00:34:44 int-e gives probie a lꙮꙮk
00:35:25 × ft quits (~ft@i59F54793.versanet.de) (Ping timeout: 240 seconds)
00:35:57 <Axman6> int-e: whatever that was broke my terminal/glirc
00:36:30 <jackdk> Axman6: https://en.wikipedia.org/wiki/Multiocular_O
00:36:37 <int-e> tꙬ bad.
00:36:38 <geekosaur> terminal probably
00:36:39 <glguy> Axman6: https://ibb.co/10fbSCt
00:36:56 <glguy> Axman6: My terminal+glirc survived it
00:37:13 ft joins (~ft@i59F54AB3.versanet.de)
00:37:23 <int-e> my terminal can't show it, actually
00:37:29 × leah2 quits (~leah@vuxu.org) (Ping timeout: 246 seconds)
00:37:34 <int-e> (well not with the font it's using anyway)
00:37:47 <probie> What I really want, is for the Prelude to export `∘` as `.`. That's the one "unicode" function I want, because `.` is already being used for other things
00:38:13 <dsal> `.` is used for too many things and some of them are kind of gross.
00:38:29 <Axman6> glguy: https://ibb.co/wszP43C note the missing * after "ftx" (when I wrote my comment, the star was pushed past the l in "lk")
00:38:35 <geekosaur> hexchat was fine
00:38:38 <Axman6> probably a macos terminal or tmux issue
00:39:16 <geekosaur> I think tmux needs an option to do unicode correctly?
00:39:27 <Axman6> possibly...
00:39:43 <int-e> Axman6: I mainly did it because it's a cyrillic letter (though archaic and obscure), like р
00:39:47 <glguy> int-e: could you do it one last time?
00:40:06 <geekosaur> tmux -u
00:40:16 <geekosaur> I don't know what that equates to in tmux.conf
00:40:17 <int-e>
00:40:30 <Axman6> https://askubuntu.com/questions/410048/utf-8-character-not-showing-properly-in-tmux seems to have answers
00:40:35 <glguy> OK, it works in iTerm2 and Terminal.app, so tmux is a good place to look next
00:40:39 leon_on9527 joins (~yoyofreem@117.39.32.218)
00:41:14 <Axman6> brb then
00:41:20 × Axman6 quits (~Axman6@user/axman6) (Remote host closed the connection)
00:41:43 Axman6 joins (~Axman6@user/axman6)
00:42:11 <geekosaur> here's lꙮꙮking at you
00:42:30 <int-e> @where look
00:42:30 <lambdabot> I know nothing about look.
00:42:42 <int-e> @where+ look lꙮꙮk
00:42:42 <lambdabot> Done.
00:42:48 <Axman6> I have returned, from the future!
00:42:50 <Axman6> wow, things are even more broken now, amazing
00:42:55 <geekosaur> ow
00:42:59 <int-e> glguy: there, now you don't need me anymore
00:43:09 <glguy> int-e: Aww, that's not true!
00:43:09 <Axman6> https://ibb.co/CKPWdhk
00:43:13 × yoyofreeman quits (~yoyofreem@117.39.35.76) (Ping timeout: 252 seconds)
00:44:09 <int-e> Axman6: that's not *too* bad
00:44:23 <int-e> Axman6: just missing characters and a messed up length calculation
00:44:47 <geekosaur> makes me wonder about your font, but I forget how that works on OS X
00:45:06 <Axman6> Nah it's kinda bad XD https://ibb.co/2cjQ3Bm
00:45:11 <geekosaur> on Linux it'd be either direct font support or fallback fonts; I think it's supported directly in mine
00:45:30 <jackdk> Axman6: sounds like you'd better switch off macOS to get better font rendering `:trollface:`
00:45:31 <glguy> Whatever that's doing, it breaks my test program that uses ncurses 6.4
00:45:33 <int-e> Axman6: But it's good to know that you've retur ed, fr m the future.
00:45:52 <int-e> Axman6: (don't worry, those were spaces)
00:46:05 <Axman6> There were no typos (surprisingly) in that
00:46:47 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
00:47:16 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
00:47:16 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
00:47:16 wroathe joins (~wroathe@user/wroathe)
00:49:29 × Axman6 quits (~Axman6@user/axman6) (Remote host closed the connection)
00:50:15 Axman6 joins (~Axman6@user/axman6)
00:51:19 <Axman6> @where look
00:51:19 <lambdabot> lꙮꙮk
00:51:56 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
00:52:33 × wroathe quits (~wroathe@user/wroathe) (Quit: Reconnecting)
00:52:46 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
00:52:46 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
00:52:46 wroathe joins (~wroathe@user/wroathe)
00:53:29 <Axman6> yeah still borked
00:53:48 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
00:55:11 <glguy> Axman6: https://ibb.co/z5d1kB2
00:56:58 <Axman6> https://ibb.co/Kbz9N5f
00:57:10 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 245 seconds)
00:58:03 <Axman6> (This is probably a better discussion for #glirc, though I'm also ok with the brokenness and to blame it on macOS)
00:58:10 <int-e> > let ι ∷ ꙮ → ꙮ; ι 𐦂 = 𐦂 in text [ι '🨈'] -- let's break some more terminals
00:58:11 <lambdabot> 🨈
00:58:28 <Axman6> >:(
00:58:31 <glguy> Axman6: I don't think it's glirc's fault, though I'm happy to chat about it there
00:58:46 <glguy> that stuff is working in glirc in iterm2, terminal.app, and inside tmux inside iterm2
00:59:31 <int-e> there's a good chance that it breaks somewhere because there's an RTL character in there.
00:59:43 <int-e> (twice)
01:00:20 <Axman6> my setup is Termina.app -> ssh -> freebsd -> tmux -> glirc, so many places things could go wrong (with some zsh's on both sizes of the connection)
01:00:48 <glguy> neat, I didn't know it ran on freebsd
01:01:09 <Axman6> yeah, has been working for years
01:01:34 <Axman6> I generally assume any haskell stuff will work on unix environments and I'm rarely wrong
01:11:25 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:13:20 razetime joins (~quassel@117.254.37.206)
01:14:23 <EvanR> somewhat surprised hexchat displayed all that
01:17:59 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:23:05 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
01:26:34 × xff0x quits (~xff0x@2405:6580:b080:900:1eaf:1036:66fe:e11a) (Ping timeout: 246 seconds)
01:27:52 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 245 seconds)
01:32:29 <dsal> I'm not in hexchat, but ꙮ kind of looks like a hexagon to me, so maybe I am.
01:40:21 <int-e> it's scarier when you zoom in
01:43:56 <probie> Be not afraid
01:50:48 artem joins (~artem@38.42.227.237)
01:50:49 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
01:52:16 × jero98772 quits (~jero98772@2800:484:1d84:300::3) (Quit: leaving)
02:00:34 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
02:01:00 azimut joins (~azimut@gateway/tor-sasl/azimut)
02:06:12 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 245 seconds)
02:11:18 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 246 seconds)
02:12:43 xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
02:17:15 × [_] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
02:17:25 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
02:20:34 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
02:21:41 nick3 joins (~nick@2600:8807:9084:7800:25b7:dc96:70fc:a2ae)
02:21:45 sososasa joins (~textual@2600:1700:1e00:25a0:3c8c:3e69:dbb1:5575)
02:25:32 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Quit: Leaving)
02:25:48 × bratwurst quits (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Ping timeout: 248 seconds)
02:26:38 bratwurst joins (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8)
02:28:50 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 256 seconds)
02:33:29 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
02:33:29 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
02:33:29 dibblego joins (~dibblego@haskell/developer/dibblego)
02:34:20 × razetime quits (~quassel@117.254.37.206) (Ping timeout: 248 seconds)
02:34:36 razetime joins (~quassel@117.254.37.237)
02:38:06 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
02:39:31 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:f43a:3bed:72de:aa73)
02:40:44 × bratwurst quits (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Ping timeout: 248 seconds)
02:43:25 × NewtonTrendy quits (uid282092@user/bopqod) (Quit: Connection closed for inactivity)
02:43:33 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:f43a:3bed:72de:aa73) (Remote host closed the connection)
02:43:48 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:f43a:3bed:72de:aa73)
02:43:51 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
02:43:52 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
02:43:52 dibblego joins (~dibblego@haskell/developer/dibblego)
02:48:32 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
02:49:12 × razetime quits (~quassel@117.254.37.237) (Ping timeout: 252 seconds)
02:49:47 razetime joins (~quassel@117.254.37.38)
02:51:12 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 246 seconds)
02:52:26 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:52:26 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:52:26 finn_elija is now known as FinnElija
02:52:40 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
02:54:59 tom_ joins (~tom@2a00:23c8:970c:4801:5b6a:e81b:79dc:f684)
02:57:08 × tom__ quits (~tom@host81-151-255-71.range81-151.btcentralplus.com) (Ping timeout: 246 seconds)
02:57:34 × td_ quits (~td@i53870905.versanet.de) (Ping timeout: 246 seconds)
02:59:31 × sososasa quits (~textual@2600:1700:1e00:25a0:3c8c:3e69:dbb1:5575) (Quit: Textual IRC Client: www.textualapp.com)
02:59:36 td_ joins (~td@i53870938.versanet.de)
02:59:47 × Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep)
03:00:00 sososasa joins (~textual@108-210-178-55.lightspeed.tukrga.sbcglobal.net)
03:00:19 × sososasa quits (~textual@108-210-178-55.lightspeed.tukrga.sbcglobal.net) (Client Quit)
03:12:39 aforemny_ joins (~aforemny@2001:9e8:6cd8:700:57fe:b2bd:4720:3f78)
03:14:02 × aforemny quits (~aforemny@2001:9e8:6cee:a000:122d:82c7:4388:6f2e) (Ping timeout: 260 seconds)
03:17:55 × micro quits (~micro@user/micro) (Ping timeout: 240 seconds)
03:18:46 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 245 seconds)
03:19:43 micro joins (~micro@user/micro)
03:22:20 × YuutaW quits (~YuutaW@mail.yuuta.moe) (Ping timeout: 248 seconds)
03:22:55 chexum joins (~quassel@gateway/tor-sasl/chexum)
03:24:20 YuutaW joins (~YuutaW@mail.yuuta.moe)
03:24:42 mikoto-chan joins (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be)
03:37:41 ulysses4ever joins (~artem@38.42.227.237)
03:37:41 × artem quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
03:38:41 artem joins (~artem@38.42.227.237)
03:38:41 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
03:55:32 × razetime quits (~quassel@117.254.37.38) (Ping timeout: 256 seconds)
03:56:29 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 248 seconds)
04:02:06 × ddellacosta quits (~ddellacos@146.70.171.254) (Ping timeout: 245 seconds)
04:02:20 × ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Ping timeout: 256 seconds)
04:03:37 <Axman6> random C question: if you have void f(...);, void g(...);, is it legal to say f(...) { ... if(thing) return g(...); ...}? or would you need to use if(thing) { g(..); return; } to avoid needing the else for the !thing path
04:03:51 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht)
04:04:12 ezzieyguywuf joins (~Unknown@user/ezzieyguywuf)
04:04:28 × flounders quits (~flounders@24.246.133.1) (Ping timeout: 248 seconds)
04:05:36 <monochrom> return g(...) is not legal.
04:05:57 <Axman6> yeah, that was my question really
04:07:33 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
04:11:23 ulysses4ever joins (~artem@38.42.227.237)
04:11:23 × artem quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
04:11:45 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 245 seconds)
04:17:43 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
04:19:46 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
04:22:40 <Axman6> monochrom: is `g(..), return;` legal?
04:24:23 ddellacosta joins (~ddellacos@146.70.165.219)
04:24:44 <glguy> If only there was a way to know :-S
04:25:29 <Axman6> Yeah i wasn't sure Icould write a valid C file faster than I could get an answer here, I've always been impressed by how much #haskell knows about C
04:36:10 trev joins (~trev@user/trev)
04:36:54 razetime joins (~quassel@117.254.37.234)
04:36:54 hugo joins (znc@verdigris.lysator.liu.se)
04:37:17 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
04:40:26 × trev quits (~trev@user/trev) (Ping timeout: 245 seconds)
04:56:20 × fryguybob quits (~fryguybob@cpe-24-94-50-22.stny.res.rr.com) (Ping timeout: 245 seconds)
05:01:31 <Inst> you know you're a sadsack when: you're benchmarking how long it takes for GHCup to deploy a Haskell toolchain on Windows
05:01:39 <Inst> current estimate: 13 minutes on a 2017 Xeon mobile
05:03:30 fryguybob joins (~fryguybob@cpe-24-94-50-22.stny.res.rr.com)
05:05:55 <monochrom> I think I already said that it was illegal.
05:07:18 <glguy> <source>:3:10: error: expected expression before 'return'
05:07:18 <glguy> 3 | g(), return;
05:07:46 <monochrom> Err nevermind.
05:08:04 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
05:08:06 allbery_b joins (~geekosaur@xmonad/geekosaur)
05:08:10 allbery_b is now known as geekosaur
05:10:53 <monochrom> I have a feeling that "g(..), return;" with a comma in the middle was a typo.
05:11:33 <Inst> cool, only takes 9 minutes, seems to be mostly connection limited
05:11:44 <monochrom> But in case it was not, comma separates expressions, and return is not an expression.
05:13:14 × razetime quits (~quassel@117.254.37.234) (Remote host closed the connection)
05:15:22 razetime joins (~quassel@117.254.37.234)
05:34:29 × monochrom quits (trebla@216.138.220.146) (Read error: Connection reset by peer)
05:34:57 × thegeekinside quits (~thegeekin@189.217.90.224) (Remote host closed the connection)
05:35:46 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 244 seconds)
05:36:54 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection)
05:39:20 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 252 seconds)
05:39:51 × bollu quits (~bollu@159.65.151.13) (Quit: Ping timeout (120 seconds))
05:40:17 bollu joins (~bollu@159.65.151.13)
05:42:11 <glguy> Maybe: g(), ({ return; }); using gcc's statement expressions
05:43:50 monochrom joins (trebla@216.138.220.146)
05:50:41 <Axman6> monochrom: no, I mean the comma operator
05:50:44 <Axman6> meant*
05:56:34 Pickchea joins (~private@user/pickchea)
05:59:20 cyphase_eviltwin joins (~cyphase@user/cyphase)
05:59:55 × cyphase quits (~cyphase@user/cyphase) (Ping timeout: 240 seconds)
06:04:56 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 260 seconds)
06:07:47 sord937 joins (~sord937@gateway/tor-sasl/sord937)
06:07:53 robobub joins (uid248673@2a03:5180:f:5::3:cb61)
06:09:59 CiaoSen joins (~Jura@2a05:5800:2ad:5100:664b:f0ff:fe37:9ef)
06:10:18 × jinsl quits (~jinsl@2408:8207:2552:f8f0:211:32ff:fec8:6aea) (Quit: ZNC - https://znc.in)
06:14:22 × d34df00d quits (~d34df00d@2600:1702:4f1b:7c10::e) (Ping timeout: 256 seconds)
06:15:40 simikando joins (~simikando@adsl-dyn-104.95-102-88.t-com.sk)
06:16:26 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
06:19:31 Square2 joins (~Square4@user/square)
06:20:44 Lycurgus joins (~juan@user/Lycurgus)
06:22:36 × shriekingnoise quits (~shrieking@186.137.175.87) (Ping timeout: 252 seconds)
06:25:20 thegeekinside joins (~thegeekin@189.217.90.224)
06:25:22 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
06:32:11 sm joins (~sm@plaintextaccounting/sm)
06:36:53 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:38:11 mikoto-chan joins (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be)
06:42:08 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 256 seconds)
06:43:33 × ft quits (~ft@i59F54AB3.versanet.de) (Quit: leaving)
06:45:38 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
06:45:39 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
06:45:39 dibblego joins (~dibblego@haskell/developer/dibblego)
06:50:08 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
06:55:46 lortabac joins (~lortabac@2a01:e0a:541:b8f0:fc5e:9ab9:469c:9878)
06:56:19 fendor joins (~fendor@2a02:8388:1640:be00:b586:6c06:a58:19a3)
06:56:50 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
06:57:21 ec joins (~ec@gateway/tor-sasl/ec)
06:58:13 × simikando quits (~simikando@adsl-dyn-104.95-102-88.t-com.sk) (Read error: Connection reset by peer)
06:59:39 titibandit joins (~titibandi@user/titibandit)
07:05:22 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 246 seconds)
07:05:52 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 252 seconds)
07:09:19 artem joins (~artem@38.42.227.237)
07:09:19 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
07:09:20 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 256 seconds)
07:09:42 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
07:09:42 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
07:09:42 dibblego joins (~dibblego@haskell/developer/dibblego)
07:10:18 ulysses4ever joins (~artem@38.42.227.237)
07:10:18 × artem quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
07:10:36 × titibandit quits (~titibandi@user/titibandit) (Ping timeout: 246 seconds)
07:13:15 titibandit joins (~titibandi@user/titibandit)
07:16:10 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
07:16:37 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 245 seconds)
07:20:54 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 246 seconds)
07:22:03 mikoto-chan joins (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be)
07:22:37 dibblego joins (~dibblego@116.255.1.151)
07:22:37 × dibblego quits (~dibblego@116.255.1.151) (Changing host)
07:22:37 dibblego joins (~dibblego@haskell/developer/dibblego)
07:22:38 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
07:25:14 cfricke joins (~cfricke@user/cfricke)
07:27:20 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 258 seconds)
07:27:28 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
07:29:52 bgs joins (~bgs@212.85.160.171)
07:31:36 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
07:31:39 artem joins (~artem@38.42.227.237)
07:32:14 azimut joins (~azimut@gateway/tor-sasl/azimut)
07:41:33 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
07:45:51 × titibandit quits (~titibandi@user/titibandit) (Remote host closed the connection)
07:47:02 × ph88 quits (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de) (Ping timeout: 245 seconds)
07:48:10 <tomsmeding> Axman6: the comma operator is an operator, and takes two expressions; 'return' is a statement, not an expression
07:48:13 <tomsmeding> you're not in haskell :p
07:49:01 <tomsmeding> (though you are in #haskell)
07:52:15 <mauke> Axman6: return g(...) might be legal in C++ code if the return type is templated
07:52:37 <mauke> (also, 'return' is an expression in perl :-)
07:52:50 chele joins (~chele@user/chele)
07:54:45 × razetime quits (~quassel@117.254.37.234) (Ping timeout: 244 seconds)
07:55:34 razetime joins (~quassel@117.254.36.186)
07:58:05 kupi joins (uid212005@id-212005.hampstead.irccloud.com)
07:58:45 × thegeekinside quits (~thegeekin@189.217.90.224) (Read error: Connection reset by peer)
07:58:50 idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
08:00:30 × remexre quits (~remexre@user/remexre) (Ping timeout: 252 seconds)
08:01:08 mikoto-chan joins (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be)
08:02:54 × nick3 quits (~nick@2600:8807:9084:7800:25b7:dc96:70fc:a2ae) (Ping timeout: 246 seconds)
08:04:38 leah2 joins (~leah@2001:1410:200:eea::1)
08:07:41 remexre joins (~remexre@user/remexre)
08:12:10 × razetime quits (~quassel@117.254.36.186) (Ping timeout: 250 seconds)
08:12:43 razetime joins (~quassel@117.254.37.141)
08:14:32 trev joins (~trev@user/trev)
08:15:40 titibandit joins (~titibandi@user/titibandit)
08:17:22 × ByronJohnson quits (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net) (Ping timeout: 252 seconds)
08:18:50 × trev quits (~trev@user/trev) (Ping timeout: 252 seconds)
08:20:00 swistak joins (~swistak@185.21.216.141)
08:25:43 paulpaul1076 joins (~textual@95-26-12-138.broadband.corbina.ru)
08:31:01 <Inst> please, please kill me
08:31:37 <Inst> spent all day writing my tutorial, then all of a sudden, something goes wrong with the freaking library i'm using, or its dependency tree, etc etc etc
08:32:52 <Inst> https://media.discordapp.net/attachments/968989726633779215/1140925986603540500/image.png?width=800&height=274
08:34:16 ubert joins (~Thunderbi@178.165.166.188.wireless.dyn.drei.com)
08:35:26 × razetime quits (~quassel@117.254.37.141) (Ping timeout: 245 seconds)
08:36:49 ulysses4ever joins (~artem@38.42.227.237)
08:36:49 × artem quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
08:38:47 artem joins (~artem@38.42.227.237)
08:38:47 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
08:40:24 <tomsmeding> Inst: would be a bit unfair to kill you for something that's probably not your fault, wouldn't it? :)
08:40:44 × ubert quits (~Thunderbi@178.165.166.188.wireless.dyn.drei.com) (Ping timeout: 244 seconds)
08:40:50 <Inst> i nuked ghcup to get a fresh install and try to completely guide through the installatino process
08:41:00 <Inst> i'm not sure if i screwed up somewhere, or if ghcup is already setting path environment variables correctly
08:41:13 <Inst> Haskell on Windows, if you're doing ANYTHING off the beaten path, is complete freaking torture
08:41:29 <[exa]> s/Haskell/anything/
08:41:48 <Inst> windows run electron apps perfectly well
08:42:04 <[exa]> Inst: because they basically pack their own operating system :D
08:42:04 <Inst> can we just stop supporting windows or something?
08:42:17 <[exa]> <3
08:42:32 <[exa]> anyway you're not using WSL2?
08:42:42 <Inst> i'm writing this tutorial, and i'm guessing half of the content is based on walking users through how to install Haskell on Windows and get the library toolchain working
08:42:43 <[exa]> I didn't think that it's such a torture with WSL2
08:43:28 <Inst> maybe, but can i build the app outside?
08:43:53 <Inst> it's just a freaking simple tic tac toe app, i'm fairly close to deciding, scscrew it, go learn gi-gtk and do it in gi-gtk instead
08:44:01 <[exa]> ah you want to do GUI stuff, I see
08:44:16 ByronJohnson joins (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net)
08:44:16 <Inst> the moment i ghcup nuked, it stopped working
08:44:42 <Inst> it doesn't even run out of the box because GHC windows toolchain doesn't support stack protector
08:46:18 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 246 seconds)
08:46:55 <Inst> it was working 2 weeks ago, now it won't run because something has gone wrong with its linkage to harfbuzz
08:47:06 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
08:52:47 <tomsmeding> which has a beautiful name
08:55:15 razetime joins (~quassel@117.254.37.75)
08:59:25 × zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 248 seconds)
09:00:26 razetime_ joins (~quassel@117.254.36.109)
09:00:32 × razetime quits (~quassel@117.254.37.75) (Ping timeout: 260 seconds)
09:01:21 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
09:01:31 danza joins (~francesco@151.46.219.132)
09:06:28 mima joins (~mmh@net-93-67-213-242.cust.vodafonedsl.it)
09:09:24 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
09:14:07 × CiaoSen quits (~Jura@2a05:5800:2ad:5100:664b:f0ff:fe37:9ef) (Ping timeout: 245 seconds)
09:14:32 × razetime_ quits (~quassel@117.254.36.109) (Ping timeout: 260 seconds)
09:14:38 razetime joins (~quassel@117.254.36.255)
09:17:03 <Inst> no, issue with truetype, tbh, i'm guessing it's probably an issue with windows breaking it on their side
09:17:35 <Inst> i hit a system update recently, possibly might have broken truetype, but until stack protector support comes online on GHC windows toolchain (I'm told this will take a loooooong time)
09:18:32 × phma quits (phma@2001:5b0:215a:8e08:ce2c:b247:8837:d81a) (Read error: Connection reset by peer)
09:22:44 phma joins (~phma@2001:5b0:2144:1f78:3563:b591:d7dd:84e3)
09:24:58 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
09:25:55 zmt00 joins (~zmt00@user/zmt00)
09:26:22 <Maxdamantus> freetype is the non-Windows implementation of truetype (and opentype, which is slightly more relevant to the error), so I imagine it wouldn't be Windows itself breaking that.
09:26:33 <Maxdamantus> (not that I have any experience using Haskell on Windows)
09:28:39 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
09:28:48 <Maxdamantus> Seems like not only a Windows issue: https://bugs.archlinux.org/task/71680
09:31:24 × zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 248 seconds)
09:31:48 <Maxdamantus> Yeah, so presumably it's just using an old version of HarfBuzz and a new version of Freetype.
09:32:29 zmt00 joins (~zmt00@user/zmt00)
09:35:14 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:f43a:3bed:72de:aa73) (Remote host closed the connection)
09:40:05 × razetime quits (~quassel@117.254.36.255) (Ping timeout: 245 seconds)
09:40:51 razetime joins (~quassel@117.254.37.16)
09:44:45 Square2 is now known as Square
09:45:27 × leon_on9527 quits (~yoyofreem@117.39.32.218) (Quit: Leaving)
09:45:44 × robobub quits (uid248673@2a03:5180:f:5::3:cb61) (Quit: Connection closed for inactivity)
09:46:21 yoyofreeman joins (~yoyofreem@117.39.32.218)
09:46:23 × yoyofreeman quits (~yoyofreem@117.39.32.218) (Max SendQ exceeded)
09:48:15 yoyofreeman joins (~yoyofreem@47.254.237.126)
09:48:25 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
09:49:29 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
09:50:16 × razetime quits (~quassel@117.254.37.16) (Ping timeout: 256 seconds)
09:50:34 razetime joins (~quassel@117.254.36.174)
09:50:58 ulysses4ever joins (~artem@38.42.227.237)
09:50:58 × artem quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
09:51:32 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
09:52:07 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:54:44 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
09:55:22 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 256 seconds)
09:55:44 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
09:56:04 Lord_of_Life_ is now known as Lord_of_Life
09:58:34 × libertyprime quits (~libertypr@203.96.203.44) (Quit: leaving)
09:58:37 × razetime quits (~quassel@117.254.36.174) (Ping timeout: 246 seconds)
09:58:45 pavonia joins (~user@user/siracusa)
09:59:14 razetime joins (~quassel@117.254.37.124)
10:01:25 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
10:02:16 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
10:07:51 × kupi quits (uid212005@id-212005.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
10:09:47 × danza quits (~francesco@151.46.219.132) (Remote host closed the connection)
10:11:09 danza joins (~francesco@151.46.219.132)
10:11:22 × danza quits (~francesco@151.46.219.132) (Remote host closed the connection)
10:11:51 danza joins (~francesco@151.46.219.132)
10:12:31 × xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 245 seconds)
10:12:58 Pickchea joins (~private@user/pickchea)
10:13:17 × danza quits (~francesco@151.46.219.132) (Remote host closed the connection)
10:15:57 danza joins (~francesco@151.46.219.132)
10:16:47 × danza quits (~francesco@151.46.219.132) (Remote host closed the connection)
10:24:25 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
10:25:18 ulysses4ever joins (~artem@38.42.227.237)
10:28:22 × mima quits (~mmh@net-93-67-213-242.cust.vodafonedsl.it) (Ping timeout: 246 seconds)
10:29:18 sm joins (~sm@plaintextaccounting/sm)
10:29:42 danza joins (~francesco@151.46.219.132)
10:34:06 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
10:34:28 mc47 joins (~mc47@xmonad/TheMC47)
10:35:46 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:918c:1f42:3cf8:7b7a)
10:40:03 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:918c:1f42:3cf8:7b7a) (Ping timeout: 246 seconds)
10:43:10 p3n joins (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1)
10:49:03 × danza quits (~francesco@151.46.219.132) (Remote host closed the connection)
10:49:22 × razetime quits (~quassel@117.254.37.124) (Ping timeout: 246 seconds)
10:49:47 danza joins (~francesco@151.46.219.132)
10:50:17 razetime joins (~quassel@117.254.36.229)
10:50:33 × danza quits (~francesco@151.46.219.132) (Remote host closed the connection)
10:51:37 danza joins (~francesco@151.46.219.132)
10:57:58 × danza quits (~francesco@151.46.219.132) (Remote host closed the connection)
10:58:58 danza joins (~francesco@151.46.219.132)
11:00:28 × danza quits (~francesco@151.46.219.132) (Remote host closed the connection)
11:07:20 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 256 seconds)
11:07:26 xff0x joins (~xff0x@2405:6580:b080:900:8609:fbca:2f35:9884)
11:09:39 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
11:16:04 CiaoSen joins (~Jura@2a05:5800:2ad:5100:664b:f0ff:fe37:9ef)
11:17:41 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
11:22:24 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 250 seconds)
11:28:05 × Inst quits (~Inst@2601:6c4:4081:2fc0:c9ba:9410:6c9c:4630) (Read error: Connection reset by peer)
11:29:58 × p3n quits (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1) (Quit: ZNC 1.8.2 - https://znc.in)
11:37:48 × razetime quits (~quassel@117.254.36.229) (Ping timeout: 248 seconds)
11:38:07 razetime joins (~quassel@117.254.36.237)
11:40:54 misterfish joins (~misterfis@87.215.131.102)
11:44:01 artem joins (~artem@38.42.227.237)
11:44:02 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
11:45:16 NewtonTrendy joins (uid282092@user/bopqod)
11:46:05 ft joins (~ft@p4fc2a6f5.dip0.t-ipconnect.de)
11:48:20 ph88 joins (~ph88@91.64.60.212)
11:48:42 × artem quits (~artem@38.42.227.237) (Ping timeout: 256 seconds)
11:48:52 ulysses4ever joins (~artem@38.42.227.237)
11:52:22 × razetime quits (~quassel@117.254.36.237) (Ping timeout: 246 seconds)
11:52:52 razetime joins (~quassel@117.254.37.218)
11:56:22 Inst joins (~liamzy@2601:6c4:4081:2fc0::8d44)
11:59:08 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
11:59:31 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
12:05:05 × razetime quits (~quassel@117.254.37.218) (Ping timeout: 245 seconds)
12:05:27 razetime joins (~quassel@117.254.36.125)
12:05:59 × titibandit quits (~titibandi@user/titibandit) (Quit: leaving)
12:06:10 titibandit joins (~titibandi@user/titibandit)
12:06:27 × titibandit quits (~titibandi@user/titibandit) (Client Quit)
12:06:37 × Pickchea quits (~private@user/pickchea) (Ping timeout: 248 seconds)
12:06:38 titibandit joins (~titibandi@user/titibandit)
12:10:07 × razetime quits (~quassel@117.254.36.125) (Ping timeout: 260 seconds)
12:10:09 razetime_ joins (~quassel@117.254.37.35)
12:11:02 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
12:16:28 × elkcl quits (~elkcl@broadband-95-84-226-240.ip.moscow.rt.ru) (Ping timeout: 256 seconds)
12:17:07 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 260 seconds)
12:17:08 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
12:19:24 elkcl joins (~elkcl@broadband-95-84-226-240.ip.moscow.rt.ru)
12:19:52 × ulysses4ever quits (~artem@38.42.227.237) (Ping timeout: 256 seconds)
12:19:56 × Inst quits (~liamzy@2601:6c4:4081:2fc0::8d44) (Ping timeout: 246 seconds)
12:21:02 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
12:22:01 <exarkun> Anyone mind looking over my first hackage package release (candidate) and pointing out anything glaringly dumb I did? https://hackage.haskell.org/package/tahoe-chk-0.1.0.1/candidate
12:23:12 <jackdk> If you want to test how your haddocks look, you can run `cabal haddock --haddock-for-hackage` and then `cabal upload -d -u <hackage user> /path/to/doc/tarball.tar.gz
12:23:47 <exarkun> ah, that sounds like a good idea, thanks
12:25:28 danza joins (~francesco@151.37.229.69)
12:27:56 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 245 seconds)
12:34:46 × ph88 quits (~ph88@91.64.60.212) (Ping timeout: 252 seconds)
12:36:29 sm joins (~sm@plaintextaccounting/sm)
12:37:00 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
12:37:56 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
12:38:19 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
12:38:50 Inst joins (~liamzy@2601:6c4:4081:2fc0::8d44)
12:39:16 × razetime_ quits (~quassel@117.254.37.35) (Ping timeout: 260 seconds)
12:39:19 razetime joins (~quassel@117.254.36.60)
12:39:52 × sagax quits (~sagax_nb@user/sagax) (Quit: Konversation terminated!)
12:42:39 <Inst> grrr
12:43:02 <Inst> sdl2 on Windows has 2 years to live unless GHC devs fix stack protector support
12:43:25 <Inst> well, i can't drink anymore because my liver is fubared, but I can always drown my sorrows with Arch
12:47:26 × mc47 quits (~mc47@xmonad/TheMC47) (Quit: Leaving)
12:51:02 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 256 seconds)
12:56:57 ulysses4ever joins (~artem@38.42.227.237)
12:57:28 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
13:01:48 <int-e> this is the kind of complaint that should come with a ticket (I looked and didn't find one)
13:02:15 ph88 joins (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de)
13:03:00 <int-e> hmm, maybe https://gitlab.haskell.org/ghc/ghc/-/issues/22999
13:03:08 × ulysses4ever quits (~artem@38.42.227.237) (Ping timeout: 248 seconds)
13:03:51 Pickchea joins (~private@user/pickchea)
13:03:58 ulysses4ever joins (~artem@38.42.227.237)
13:10:51 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 245 seconds)
13:11:38 cfricke joins (~cfricke@user/cfricke)
13:12:59 <Inst> Yeah, I contacted Tamar Christina with it and he put it up. I've been considering whether or not to post a probable timeline of when the last working SDL2 goes down, but I'm blaming it for why monomer isn't working, i.e, if I do it again, I need to get contemporary msys2 packages to get it to work.
13:13:14 <Inst> In either case, I'm just annoyed, but thanks to Kindaro I came up with a useful project idea.
13:13:46 <Inst> Shouldn't be that hard, it can replace my monomer project in the cookbook
13:14:15 <Inst> Short answer: Change.org doesn't get anywhere because people don't pledge money or time for demands. :)
13:15:07 <int-e> ?
13:16:41 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
13:17:00 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 248 seconds)
13:20:59 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
13:20:59 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
13:20:59 finn_elija is now known as FinnElija
13:25:44 × ph88 quits (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de) (Ping timeout: 246 seconds)
13:27:42 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 260 seconds)
13:31:29 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
13:35:05 <[exa]> Inst: that's kindof universal property of changes, right?
13:37:30 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
13:39:19 random-jellyfish joins (~random-je@user/random-jellyfish)
13:44:30 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Quit: WeeChat 4.0.2)
13:45:40 <Inst> https://discourse.haskell.org/t/maintaining-haskell-programs/7166/37
13:45:42 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
13:46:54 <Inst> can do it for more than Haskell, and I already have a domain name in sight; it's really cheap
13:47:16 <Inst> I've had this interest in "fixing" FOSS because FOSS is outrageously slow, as well as new modes of economic organization.
13:47:25 <exarkun> wooo blockchain
13:49:09 <Inst> I'm interested in Haier's usage of blockchain to create and enforce internal contracts within their microenterprise network.
13:50:05 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 245 seconds)
13:53:30 artem joins (~artem@38.42.227.237)
13:53:30 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
13:54:21 ulysses4ever joins (~artem@38.42.227.237)
13:54:22 × artem quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
13:55:08 artem joins (~artem@38.42.227.237)
13:55:08 × ulysses4ever quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
13:55:43 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
13:57:00 × Pickchea quits (~private@user/pickchea) (Ping timeout: 248 seconds)
13:57:31 notzmv joins (~zmv@user/notzmv)
14:01:36 × hgolden quits (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com) (Remote host closed the connection)
14:01:37 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
14:02:23 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
14:02:45 thegeekinside joins (~thegeekin@189.217.90.224)
14:03:28 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
14:03:28 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
14:03:28 wroathe joins (~wroathe@user/wroathe)
14:03:52 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
14:05:32 mima joins (~mmh@net-93-67-213-242.cust.vodafonedsl.it)
14:07:57 × thegeekinside quits (~thegeekin@189.217.90.224) (Read error: Connection reset by peer)
14:10:28 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 252 seconds)
14:13:00 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
14:16:18 thegeekinside joins (~thegeekin@189.217.90.224)
14:18:10 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 252 seconds)
14:19:17 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
14:19:25 × Inst quits (~liamzy@2601:6c4:4081:2fc0::8d44) (Read error: Connection reset by peer)
14:20:01 × artem quits (~artem@38.42.227.237) (Read error: Connection reset by peer)
14:20:12 ulysses4ever joins (~artem@38.42.227.237)
14:23:18 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
14:23:40 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 248 seconds)
14:24:24 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 250 seconds)
14:25:40 × CiaoSen quits (~Jura@2a05:5800:2ad:5100:664b:f0ff:fe37:9ef) (Ping timeout: 256 seconds)
14:32:16 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
14:32:30 × razetime quits (~quassel@117.254.36.60) (Remote host closed the connection)
14:33:40 shriekingnoise joins (~shrieking@186.137.175.87)
14:33:40 × random-jellyfish quits (~random-je@user/random-jellyfish) (Quit: Client closed)
14:34:01 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:fc5e:9ab9:469c:9878) (Quit: WeeChat 2.8)
14:34:18 × kayvank quits (~user@52-119-115-185.PUBLIC.monkeybrains.net) (Quit: ERC 5.4 (IRC client for GNU Emacs 28.1))
14:34:28 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
14:35:50 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
14:40:01 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 245 seconds)
14:44:48 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
14:45:00 × nckx quits (nckx@libera/staff/owl/nckx) (Read error: Connection reset by peer)
14:46:49 nckx joins (nckx@libera/staff/owl/nckx)
14:47:17 <albet70> :t liftM2
14:47:18 <lambdabot> Monad m => (a1 -> a2 -> r) -> m a1 -> m a2 -> m r
14:50:40 hgolden joins (~hgolden@2603:8000:9d00:3ed1:fc05:5499:f77c:fbe5)
14:51:55 × hgolden quits (~hgolden@2603:8000:9d00:3ed1:fc05:5499:f77c:fbe5) (Remote host closed the connection)
14:53:46 × ulysses4ever quits (~artem@38.42.227.237) (Ping timeout: 244 seconds)
14:56:36 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
15:01:00 × Square quits (~Square4@user/square) (Ping timeout: 246 seconds)
15:01:57 billchenchina joins (~billchenc@103.152.35.21)
15:02:33 Inst joins (~liamzy@2601:6c4:4081:2fc0::8d44)
15:02:36 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
15:03:43 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
15:05:24 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
15:05:24 hgolden joins (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com)
15:08:22 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 246 seconds)
15:09:09 nick3 joins (~nick@2600:100d:b109:3579:4d49:ddfc:8cbb:8d72)
15:12:04 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 250 seconds)
15:13:09 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
15:14:37 × nick3 quits (~nick@2600:100d:b109:3579:4d49:ddfc:8cbb:8d72) (Ping timeout: 258 seconds)
15:15:27 mc47 joins (~mc47@xmonad/TheMC47)
15:18:09 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
15:18:46 × idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.2)
15:19:10 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
15:19:22 × hgolden quits (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com) (Remote host closed the connection)
15:23:41 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 246 seconds)
15:24:53 hgolden joins (~hgolden@2603-8000-9d00-3ed1-fc05-5499-f77c-fbe5.res6.spectrum.com)
15:26:11 cfricke joins (~cfricke@user/cfricke)
15:26:40 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
15:27:57 × acidjnk_new quits (~acidjnk@p200300d6e7072f340195dc8d23b3c708.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
15:30:33 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
15:31:02 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
15:32:11 sm joins (~sm@plaintextaccounting/sm)
15:33:08 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
15:33:33 × danza quits (~francesco@151.37.229.69) (Ping timeout: 246 seconds)
15:35:40 <ncf> i keep seeing equality constraints that are obviously yoneda'ble, as in `instance i ~ j => Indexable i (Indexed j)` or `instance (c ~ d) => Each (Map c a) (Map d b) a b`. what's the point of this?
15:36:17 × Inst quits (~liamzy@2601:6c4:4081:2fc0::8d44) (Ping timeout: 246 seconds)
15:36:29 × thegeekinside quits (~thegeekin@189.217.90.224) (Read error: Connection reset by peer)
15:36:30 × sm quits (~sm@plaintextaccounting/sm) (Ping timeout: 246 seconds)
15:37:33 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
15:37:50 <ncf> lyxia: i feel like you know
15:38:14 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
15:39:59 sm joins (~sm@plaintextaccounting/sm)
15:41:11 danza joins (~francesco@151.43.224.132)
15:42:35 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 245 seconds)
15:49:28 × misterfish quits (~misterfis@87.215.131.102) (Ping timeout: 252 seconds)
15:50:35 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:918c:1f42:3cf8:7b7a)
15:51:16 sm_ joins (~sm@plaintextaccounting/sm)
15:52:27 × sm quits (~sm@plaintextaccounting/sm) (Ping timeout: 245 seconds)
15:52:42 safinaskar joins (~quassel@212.73.77.98)
15:52:49 <safinaskar> how to compile this? https://godbolt.org/z/hqvoMroqf
15:53:02 acidjnk_new joins (~acidjnk@p200300d6e7072f340195dc8d23b3c708.dip0.t-ipconnect.de)
15:53:05 <safinaskar> i. e. how to pass lambda as argument to type constructor?
15:56:53 <int-e> I think you just don't.
15:56:54 <geekosaur> type level doesn't have lambdas
15:57:33 <safinaskar> lambda here has type "Int -> Int"
15:57:42 <safinaskar> i. e. this is usual lambda on data values
15:58:16 <safinaskar> is there a way to switch to term syntax? Maybe "Y '(\x -> x)"?
15:58:33 <geekosaur> haskell is not dependently typed, at least not yet
15:58:40 <geekosaur> you cannot use term syntax in types
15:59:05 <int-e> you can't demote terms to types either
15:59:14 <safinaskar> i heard i can use apostroph (') to switch to term syntax. is this true?
15:59:18 <EvanR> you can make an identity type family
15:59:24 <EvanR> but not pass it to Y
16:00:19 <geekosaur> it is not true. you can promote constructors with a tick
16:00:22 <safinaskar> geekosaur: int-e: i remember you here in 2015. so all this time you sit here and answer question? thanks a lot for all this job!!!
16:00:29 <geekosaur> you cannot generally switch to term syntax
16:00:36 <safinaskar> *questions
16:01:06 <dolio> You don't need dependent types to have lambda expressions in types. But putting them in there tends to make type inference undecidable.
16:01:21 <int-e> geekosaur: but that's a lie, isn't it... the whole data type gets embedded into the type level, pretty much totally separate from the one at the value type.
16:01:23 <geekosaur> there are a few type families for type level operations, e.g. you cna add type level numbers with the + type family
16:01:39 <int-e> just sharing names
16:02:12 <int-e> in particular, you can't use term-level definitions using that type at the type level; you have to use type families isntead
16:03:14 Midjak joins (~Midjak@82.66.147.146)
16:03:20 <int-e> Oh well. At least that's my mental model of these things.
16:03:54 <dolio> The term and type level have kind of fundamentally different behaviors in Haskell, so it's not super obvious how just lifting up any term level definition to the type level would work.
16:06:00 <geekosaur> int-e: "promoted" is what ghc calls it, so you risk confusion if you don't use the same language, even if it's not quite true
16:06:12 <int-e> There's a benefit to this clear cut: type erasure will always work (with the understanding that class instance evidence can still be values)
16:06:48 <int-e> geekosaur: of course they do :-P
16:07:59 × titibandit quits (~titibandi@user/titibandit) (Remote host closed the connection)
16:08:10 <int-e> (this is essentially the same quibble as the one I have with reify/reflect)
16:11:33 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
16:11:37 <int-e> And "they" are of course type theorists who've never seen a real value in their whole life. I may have some issues to work out...
16:15:40 <EvanR> so vulkans lack ethics and type theorists lack value?
16:17:56 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 250 seconds)
16:18:49 × yoyofreeman quits (~yoyofreem@47.254.237.126) (Remote host closed the connection)
16:19:33 yoyofreeman joins (~yoyofreem@47.254.237.126)
16:20:54 ulysses4ever joins (~artem@2607:fb91:2d97:853f:f474:e3f8:9806:671)
16:21:09 <lyxia> ncf: you mean this? https://chrisdone.com/posts/haskell-constraint-trick/
16:22:32 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
16:22:37 <ncf> oh my yes
16:22:40 <ncf> thank
16:23:02 sm joins (~sm@plaintextaccounting/sm)
16:24:30 × sm_ quits (~sm@plaintextaccounting/sm) (Remote host closed the connection)
16:25:51 Luke96 joins (~Luke@2600:387:f:6812::7)
16:26:19 × yoyofreeman quits (~yoyofreem@47.254.237.126) (Remote host closed the connection)
16:27:17 yoyofreeman joins (~yoyofreem@47.254.237.126)
16:28:17 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
16:29:15 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 245 seconds)
16:30:01 <int-e> EvanR: hah it took me until now to realize which vulkans you mean.
16:30:12 Square2 joins (~Square@user/square)
16:31:06 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
16:31:16 thegeekinside joins (~thegeekin@189.217.90.224)
16:31:18 ph88 joins (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de)
16:31:51 <EvanR> yeah that's not how it's spelled in star trek
16:32:34 × ph88 quits (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de) (Client Quit)
16:32:39 <Square2> Are there any publicly available nix binary caches for haskell tooling and packages available. The publish builds once a year at least
16:32:59 <Square2> That publish
16:35:15 × Luke96 quits (~Luke@2600:387:f:6812::7) (Quit: Client closed)
16:35:28 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
16:35:28 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
16:35:28 dibblego joins (~dibblego@haskell/developer/dibblego)
16:35:30 Luke22 joins (~Luke@2600:387:f:6812::7)
16:35:38 × Luke22 quits (~Luke@2600:387:f:6812::7) (Client Quit)
16:35:47 × elkcl quits (~elkcl@broadband-95-84-226-240.ip.moscow.rt.ru) (Ping timeout: 245 seconds)
16:37:06 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 245 seconds)
16:38:06 nick3 joins (~nick@wsip-174-78-110-18.pn.at.cox.net)
16:39:06 elkcl joins (~elkcl@broadband-95-84-226-240.ip.moscow.rt.ru)
16:40:19 trev joins (~trev@user/trev)
16:40:50 × yoyofreeman quits (~yoyofreem@47.254.237.126) (Remote host closed the connection)
16:41:29 yoyofreeman joins (~yoyofreem@47.254.237.126)
16:42:26 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 246 seconds)
16:42:35 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
16:44:40 × trev quits (~trev@user/trev) (Ping timeout: 245 seconds)
16:45:23 idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
16:45:47 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
16:46:58 sososasa joins (~textual@108-210-178-55.lightspeed.tukrga.sbcglobal.net)
16:47:03 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
16:52:36 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 244 seconds)
16:53:19 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
16:53:20 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
16:53:20 dibblego joins (~dibblego@haskell/developer/dibblego)
16:53:26 trev joins (~trev@user/trev)
16:55:22 × trev quits (~trev@user/trev) (Read error: Connection reset by peer)
16:55:46 trev joins (~trev@user/trev)
16:56:30 × mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 246 seconds)
17:00:30 × sososasa quits (~textual@108-210-178-55.lightspeed.tukrga.sbcglobal.net) (Quit: Textual IRC Client: www.textualapp.com)
17:06:13 <ncf> cache.nixos.org
17:06:42 bratwurst joins (~blaadsfa@S010610561191f5d6.lb.shawcable.net)
17:07:05 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
17:08:54 × trev quits (~trev@user/trev) (Ping timeout: 246 seconds)
17:10:52 × exarkun quits (~exarkun@user/exarkun) (Excess Flood)
17:11:12 × mima quits (~mmh@net-93-67-213-242.cust.vodafonedsl.it) (Ping timeout: 245 seconds)
17:11:46 exarkun joins (~exarkun@user/exarkun)
17:15:33 <Square2> ncf, thanks
17:18:14 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
17:25:30 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.0.1)
17:29:50 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 256 seconds)
17:30:26 dibblego joins (~dibblego@116.255.1.151)
17:30:26 × dibblego quits (~dibblego@116.255.1.151) (Changing host)
17:30:26 dibblego joins (~dibblego@haskell/developer/dibblego)
17:30:55 × danza quits (~francesco@151.43.224.132) (Ping timeout: 245 seconds)
17:35:52 × bratwurst quits (~blaadsfa@S010610561191f5d6.lb.shawcable.net) (Remote host closed the connection)
17:36:24 bratwurst joins (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8)
17:40:01 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 245 seconds)
17:41:14 caryhartline joins (~caryhartl@168.182.58.169)
17:41:49 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
17:45:56 danza joins (~francesco@151.43.224.132)
17:46:13 × bratwurst quits (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Ping timeout: 246 seconds)
17:53:33 Tuplanolla joins (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi)
17:53:55 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
17:54:32 ICRainbow joins (~quassel@129.152.29.236)
17:55:03 × ICRainbow quits (~quassel@129.152.29.236) (Client Quit)
17:55:29 × billchenchina quits (~billchenc@103.152.35.21) (Quit: Leaving)
17:55:58 × motherfsck quits (~motherfsc@user/motherfsck) (Remote host closed the connection)
17:58:52 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
17:58:52 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
17:58:52 dibblego joins (~dibblego@haskell/developer/dibblego)
18:01:56 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
18:01:58 simikando joins (~simikando@adsl-dyn-104.95-102-88.t-com.sk)
18:02:48 safinaskar parts (~quassel@212.73.77.98) ()
18:06:18 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
18:08:27 fweht joins (uid404746@id-404746.lymington.irccloud.com)
18:16:18 × danza quits (~francesco@151.43.224.132) (Ping timeout: 246 seconds)
18:16:28 bratwurst joins (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8)
18:20:04 ICRainbow joins (~quassel@129.152.29.236)
18:20:42 ICRainbow parts (~quassel@129.152.29.236) ()
18:21:06 gmg joins (~user@user/gehmehgeh)
18:27:16 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
18:28:44 × caryhartline quits (~caryhartl@168.182.58.169) (Quit: caryhartline)
18:36:11 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
18:38:00 × simikando quits (~simikando@adsl-dyn-104.95-102-88.t-com.sk) (Ping timeout: 244 seconds)
18:38:03 tzh joins (~tzh@24.21.73.154)
18:39:20 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
18:42:09 rhemsta0 joins (~rhemsta0@2001:4451:114d:8500:24bf:8c6a:d958:4b8a)
18:46:40 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
18:49:03 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
18:49:03 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
18:49:03 dibblego joins (~dibblego@haskell/developer/dibblego)
18:52:14 tromp joins (~textual@92.110.219.57)
18:52:28 × rhemsta0 quits (~rhemsta0@2001:4451:114d:8500:24bf:8c6a:d958:4b8a) (Quit: Client closed)
18:58:13 michalz joins (~michalz@185.246.207.193)
18:58:16 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 250 seconds)
18:58:18 simikando joins (~simikando@adsl-dyn-104.95-102-88.t-com.sk)
19:00:45 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:918c:1f42:3cf8:7b7a) (Remote host closed the connection)
19:02:03 euandreh joins (~Thunderbi@189.6.18.7)
19:06:24 dibblego joins (~dibblego@116.255.1.151)
19:06:24 × dibblego quits (~dibblego@116.255.1.151) (Changing host)
19:06:24 dibblego joins (~dibblego@haskell/developer/dibblego)
19:06:57 × tromp quits (~textual@92.110.219.57) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:08:10 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:13:25 × Square2 quits (~Square@user/square) (Ping timeout: 245 seconds)
19:14:08 Inst joins (~liamzy@2601:6c4:4081:2fc0::8d44)
19:15:01 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 245 seconds)
19:17:35 × jle` quits (~jle`@cpe-23-240-75-236.socal.res.rr.com) (Ping timeout: 245 seconds)
19:19:25 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
19:20:00 jle` joins (~jle`@23.240.75.236)
19:20:32 dibblego joins (~dibblego@116.255.1.151)
19:20:32 × dibblego quits (~dibblego@116.255.1.151) (Changing host)
19:20:32 dibblego joins (~dibblego@haskell/developer/dibblego)
19:21:03 nate2 joins (~nate@98.45.169.16)
19:23:47 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
19:23:47 machinedgod joins (~machinedg@198.53.218.113)
19:25:32 × nate2 quits (~nate@98.45.169.16) (Ping timeout: 248 seconds)
19:29:16 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 248 seconds)
19:30:33 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
19:30:34 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
19:30:34 dibblego joins (~dibblego@haskell/developer/dibblego)
19:35:30 × natto quits (~natto@140.238.225.67) (Quit: a.)
19:36:26 anselmschueler joins (~anselmsch@user/schuelermine)
19:36:32 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 240 seconds)
19:39:15 oats joins (~thomas@user/oats)
19:39:50 oats is now known as schmoats
19:42:25 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
19:46:58 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 256 seconds)
19:50:25 titibandit joins (~titibandi@user/titibandit)
19:51:24 <erisco> I haven't touched Haskell in a few years. We've got dependent types now, right?
19:51:51 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
19:51:51 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
19:51:51 dibblego joins (~dibblego@haskell/developer/dibblego)
19:52:25 <dolio> No.
19:52:29 danza joins (~francesco@151.47.107.62)
19:52:59 <erisco> Drat. I did nothing and it still isn't here!
19:53:38 <dolio> Just use Idris.
19:54:08 <erisco> well now I don't know if it is Idris or Idris 2 or what's going on
19:54:13 <bratwurst> i couldn't get chez to build on my machine sadly
19:54:20 <dolio> Or agda2hs.
19:54:39 <bratwurst> it's idris2 but it uses chez scheme now
19:55:09 <dolio> Doesn't even idris2 have lots of backends already?
19:55:14 <bratwurst> building chez sucked up every bit of memory and swap on my machine and locked it up
19:55:22 <bratwurst> no idea how to diagnose the problem
19:55:45 <erisco> open case, look for any empty dimm slots, fill those slots
19:57:46 <bratwurst> oh wait, im on a chromebook now, i could use 'apt'
19:57:56 <bratwurst> and there it is yay!
19:58:42 <bratwurst> i lost my main laptop to hard drive failure
19:59:03 × ulysses4ever quits (~artem@2607:fb91:2d97:853f:f474:e3f8:9806:671) (Ping timeout: 258 seconds)
20:00:03 × justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 246 seconds)
20:01:37 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:918c:1f42:3cf8:7b7a)
20:01:47 TonyStone joins (~TonyStone@74.76.57.186)
20:01:50 × TonyStone quits (~TonyStone@74.76.57.186) (Remote host closed the connection)
20:03:21 misterfish joins (~misterfis@84.53.85.146)
20:06:04 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:918c:1f42:3cf8:7b7a) (Ping timeout: 248 seconds)
20:08:50 × danza quits (~francesco@151.47.107.62) (Ping timeout: 245 seconds)
20:09:30 × vglfr quits (~vglfr@188.239.201.89) (Ping timeout: 246 seconds)
20:10:38 vglfr joins (~vglfr@2a0d:3344:148d:7a00:ed76:cbc2:e557:fc01)
20:11:15 <_d0t> ohai! Question about Servant and context handlers. Can context handlers perform effectful computations in a custom monad with effects propagating into api handlers? Say, a context handler modifies the state in StateT and an api handler then uses those changes.
20:13:18 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht)
20:14:02 Pickchea joins (~private@user/pickchea)
20:15:18 × vglfr quits (~vglfr@2a0d:3344:148d:7a00:ed76:cbc2:e557:fc01) (Ping timeout: 256 seconds)
20:16:40 <_d0t> I suppose this isn't so, but I'm a bit hopeful someone can prove me wrong.
20:16:43 vglfr joins (~vglfr@145.224.100.231)
20:17:21 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:20:23 × fbytez quits (~uid@user/fbytez) (Quit: byte byte)
20:22:00 fbytez joins (~uid@user/fbytez)
20:22:01 <EvanR> erisco, I'm curious what you want to do with dependent types
20:23:22 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 252 seconds)
20:23:49 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
20:23:53 <erisco> I am interested to see what the Haskell flavour of them will be. I usually just mess around with silly stuff
20:24:07 zeenk joins (~zeenk@2a02:2f04:a010:9500::7fe)
20:24:19 <EvanR> there's at least 1 paper on dependent haskell and how it looks and works
20:24:26 justsomeguy joins (~justsomeg@user/justsomeguy)
20:24:32 <EvanR> from a few years back now
20:27:25 × simikando quits (~simikando@adsl-dyn-104.95-102-88.t-com.sk) (Quit: Leaving)
20:28:00 vglfr joins (~vglfr@145.224.100.231)
20:28:35 <EvanR> now I can't find it
20:30:32 <geekosaur> you thinking of eisenberg's thesis?
20:30:45 <geekosaur> https://www.cis.upenn.edu/~sweirich/papers/eisenberg-thesis.pdf
20:31:10 × troydm quits (~troydm@user/troydm) (Ping timeout: 256 seconds)
20:32:09 <EvanR> well, I look at that paper and it doesn't match the corrupted memory of whatever I was trying to think of
20:32:25 <EvanR> maybe I was looking at an early draft
20:32:47 <monochrom> There were other papers too.
20:36:01 Lycurgus joins (~juan@user/Lycurgus)
20:39:12 ulysses4ever joins (~artem@50.216.106.11)
20:39:16 × Inst quits (~liamzy@2601:6c4:4081:2fc0::8d44) (Remote host closed the connection)
20:40:22 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 245 seconds)
20:40:25 × ulysses4ever quits (~artem@50.216.106.11) (Read error: Connection reset by peer)
20:41:02 × sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937)
20:44:16 oo_miguel joins (~Thunderbi@78-11-179-96.static.ip.netia.com.pl)
20:45:57 Abreu joins (~Abreu@143.107.225.16)
20:46:02 <Abreu> Heya.
20:46:34 × fendor quits (~fendor@2a02:8388:1640:be00:b586:6c06:a58:19a3) (Remote host closed the connection)
20:47:25 <g> hi
20:47:46 <mauke> https://www.youtube.com/watch?v=lnCai9GYJ9k
20:48:34 <Abreu> Nice. *:D
20:48:37 <EvanR> what does lnCai9GYJ9k go to
20:48:50 <EvanR> other than ads
20:49:20 <mauke> Super Hey Ya! (remastered)
20:50:07 vglfr joins (~vglfr@2a0d:3344:148d:7a00:ed76:cbc2:e557:fc01)
20:51:42 <g> mauke: this is some weird stuff
20:52:38 ulysses4ever joins (~artem@50.216.106.3)
20:53:08 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
20:54:46 artem joins (~artem@50.216.106.4)
20:54:46 × ulysses4ever quits (~artem@50.216.106.3) (Read error: Connection reset by peer)
20:55:20 sm joins (~sm@plaintextaccounting/sm)
20:59:12 × artem quits (~artem@50.216.106.4) (Ping timeout: 260 seconds)
21:01:03 × bgs quits (~bgs@212.85.160.171) (Remote host closed the connection)
21:01:39 mima joins (~mmh@net-93-67-213-242.cust.vodafonedsl.it)
21:01:42 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
21:02:33 × son0p quits (~ff@181.32.134.99) (Ping timeout: 246 seconds)
21:05:04 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
21:06:02 gmg joins (~user@user/gehmehgeh)
21:06:30 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
21:07:51 × anselmschueler quits (~anselmsch@user/schuelermine) (Quit: WeeChat 4.0.3)
21:14:13 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:17:35 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 245 seconds)
21:17:58 × ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Ping timeout: 246 seconds)
21:22:10 × bratwurst quits (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8) (Ping timeout: 245 seconds)
21:24:15 dibblego joins (~dibblego@116.255.1.151)
21:24:15 × dibblego quits (~dibblego@116.255.1.151) (Changing host)
21:24:15 dibblego joins (~dibblego@haskell/developer/dibblego)
21:28:57 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
21:30:43 natto joins (~natto@140.238.225.67)
21:31:50 × michalz quits (~michalz@185.246.207.193) (Remote host closed the connection)
21:33:25 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
21:33:25 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
21:33:25 dibblego joins (~dibblego@haskell/developer/dibblego)
21:44:59 caryhartline joins (~caryhartl@168.182.58.169)
21:45:29 × zeenk quits (~zeenk@2a02:2f04:a010:9500::7fe) (Quit: Konversation terminated!)
21:49:57 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
21:52:13 × machinedgod quits (~machinedg@198.53.218.113) (Ping timeout: 248 seconds)
21:55:01 dibblego joins (~dibblego@116.255.1.151)
21:55:01 × dibblego quits (~dibblego@116.255.1.151) (Changing host)
21:55:01 dibblego joins (~dibblego@haskell/developer/dibblego)
22:01:43 × LispTyro quits (~pepsi@iron.vengarl.com) (Remote host closed the connection)
22:02:33 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
22:02:54 mikoto-chan joins (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be)
22:03:22 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:918c:1f42:3cf8:7b7a)
22:06:20 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 250 seconds)
22:06:56 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 256 seconds)
22:07:52 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:918c:1f42:3cf8:7b7a) (Ping timeout: 245 seconds)
22:10:03 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 246 seconds)
22:10:43 × chele quits (~chele@user/chele) (Remote host closed the connection)
22:13:09 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
22:13:10 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
22:13:10 dibblego joins (~dibblego@haskell/developer/dibblego)
22:13:40 gmg joins (~user@user/gehmehgeh)
22:15:27 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.6)
22:17:16 × misterfish quits (~misterfis@84.53.85.146) (Ping timeout: 248 seconds)
22:17:48 × nick3 quits (~nick@wsip-174-78-110-18.pn.at.cox.net) (Ping timeout: 246 seconds)
22:18:06 × titibandit quits (~titibandi@user/titibandit) (Remote host closed the connection)
22:20:09 bratwurst joins (~blaadsfa@2604:3d09:207f:f650:216:3eff:fe5a:a1f8)
22:20:46 son0p joins (~ff@181.32.134.99)
22:24:38 × Abreu quits (~Abreu@143.107.225.16) (Ping timeout: 246 seconds)
22:24:45 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
22:25:30 × acidjnk_new quits (~acidjnk@p200300d6e7072f340195dc8d23b3c708.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
22:25:31 Feuermagier joins (~Feuermagi@user/feuermagier)
22:26:02 × idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.2)
22:27:55 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
22:37:03 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
22:38:29 mawiie joins (~mawiie@c-76-155-235-153.hsd1.co.comcast.net)
22:43:55 <mawiie> do any of you remember what you struggled with most learning Haskell or functional programming for the first time? i want to introduce fp to some friends and was curious about common pitfalls.
22:44:10 Sgeo joins (~Sgeo@user/sgeo)
22:44:54 × mikoto-chan quits (~mikoto-ch@ip-83-134-209-157.dsl.scarlet.be) (Ping timeout: 252 seconds)
22:45:08 acidjnk_new joins (~acidjnk@p200300d6e7072f29a8bd101470ed31bc.dip0.t-ipconnect.de)
22:47:26 <hpc> when i learned haskell, i knew java (from classes), perl (from the job), and python (for fun)
22:47:47 <hpc> and haskell was so different that i had to break down a lot of assumptions in my head before i could get anywhere
22:48:23 <hpc> i ended up taking a month in the gap between semesters to just power through it with the goal of connecting an irc bot to a network
22:49:17 <EvanR> when learning scheme I was like how are you supposed to do anything without resorting to mutable variables
22:49:28 <EvanR> on IRC they told me to just use mutable variables
22:50:30 <EvanR> also monad tutorials at the time were especially bad
22:50:44 <hpc> i think the meta-lesson from that whole experience (and then taking a course on electronic circuits shortly after) was that computation is everywhere
22:51:23 <hpc> and no matter what form of computation you're looking at, there's always a dozen other ways to express any idea that are wildly different
22:52:23 <mawiie> thank you both. monad tutorials are still not great imo lmao. i think clashing terminology threw me off a lot, aside from the fact i was basically relearning programming from scratch (i came from a C background)
22:52:25 <hpc> so i guess, while you're busy doing the whole "forget everything you ever knew about programming" thing, try not to let any new assumptions fill in the gap
22:53:00 × mima quits (~mmh@net-93-67-213-242.cust.vodafonedsl.it) (Ping timeout: 245 seconds)
22:54:50 <monochrom> You don't need to teach or learn monads early on.
22:55:19 <mawiie> definitely agree
22:56:01 <monochrom> This semester I just survived not teaching monads until the end (and it is not going to be on the exam, at least not on the surface).
22:56:32 <mawiie> having a hard time convincing my friend that they don't yet have to worry about what is practically the final boss of early haskell
22:56:44 <EvanR> i noticed some people don't even get started in haskell because they see nothing familiar at all, and instead see a bunch of gratuitous math topics, which can be off putting if you didn't major in math
22:56:59 <monochrom> So I just taught parsing by saying that pure and >>= are specific to my parser. I did not need to say it's a Monad instance.
22:57:08 <mawiie> lol sneaky
22:57:19 <hpc> EvanR: heh, i had a particularly extreme version of that while introducing a coworker to it
22:57:52 <monochrom> And I did that again when I taught the "S -> Either Error (S, a)" model of mutable state and errors.
22:57:53 <hpc> i whiteboarded some code to demonstrate something
22:58:03 <hpc> and at the end he goes "okay, what does that look like in actual code"
22:58:09 <hpc> and i just said "but... that is the code"
22:58:12 <mawiie> it's very very tempting to ramble about categories and types even if i know it will only scare them
22:59:19 <EvanR> oh yeah, that your code takes the form of functions. There's little you can do about that
22:59:33 <EvanR> it doesn't help industrial languages "don't have functions"
22:59:59 <monochrom> Most people struggle with FP because they are used to state variables and loops, not used to recursion and just passing changed parameters.
23:00:35 <mawiie> EvanR: in the "function as in subroutine" vs. "function as in mapping" sense?
23:00:41 <monochrom> Another way to say it is: Most programmers, because of that self-selection bias, can't do algebra.
23:01:11 <monochrom> Those who can do algebra have already found more satisfying careers such as math and Jane Street.
23:01:33 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
23:01:33 × mud quits (~mud@user/kadoban) (Quit: quit)
23:02:01 <EvanR> java ruby c# scala don't have functions subroutines or mappings, but methods. PHP and python have functions but you're told not to use them
23:02:14 <monochrom> BTW those who can write in natural languages have already found more satisfying careers in journalism, law, literature, etc. This is why programmers can't write docs, and some can't even read docs.
23:02:44 <mawiie> lmfao checks out. i discovered haskell right as i was getting burnt out with C, and starting to do more math
23:03:05 mauke_ joins (~mauke@user/mauke)
23:03:09 <monochrom> Those who can come up with really good tests have already found more satisfying careers in science (tests = experiments). So we are left with programmers who can't test.
23:04:00 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 246 seconds)
23:04:02 <EvanR> elixir has functions but they are kind of crippled vs haskell functions
23:04:17 × thegeekinside quits (~thegeekin@189.217.90.224) (Read error: Connection reset by peer)
23:04:18 <EvanR> so they have arcane ways of combibining them
23:04:44 × mauke quits (~mauke@user/mauke) (Ping timeout: 248 seconds)
23:04:45 mauke_ is now known as mauke
23:06:49 <monochrom> Even OO is ruined by programmers. They are unable to grasp the most original, pure, elegant form of OO (Smalltalk, Simula). They can only water it down to micromanaging states again.
23:07:24 <monochrom> They must water it down. They only know micromanagement.
23:08:24 <monochrom> OK I stop now.
23:09:36 <monochrom> I legit teach recursion by saying "don't unfold the recursion, use the induction hypothesis instead". The opposite what how most people teach recursion.
23:09:41 <hpc> grammatically, it's more subject-oriented programming
23:10:15 <hpc> x.frazzle(y) is "x frazzles y", and OOP considers that x more important than anything else
23:10:42 <hpc> actual object-oriented programming is like if you made COMEFROM for function parameters
23:10:42 <monochrom> I teach at a school where I can take for granted that students can do induction proofs for breakfast. So it works for me. I don't imagine that there is any hope for average programmers.
23:11:02 <ncf> haskell is copula-oriented programming
23:11:03 <hpc> i wonder what that would even look like
23:11:37 <probie> My mother was a programmer (primarily writing COBOL) for 40 years and still gets confused by recursion
23:11:48 <EvanR> it depends on what the definition of is is
23:12:15 <EvanR> bill clinton was into an early version of haskell
23:13:04 <geekosaur> whereas I was horrified when I discovered cobol didn't have recursion
23:13:31 <mawiie> thank you all for the words noted a few for pedagogy things :3
23:13:51 <hpc> geekosaur: if programmers can't understand recursion, how well do you think the intended MBA audience would do? :P
23:14:09 × xff0x quits (~xff0x@2405:6580:b080:900:8609:fbca:2f35:9884) (Ping timeout: 246 seconds)
23:15:15 <EvanR> they should have went with corecursion
23:15:29 <EvanR> assume you understand corecursion. Ok you're done
23:15:35 <monochrom> heh
23:16:05 <probie> cobol has some great features like `alter`, so you can mutate your goto statements
23:16:05 <hpc> but i only understand understanding corecursion!
23:16:07 xff0x joins (~xff0x@178.255.149.135)
23:17:12 <mawiie> probie: that sounds like control flow hell...
23:17:13 <hpc> someone should make an object-oriented version of cobol, and name it "add 1 to cobol returning cobol"
23:17:32 <monochrom> hahahaha
23:17:53 <int-e> cObOl is the original OO languagel
23:18:06 <monochrom> I wonder if Gracehopper would be proud. >:)
23:18:31 × caryhartline quits (~caryhartl@168.182.58.169) (Quit: caryhartline)
23:18:42 × mawiie quits (~mawiie@c-76-155-235-153.hsd1.co.comcast.net) (Quit: Client closed)
23:19:01 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
23:19:27 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
23:19:44 <geekosaur> iirc visualage cobol has OO features
23:20:28 img joins (~img@user/img)
23:21:15 <monochrom> Visual Age. That forgotten time when IBM had Visual Age <lang>.
23:21:46 monochrom only knew because of OS/2
23:22:10 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
23:22:17 <hpc> they made it visual so it was easier to C
23:22:25 <monochrom> hahahaha
23:22:27 <probie> mawiie: It is. I'm pretty sure most code styles ban it. One of the intended uses is for "initialise on first use", so that te first call jumps to the initialisation code, and then the initialisation code updates it, so that when called again, it just jumps straight into the body
23:23:19 <EvanR> rewriting address of thunks to improve performance, shameful who would do this
23:23:43 <hpc> that sounds like python's module imports
23:23:44 <monochrom> Ooohhh that sounds like exactly our "config = unsafePerformIO (readFile configfile)" :)
23:23:51 <hpc> when you import a module, it's actually just running top-level code
23:24:02 <hpc> plus a little bit of magic to make sure a second import doesn't actually do anything
23:24:41 <int-e> sanity, sacrificed on the alter of performance
23:24:48 <monochrom> hahahaha
23:24:49 <hpc> or #include/#ifdef stuff
23:24:54 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 258 seconds)
23:26:09 <EvanR> unsafePerformIO combined with readFile
23:26:21 <monochrom> oops heh
23:26:31 <EvanR> what, that wasn't on purpose? xD
23:26:56 <monochrom> I was only intending an unsafePerformIO example.
23:27:06 <hpc> for maximum performance, read the config file in template haskell
23:27:21 <dolio> readFile is fine.
23:27:22 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
23:27:28 <dolio> It works just like Brouwer's creating subject.
23:27:36 <EvanR> agreed
23:28:33 <int-e> dolio: you say that now but eventually that unsafePerformIO will run inside an STM action that gets GC'd while `readFile` holds a lock and then you'll be mystified for ages.
23:28:41 <EvanR> anUncomputable = unsafePerformIO (readFile oraclePath)
23:28:48 <dolio> I didn't say unsafePerformIO is fine. :)
23:29:17 × Tuplanolla quits (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi) (Quit: Leaving.)
23:29:21 <int-e> (does this extend to unsafeInterleavIO? I imagine it does...)
23:29:21 <hpc> this is why you use unsafeDupablePerformIO
23:29:23 <hpc> there, problem solved
23:29:31 <hpc> and no way does it introduce new problems!
23:29:40 <int-e> hpc: if by "solved" you mean "exacerbated"
23:30:02 <hpc> int-e: only if you don't catch the exception :P
23:30:10 <EvanR> as long as you make sure to catch the unsafePerformIO-inside-atomically exception and retry, you're good
23:30:11 <int-e> what exception?
23:30:14 <hpc> any amount of runtime problems can be solved by ignoring them
23:30:16 arahael joins (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net)
23:30:46 <int-e> EvanR: One of us is making stuff up right now and for once it's not me.
23:31:07 <hpc> oh, i thought it would throw something goofy
23:31:13 hpc has been writing too much python lately
23:31:17 <EvanR> or was it atomically inside unsafePerformIO
23:31:33 <geekosaur> the latter
23:31:59 <monochrom> Well, a better (!) example would be "stdGen = unsafePerformIO (getCurrentTime >>= newIORef)"
23:32:21 <int-e> that's probably mostly fine
23:32:35 × Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep)
23:32:54 <int-e> (no locks, no resources allocated)
23:33:25 <EvanR> os = unsafePerformIO detectOS
23:34:57 <monochrom> Actually, System.Info's os is a case of "for maximum performance, read the config file in template haskell"
23:35:21 <monochrom> To be sure, not literally, just that it's set at GHC's build time.
23:35:47 <EvanR> interesting
23:36:13 <monochrom> System.Info source code uses #include and #ifdef etc to define os to be a static string.
23:37:00 <monochrom> So if you download a GHC binary for Linux, you download one that has "linux" hardcoded in the binary.
23:37:02 <EvanR> good. So it's a pure value xD
23:37:19 <monochrom> Yeah it's the only reason why it affords to be just String.
23:37:22 <EvanR> C preprocessor is a purely functional language
23:37:56 justsomeguy joins (~justsomeg@user/justsomeguy)
23:38:02 <int-e> ooph
23:38:21 × arahael quits (~arahael@119-18-1-27.771201.syd.nbn.aussiebb.net) (Ping timeout: 245 seconds)
23:38:53 <int-e> (have you ever played with ## and double expansion tricks to generate new macro names...)
23:39:01 <monochrom> I have!
23:39:14 int-e isn't sure that "pure" really applies... it feels wrong.
23:39:28 <monochrom> Err no, I haven't generated new macro names, I have played with ##.
23:40:41 × xff0x quits (~xff0x@178.255.149.135) (Ping timeout: 246 seconds)
23:41:51 <int-e> (Well, "new"... you can't define new macros inside macros, unless you run cpp several times. But you can still assemble already existing macro names to be called from arguments and the details of that are messy)
23:42:30 <monochrom> I think I might have tried that with ## but not very successful.
23:42:34 <int-e> (IIRC there was an IOCCC entry that did require running CPP more than once.)
23:42:35 xff0x joins (~xff0x@2405:6580:b080:900:8609:fbca:2f35:9884)
23:43:04 <monochrom> But eventually I learned and used __VA_ARGS__
23:43:21 <monochrom> I wrote #define BAN(rt, f, ...) rt f(__VA_ARGS__) { ban(#f); }
23:43:31 <hpc> the real power move is using m4 instead of CPP
23:44:03 <hpc> make them nervous every time they type parenthesis
23:44:24 <monochrom> So that e.g. "BAN(FILE *, fdopen, int, const char *)" expands to: FILE * fdopen(int, const char *) {ban("fdopen"); }
23:44:59 <monochrom> Bascially I was learning how to use LD_PRELOAD to ban some library functions in homework.
23:47:32 wroathe joins (~wroathe@user/wroathe)
23:49:34 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.6)
23:53:39 × wroathe quits (~wroathe@user/wroathe) (Read error: Connection reset by peer)
23:53:48 wroathe joins (~wroathe@user/wroathe)
23:54:24 × acidjnk_new quits (~acidjnk@p200300d6e7072f29a8bd101470ed31bc.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
23:58:18 <int-e> Hmm I think my brain is making more out of this than there was. What I managed to reconstruct is: #define Q(x) x; #define APPEND(x,y) Q(x)Q(y) for the traditional CPP but no way to actually invoke another macro. Sorry.

All times are in UTC on 2023-08-15.