Home freenode/#haskell: Logs Calendar

Logs on 2020-10-23 (freenode/#haskell)

00:00:01 × valli1 quits (~valli@139.28.218.148) ()
00:01:05 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 240 seconds)
00:01:28 <ski> Guest18 : use `replicateM_'. also remove the `return ()'s
00:02:10 <Guest18> Yeah, I know the returns are redundant
00:02:11 <ski> Guest18 : `percentage' has redundant brackets. (also `(Num a) =>' could be `Num a =>')
00:02:23 <Guest18> why replicateM_?
00:02:37 <ski> because you don't care about the list of results, anyway
00:02:52 × N3RGY quits (~N3RGY@65.141.87.122) (Ping timeout: 265 seconds)
00:03:11 <ski> `replicateM n act' is when you want to get back a list of `n' results of executing `act'
00:03:38 <ski> if you just want to do something `n' times, but don't care about collecting results in a list, it's better to use `replicateM_'
00:04:11 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
00:04:20 <Guest18> doesn't the compiler optimize this stuff anyway? Or is it the more idiomatic way of doing things?
00:04:23 × steve__ quits (~quassel@ool-18b99d28.dyn.optonline.net) (Ping timeout: 260 seconds)
00:04:48 × steve_ quits (~quassel@ool-18b99d28.dyn.optonline.net) (Ping timeout: 265 seconds)
00:04:48 <ski> also, you could use `n <- readIO input_line :: IO Int'. in case of a parsing error, this will abort immediately, rather than when `n' is later used
00:04:55 YellowOnion joins (~YellowOni@125-237-198-213-fibre.sparkbb.co.nz)
00:05:22 <ski> also, you could replace that, and `input_line <- getLine', by `n <- readLn :: IO Int', which does both for you
00:05:47 × ph88 quits (~ph88@ip5f5af0cc.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds)
00:05:49 <ski> Guest18 : it probably doesn't optimize it away, i think
00:06:07 <Guest18> num key sub = foldr (\(x,y) b -> if x == y then b+1 else b) 0 $ zip key sub -- what about this?
00:07:19 × efertone quits (~efertone@138.68.79.27) (Read error: Connection reset by peer)
00:07:31 <ski> (you could use `n :: Int <- readIO input_line' or `n :: Int <- readLn' instead, if you enable extension `ScopedTypeVariables'. this looks slightly more pretty. or you could just leave out the ascription, and let it infer that `n' is an `Int' (since it's passed to `replicateM_'))
00:07:37 <ski> @type replicateM_
00:07:39 <lambdabot> Applicative m => Int -> m a -> m ()
00:07:40 <ski> @type replicateM
00:07:41 <lambdabot> Applicative m => Int -> m a -> m [a]
00:08:10 efertone joins (~efertone@138.68.79.27)
00:08:29 <ski> yea, next thing i was going to comment on was that your `num' in the paste only works if the two lists (`String's ..) have the same length
00:08:47 <Guest18> it's guaranteed that they are
00:09:01 <ski> ok
00:09:23 <ski> well, there's many different ways to do it
00:09:41 <Guest18> how would you do it?
00:10:11 <ski> you could e.g. filter the `zip key sub' list, keeping only the pairs in which the two components are equal to each other. then count how many pairs you have left
00:10:25 <ski> you could use a list comprehension, if you want to
00:11:06 <ski> if you're going to use a fold, then probably foldl' is better, here, btw
00:11:23 <simon> 单子 is monad in chinese.
00:11:50 <ski> in Leibniz' sense, too ?
00:12:17 <simon> I think so. the dictionary says "(functional programming or philosophy) monad" -- I don't know if that encompasses math.
00:12:29 elliott__ joins (~elliott@pool-108-51-141-12.washdc.fios.verizon.net)
00:12:39 <ski> (personally i'd also not use `$' in there)
00:12:40 <simon> I think only chinese mathematicians know. :)
00:12:57 <Guest18> num key sub = length [(x,y) | (x,y) <- zip(key, sub), x == y] -- don't know if i wrote it correctly, but something like this maybe?>
00:13:02 <ski> presumably it does, simon
00:13:32 <ski> Guest18 : looks ok. although, instead of collecting `(x,y)' you could collect, say, `()'
00:13:35 <simon> I wonder if right-associative function application in chinese is 'f ¥ x'
00:13:46 <Guest18> ski: that makes sense
00:13:51 <ski> (or you could collect `1's, and then `sum' .. many ways to "skin the cat")
00:14:25 <ski> not in japanese, then ?
00:14:50 <simon> surely :-D
00:14:58 <ski> btw, it's `zip key sub', not `zip(key, sub)'
00:15:18 <ski> also, you could use `zipWith (==) key sub', to get a list of `Bool'eans, directly
00:18:21 AceNovo joins (~chris@184.101.197.134)
00:18:35 <ski> > [x + y | x <- [0,1,2,3] | y <- [40,50,60]] -- another extension
00:18:37 <lambdabot> [40,51,62]
00:22:10 <koz_> @hoogle asum
00:22:10 <lambdabot> Data.Foldable asum :: (Foldable t, Alternative f) => t (f a) -> f a
00:22:10 <lambdabot> Data.Conduit.Combinators asum :: (Monad m, Alternative f) => ConduitT (f a) o m (f a)
00:22:10 <lambdabot> Protolude asum :: (Foldable t, Alternative f) => t (f a) -> f a
00:23:11 × AceNovo quits (~chris@184.101.197.134) (Client Quit)
00:23:34 AceNovo joins (~chris@184.101.197.134)
00:24:22 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 256 seconds)
00:24:22 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
00:24:41 stefan-__ joins (~cri@42dots.de)
00:25:33 × alp quits (~alp@2a01:e0a:58b:4920:d80c:9dfe:7aa1:7540) (Ping timeout: 272 seconds)
00:25:36 erolm_a joins (~erolm_a@62.18.212.252)
00:30:24 ensyde joins (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751)
00:32:39 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
00:35:29 × reppertj quits (~textual@pool-96-246-209-59.nycmny.fios.verizon.net) (Quit: Textual IRC Client: www.textualapp.com)
00:36:19 nbloomf joins (~nbloomf@2600:1700:ad14:3020:ccf3:9e4f:a615:179a)
00:36:28 × karanlikmadde quits (~karanlikm@2a01:c23:644a:cd00:7c72:1147:1d73:30c9) (Quit: karanlikmadde)
00:38:44 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
00:38:48 × StoneToad_ quits (~StoneToad@199-167-119-164.ppp.storm.ca) (Ping timeout: 260 seconds)
00:43:24 StoneToad joins (~StoneToad@199-167-119-186.ppp.storm.ca)
00:44:03 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 260 seconds)
00:45:17 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
00:46:25 × Athas quits (athas@2a01:7c8:aaac:1cf:9a0:fad3:fdf2:2ed) (Quit: ZNC - http://znc.sourceforge.net)
00:46:41 Athas joins (athas@2a01:7c8:aaac:1cf:430f:bcbb:6418:e5a7)
00:47:03 × stree quits (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net) (Quit: Caught exception)
00:47:20 stree joins (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net)
00:47:50 erolm_a joins (~erolm_a@62.18.212.252)
00:48:59 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
00:49:37 Lord_of_Life_ joins (~Lord@46.217.218.75)
00:50:28 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 260 seconds)
00:52:03 × cantstanya quits (~chatting@gateway/tor-sasl/cantstanya) (Ping timeout: 240 seconds)
00:52:45 thir joins (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de)
00:53:04 × mud quits (~mud@unaffiliated/kadoban) (Remote host closed the connection)
00:53:31 mud joins (~mud@unaffiliated/kadoban)
00:55:51 Arthimus joins (~Arthimus@195.206.169.184)
00:56:08 christo joins (~chris@81.96.113.213)
00:56:10 cantstanya joins (~chatting@gateway/tor-sasl/cantstanya)
00:56:59 × jedws quits (~jedws@101.184.148.229) (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:57:23 × ech quits (~user@gateway/tor-sasl/ech) (Ping timeout: 240 seconds)
00:57:27 × thir quits (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
00:57:55 Kaeipi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
00:57:56 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
00:58:35 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
01:00:52 × christo quits (~chris@81.96.113.213) (Ping timeout: 265 seconds)
01:01:23 × ericsagnes quits (~ericsagne@2405:6580:0:5100:15c:9b88:93:51eb) (Ping timeout: 246 seconds)
01:04:33 ech joins (~user@gateway/tor-sasl/ech)
01:05:42 <koz_> What's the place to look for how GADTs are represented at runtime?
01:06:20 <NGravity> Can haskell draw 4dimensional data ? Because i wanna fix string theory and calculate the total mass of the universe 😜😂
01:06:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 258 seconds)
01:06:49 × YellowOnion quits (~YellowOni@125-237-198-213-fibre.sparkbb.co.nz) (Quit: Leaving)
01:08:04 × mrchampion quits (~mrchampio@216-211-57-41.dynamic.tbaytel.net) (Ping timeout: 256 seconds)
01:08:47 × Lycurgus quits (~niemand@98.4.96.235) (Quit: Exeunt)
01:09:37 <Kolkrabe> Yes, Haskell can do that
01:09:42 <NGravity> We have 12 dimensions arrays , perhaps 15 x 14.5 billion light years dimensionals, so that is the data to extract at plank measurements👍🤣
01:10:03 <NGravity> Yes yes! 😂😂😂
01:11:02 mrchampion joins (~mrchampio@216-211-57-41.dynamic.tbaytel.net)
01:11:38 × taurux quits (~taurux@net-130-25-101-151.cust.vodafonedsl.it) (Read error: Connection reset by peer)
01:12:31 <c_wraith> koz_: GADTs aren't different at runtime, unless you mean using them for existentials. In which case their runtime representation is the same as any other existential at runtime.
01:12:46 <c_wraith> err. existential type classes
01:13:01 jedws joins (~jedws@101.184.148.229)
01:13:28 <koz_> c_wraith: Suppose you have something like 'Foo (a :: Type) where Bar :: (SomeConstraint a) => a -> Foo a'. Would this look different to 'data Foo a = Foo a'?
01:13:39 <koz_> s/= Foo/= Bar/ argh
01:14:05 ericsagnes joins (~ericsagne@2405:6580:0:5100:d50b:1659:8849:617f)
01:14:35 <c_wraith> I suppose that's technically not an existential, even though it's doing the same thing you'd normally do with existential type classes.
01:15:16 <koz_> So would this end up looking like an existential at runtime, or not?
01:15:25 <c_wraith> I mean, it'd be packaged the same way
01:16:00 taurux joins (~taurux@net-188-216-37-217.cust.vodafonedsl.it)
01:16:03 <c_wraith> (SomeConstraint a) => a -> Foo a gets converted to SomeConstraintDict a -> a -> Foo a
01:16:17 <koz_> Ah, so the dictionary gets carted around at runtime?
01:16:21 <c_wraith> yes
01:16:41 <c_wraith> Which is why it's exceptionally rare for it to be the correct design
01:17:14 <koz_> OK, thanks. I thought as much, but I wanted to ask just in case.
01:17:47 elliott_ joins (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net)
01:18:45 × Chi1thangoo quits (~Chi1thang@87.112.60.168) (Ping timeout: 265 seconds)
01:21:57 × ensyde quits (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751) (Ping timeout: 260 seconds)
01:23:53 jbox joins (~atlas@unaffiliated/jbox)
01:25:50 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 272 seconds)
01:27:55 ski idly ponders the difference between `foo :: forall a. C a => F a -> G a' and `foo :: (exists a. C a *> F a) -> (exists a. C a *> G a)'
01:28:38 <ski> (there's also `foo :: (forall a. C a => F a) -> (forall a. C a => G a)' ..)
01:28:45 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
01:31:24 <ski> (passing around a dictionary can be useful, sometimes. but it may possibly be more useful, if you bundle the dictionary of a typeclass instance for `a', not with a single value of type `a', but with some collection of `a'. that way, one can make use of operations which take two `a's. cf. "binary methods problem" in OO)
01:33:20 shatriff_ joins (~vitaliish@80.233.58.242)
01:33:38 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
01:33:44 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 265 seconds)
01:33:44 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
01:33:54 stefan-__ joins (~cri@42dots.de)
01:35:01 erolm_a joins (~erolm_a@62.18.212.252)
01:36:38 × shatriff quits (~vitaliish@176.52.219.10) (Ping timeout: 265 seconds)
01:37:16 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
01:38:20 <jbox> today is my first day of Haskell! I decided to try out xmonad and I'm loving it
01:39:09 falafel joins (~falafel@71-34-132-121.clsp.qwest.net)
01:39:26 <ghoulguy> hi jbox, neat that it's working out
01:41:07 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
01:41:55 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds)
01:42:38 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
01:44:10 <ski> jbox : feel free to ask, if you have any questions
01:45:16 <jbox> ski: thank you ^-^
01:45:43 <jbox> I've never written in a functional language before (aside from Nix and the "functional" aspects of Rust), so I'm learning a lot :D
01:45:47 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 258 seconds)
01:47:25 ma489 joins (~textual@cpe-74-64-34-68.nyc.res.rr.com)
01:49:04 polyrain joins (~polyrain@2001:8003:e501:6901:5473:8418:3e33:a31a)
01:49:29 ma489 parts (~textual@cpe-74-64-34-68.nyc.res.rr.com) ()
01:51:29 reallymemorable joins (~quassel@pool-100-2-25-229.nycmny.fios.verizon.net)
01:51:34 christo joins (~chris@81.96.113.213)
01:52:43 × ech quits (~user@gateway/tor-sasl/ech) (Ping timeout: 240 seconds)
01:53:07 ensyde joins (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751)
01:54:56 × xff0x quits (~fox@2001:1a81:52d2:ca00:c409:1d88:453d:35d6) (Ping timeout: 246 seconds)
01:55:50 thiross joins (~user@161.129.40.8)
01:55:55 × christo quits (~chris@81.96.113.213) (Ping timeout: 260 seconds)
01:56:48 xff0x joins (~fox@2001:1a81:530a:3a00:c1fd:49f4:456d:354f)
01:58:01 × ensyde quits (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751) (Ping timeout: 272 seconds)
01:58:06 notnatebtw joins (~nate@110.138.18.157)
01:59:54 christo joins (~chris@81.96.113.213)
02:00:48 ech joins (~user@gateway/tor-sasl/ech)
02:01:00 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:01:36 × polyrain quits (~polyrain@2001:8003:e501:6901:5473:8418:3e33:a31a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:02:43 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
02:05:52 × Iwawa quits (~mdomin45@cpe-24-211-129-187.nc.res.rr.com) (Quit: Leaving)
02:05:57 × jedws quits (~jedws@101.184.148.229) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:06:00 × lagothrix quits (~lagothrix@unaffiliated/lagothrix) (Killed (verne.freenode.net (Nickname regained by services)))
02:06:07 lagothrix joins (~lagothrix@unaffiliated/lagothrix)
02:06:38 × klardotsh quits (~klardotsh@c-71-231-242-112.hsd1.wa.comcast.net) (Quit: WeeChat 2.9)
02:08:02 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
02:08:03 × ech quits (~user@gateway/tor-sasl/ech) (Ping timeout: 240 seconds)
02:08:22 stefan-__ joins (~cri@42dots.de)
02:09:45 ech joins (~user@gateway/tor-sasl/ech)
02:13:41 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:14:56 klardotsh joins (~klardotsh@c-71-231-242-112.hsd1.wa.comcast.net)
02:15:04 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:16:43 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
02:17:01 × theDon quits (~td@94.134.91.18) (Ping timeout: 264 seconds)
02:18:37 theDon joins (~td@muedsl-82-207-238-026.citykom.de)
02:18:45 × Gerula quits (~Gerula@unaffiliated/gerula) (Ping timeout: 240 seconds)
02:18:50 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 256 seconds)
02:20:14 × shatriff_ quits (~vitaliish@80.233.58.242) (Remote host closed the connection)
02:20:48 <dsal> jbox: We have many more monads to choose from. :)
02:20:53 Tario joins (~Tario@201.192.165.173)
02:21:17 Gerula joins (~Gerula@unaffiliated/gerula)
02:22:24 Saukk joins (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4)
02:25:44 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
02:27:47 × Sarma quits (~Amras@unaffiliated/amras0000) (Ping timeout: 272 seconds)
02:33:09 jlamothe joins (~jlamothe@dev.jlamothe.net)
02:33:15 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 260 seconds)
02:33:45 acidjnk_new2 joins (~acidjnk@p200300d0c7237805143004c29cad477d.dip0.t-ipconnect.de)
02:34:25 × thiross quits (~user@161.129.40.8) (Ping timeout: 240 seconds)
02:35:31 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
02:37:12 erolm_a joins (~erolm_a@62.18.212.252)
02:38:23 × gxt quits (~gxt@gateway/tor-sasl/gxt) (Ping timeout: 240 seconds)
02:39:05 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 240 seconds)
02:40:22 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 256 seconds)
02:41:00 gxt joins (~gxt@gateway/tor-sasl/gxt)
02:42:21 × justan0theruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 272 seconds)
02:42:36 × vacm quits (~vacwm@70.23.92.191) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:43:44 × falafel quits (~falafel@71-34-132-121.clsp.qwest.net) (Remote host closed the connection)
02:44:01 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 246 seconds)
02:44:20 thiross joins (~user@161.129.40.8)
02:45:00 × SupaYoshi quits (~supayoshi@213-10-140-13.fixed.kpn.net) (Ping timeout: 272 seconds)
02:46:38 SupaYoshi joins (~supayoshi@213-10-140-13.fixed.kpn.net)
02:48:09 jedws joins (~jedws@101.184.148.229)
02:48:39 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 258 seconds)
02:51:55 × taurux quits (~taurux@net-188-216-37-217.cust.vodafonedsl.it) (Ping timeout: 260 seconds)
02:52:01 tito_04 joins (~taurux@net-130-25-108-169.cust.vodafonedsl.it)
02:56:12 × jedws quits (~jedws@101.184.148.229) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:56:25 × elliott__ quits (~elliott@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 240 seconds)
02:58:01 × m0rphism quits (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 246 seconds)
03:00:01 × Arthimus quits (~Arthimus@195.206.169.184) ()
03:00:58 × AceNovo quits (~chris@184.101.197.134) (Remote host closed the connection)
03:02:58 × lockshaw quits (~lockshaw@165.22.163.71) (Quit: ZNC 1.7.2+deb3 - https://znc.in)
03:03:49 <jbox> is there a standard haskell repl?
03:04:26 GyroW joins (~GyroW@d54c03e98.access.telenet.be)
03:04:26 × GyroW quits (~GyroW@d54c03e98.access.telenet.be) (Changing host)
03:04:26 GyroW joins (~GyroW@unaffiliated/gyrow)
03:05:05 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 265 seconds)
03:07:35 × visage_ quits (~visage_@unaffiliated/visage/x-6658724) (Quit: Textual IRC Client: www.textualapp.com)
03:08:11 lockshaw joins (~lockshaw@165.22.163.71)
03:10:05 <koz_> jbox: There's GHCi?
03:11:02 <jbox> koz_: perfect, thank you!
03:13:17 <Squarism> im wondering if you could somehow discriminate between two class instances by class constraint. Say we have "class MyClz a" and "instance MyClz a" and "instance Show a => MyClz a" . If i try to compile that i get "Duplciate instance declaration"
03:13:42 × texasmynsted quits (~texasmyns@104.140.52.115) (Remote host closed the connection)
03:14:04 texasmynsted joins (~texasmyns@104.140.52.115)
03:15:36 × lockshaw quits (~lockshaw@165.22.163.71) (Quit: ZNC 1.7.2+deb3 - https://znc.in)
03:15:53 <koz_> Squarism: You can use a newtype wrapper like 'instance Show a => MyClz (ViaShow a)'.
03:16:19 <koz_> Because in your current situation, 'instance MyClz a' already covers everything, whether it has a Show instance or not.
03:16:35 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
03:17:27 × djellemah quits (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54) (Ping timeout: 260 seconds)
03:19:28 lockshaw joins (~lockshaw@165.22.163.71)
03:20:19 <Squarism> koz_, thanks. I think Im fooling myself to think I can use classes to pattern match, but lets see where this is going
03:21:28 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
03:25:52 × thiross quits (~user@161.129.40.8) (Ping timeout: 265 seconds)
03:29:44 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
03:31:22 × Saukk quits (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4) (Remote host closed the connection)
03:34:11 × crestfallen_ quits (~John@135-180-15-188.fiber.dynamic.sonic.net) (Quit: Leaving)
03:34:23 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 260 seconds)
03:35:20 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:ccf3:9e4f:a615:179a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:36:39 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
03:42:38 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 272 seconds)
03:45:32 × justHaunted quits (~justache@unaffiliated/justache) (Read error: Connection reset by peer)
03:46:49 justHaunted joins (~justache@unaffiliated/justache)
03:46:49 × texasmynsted quits (~texasmyns@104.140.52.115) (Read error: Connection reset by peer)
03:49:02 × xff0x quits (~fox@2001:1a81:530a:3a00:c1fd:49f4:456d:354f) (Ping timeout: 246 seconds)
03:49:25 × solonarv quits (~solonarv@astrasbourg-552-1-23-6.w90-13.abo.wanadoo.fr) (Ping timeout: 264 seconds)
03:50:00 xff0x joins (~fox@2001:1a81:530a:3a00:d49a:cbfa:c702:21e7)
03:52:31 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
03:52:51 erolm_a joins (~erolm_a@62.18.212.252)
03:53:50 × mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Read error: Connection reset by peer)
03:53:58 ensyde joins (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751)
03:55:21 <jbox> should I use my distribution package manager (pacman/yay on Arch Linux) to install the Haskell toolchain or should I use ghcup?
03:56:06 <koz_> jbox: ghcup.
03:56:13 <koz_> This applies _doubly_ on Arch.
03:57:27 <jbox> koz_: okay, thanks!
03:58:25 × ensyde quits (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751) (Ping timeout: 240 seconds)
04:00:02 × Kolkrabe quits (~user@unaffiliated/siracusa) (Quit: Bye!)
04:00:54 thiross joins (~user@161.129.40.8)
04:01:05 conal joins (~conal@66.115.157.144)
04:01:57 <dsal> jbox: You got any particular plans?
04:04:35 <jbox> dsal: I'm just configuring xmonad right now. I'm trying to get vim integration working
04:05:29 <dsal> Ah. I never got very far configuring xmonad. Day 1: Get a nice interface I like. I write lots of software I use, though.
04:05:39 × thiross quits (~user@161.129.40.8) (Ping timeout: 260 seconds)
04:12:17 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 272 seconds)
04:12:50 × conal quits (~conal@66.115.157.144) (Quit: Computer has gone to sleep.)
04:21:09 × jbox quits (~atlas@unaffiliated/jbox) (Ping timeout: 272 seconds)
04:22:45 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 240 seconds)
04:23:13 erolm_a joins (~erolm_a@62.18.212.252)
04:23:52 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
04:23:57 × reallymemorable quits (~quassel@pool-100-2-25-229.nycmny.fios.verizon.net) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
04:27:32 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
04:28:25 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 264 seconds)
04:29:00 Kim1 joins (~Kim@185.204.1.185)
04:30:04 × ddellacosta quits (~dd@86.106.121.168) (Ping timeout: 246 seconds)
04:33:32 bartemius joins (~bartemius@109.252.20.20)
04:34:37 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:37:16 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
04:38:28 hackage pandoc 2.11.0.3 - Conversion between markup formats https://hackage.haskell.org/package/pandoc-2.11.0.3 (JohnMacFarlane)
04:38:42 Volt_ joins (~Volt_@c-73-145-164-70.hsd1.mi.comcast.net)
04:39:38 × jneira quits (501e64fa@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.100.250) (Ping timeout: 272 seconds)
04:39:56 xerox_ joins (~xerox@unaffiliated/xerox)
04:40:31 hololeap joins (~hololeap@unaffiliated/hololeap)
04:40:57 day_ joins (~Unknown@unaffiliated/day)
04:41:00 jbox joins (~atlas@unaffiliated/jbox)
04:42:16 jedws joins (~jedws@101.184.148.229)
04:43:27 hackage citeproc 0.1.0.3 - Generates citations and bibliography from CSL styles. https://hackage.haskell.org/package/citeproc-0.1.0.3 (JohnMacFarlane)
04:44:42 × day quits (~Unknown@unaffiliated/day) (Ping timeout: 272 seconds)
04:44:42 day_ is now known as day
04:47:41 × jedws quits (~jedws@101.184.148.229) (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:51:49 rprije joins (~rprije@194-193-168-77.tpgi.com.au)
04:54:12 thir joins (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de)
04:55:36 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
04:55:40 jedws joins (~jedws@101.184.148.229)
04:55:46 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:55:46 × jedws quits (~jedws@101.184.148.229) (Client Quit)
04:57:15 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
04:58:28 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Client Quit)
04:58:28 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
04:58:34 takuan joins (~takuan@178-116-218-225.access.telenet.be)
04:58:57 × thir quits (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
04:59:10 Tario joins (~Tario@201.192.165.173)
04:59:21 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
04:59:28 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
05:00:44 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
05:01:36 jsynacek joins (~jsynacek@ip-185-149-130-112.kmenet.cz)
05:02:36 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
05:08:59 mbomba joins (~mbomba@142.114.9.241)
05:11:28 hackage skylighting-core 0.10.0.3 - syntax highlighting library https://hackage.haskell.org/package/skylighting-core-0.10.0.3 (JohnMacFarlane)
05:11:55 thiross joins (~user@161.129.40.8)
05:12:28 hackage skylighting 0.10.0.3 - syntax highlighting library https://hackage.haskell.org/package/skylighting-0.10.0.3 (JohnMacFarlane)
05:14:06 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
05:14:43 xerox__ joins (~xerox@unaffiliated/xerox)
05:14:54 russruss84 joins (~russruss@my.russellmcc.com)
05:14:59 × lockshaw quits (~lockshaw@165.22.163.71) (Quit: ZNC 1.7.2+deb3 - https://znc.in)
05:15:40 × davve quits (davve@bsd.douchedata.com) (Ping timeout: 260 seconds)
05:16:36 × russruss8 quits (~russruss@my.russellmcc.com) (Ping timeout: 260 seconds)
05:16:36 russruss84 is now known as russruss8
05:17:14 lockshaw joins (~lockshaw@165.22.163.71)
05:17:27 × Kim1 quits (~Kim@185.204.1.185) (Remote host closed the connection)
05:17:32 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 260 seconds)
05:18:01 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
05:18:54 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds)
05:19:56 davve joins (davve@bsd.douchedata.com)
05:22:30 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 256 seconds)
05:22:52 edunham1 joins (~edunham@154.13.1.56)
05:24:44 × mbomba quits (~mbomba@142.114.9.241) (Quit: WeeChat 2.9)
05:27:56 falafel joins (~falafel@71-34-132-121.clsp.qwest.net)
05:31:09 isovector1 joins (~isovector@172.103.216.166.cable.tpia.cipherkey.com)
05:31:35 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
05:32:11 × mozzarella quits (~sam@unaffiliated/sam113101) (Remote host closed the connection)
05:33:12 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 256 seconds)
05:33:30 mozzarella joins (~sam@unaffiliated/sam113101)
05:37:20 × dansho quits (~dansho@ip68-108-167-185.lv.lv.cox.net) (Ping timeout: 265 seconds)
05:41:32 christo joins (~chris@81.96.113.213)
05:42:13 × falafel quits (~falafel@71-34-132-121.clsp.qwest.net) (Remote host closed the connection)
05:42:22 erolm_a joins (~erolm_a@62.18.212.252)
05:42:48 falafel joins (~falafel@71-34-132-121.clsp.qwest.net)
05:47:34 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
05:48:26 × avn quits (~avn@78-56-108-78.static.zebra.lt) (Ping timeout: 258 seconds)
05:49:16 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 260 seconds)
05:49:44 erolm_a joins (~erolm_a@62.18.212.252)
05:50:44 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 258 seconds)
05:51:12 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
05:51:12 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
05:51:12 GyroW joins (~GyroW@unaffiliated/gyrow)
05:53:17 britva joins (~britva@2a02:aa13:7240:2980:b1bf:9c31:7687:bea1)
05:54:47 ensyde joins (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751)
05:59:37 × ensyde quits (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751) (Ping timeout: 260 seconds)
06:00:01 × edunham1 quits (~edunham@154.13.1.56) ()
06:00:54 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
06:03:11 chele joins (~chele@ip5b416ea2.dynamic.kabel-deutschland.de)
06:04:22 polyrain joins (~polyrain@2001:8003:e501:6901:5473:8418:3e33:a31a)
06:04:43 × miklcct quits (quasselcor@2001:19f0:7001:5ad:5400:2ff:feb6:50d7) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
06:04:45 fxg joins (~fxg@unaffiliated/fxg)
06:04:57 miklcct joins (quasselcor@2001:19f0:7001:5ad:5400:2ff:feb6:50d7)
06:04:58 hackage gopro-plus 0.4.0.0 - GoPro Plus Client API. https://hackage.haskell.org/package/gopro-plus-0.4.0.0 (dustin)
06:05:17 <jophish> Does cabal have a command to get the path to an executable?
06:05:20 bitmagie joins (~Thunderbi@200116b8063bf700fc77edf9042d7650.dip.versatel-1u1.de)
06:05:26 <jophish> i.e. the thing called by cabal run
06:06:49 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
06:08:14 × britva quits (~britva@2a02:aa13:7240:2980:b1bf:9c31:7687:bea1) (Quit: This computer has gone to sleep)
06:08:16 × fxg quits (~fxg@unaffiliated/fxg) (Client Quit)
06:10:48 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
06:12:10 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
06:13:20 × isovector1 quits (~isovector@172.103.216.166.cable.tpia.cipherkey.com) (Quit: Leaving)
06:13:42 Quarl joins (~Quarl@94.191.136.110.mobile.tre.se)
06:13:44 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 258 seconds)
06:15:21 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
06:16:58 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 265 seconds)
06:18:20 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 258 seconds)
06:18:55 Tario joins (~Tario@201.192.165.173)
06:21:10 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
06:21:23 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
06:24:16 × thiross quits (~user@161.129.40.8) (Ping timeout: 260 seconds)
06:25:31 poljar joins (~poljar@93-139-70-179.adsl.net.t-com.hr)
06:25:54 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
06:28:44 × poljar1 quits (~poljar@93-143-177-96.adsl.net.t-com.hr) (Ping timeout: 256 seconds)
06:29:07 kish joins (~oracle@unaffiliated/oracle)
06:29:13 thiross joins (~user@161.129.40.8)
06:29:59 × Volt_ quits (~Volt_@c-73-145-164-70.hsd1.mi.comcast.net) (Quit: )
06:30:26 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 256 seconds)
06:30:26 × Moyst quits (~moyst@212-149-213-144.bb.dnainternet.fi) (Ping timeout: 256 seconds)
06:31:25 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
06:33:09 alp joins (~alp@2a01:e0a:58b:4920:58ef:71da:cc7f:2bf0)
06:36:13 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds)
06:37:17 cfricke joins (~cfricke@unaffiliated/cfricke)
06:41:16 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
06:41:33 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
06:41:40 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
06:41:58 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
06:41:58 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
06:41:58 GyroW joins (~GyroW@unaffiliated/gyrow)
06:42:35 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 265 seconds)
06:43:12 erolm_a joins (~erolm_a@62.18.212.252)
06:43:36 mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
06:45:31 taurux joins (~taurux@net-93-144-10-197.cust.dsl.teletu.it)
06:45:43 × tito_04 quits (~taurux@net-130-25-108-169.cust.vodafonedsl.it) (Ping timeout: 260 seconds)
06:46:18 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
06:46:56 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds)
06:48:41 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
06:48:52 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
06:48:52 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
06:48:52 GyroW joins (~GyroW@unaffiliated/gyrow)
06:49:47 tomsmeding thinks there is not, but would very much like to be proven wrong
06:50:30 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:50:57 <tomsmeding> (a hacky way to get it manually for a single case is to run 'cabal build', and look at the last Linking step)
06:51:45 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
06:52:57 kritzefitz joins (~kritzefit@fw-front.credativ.com)
06:55:55 kephra joins (~kephra@178.239.168.171)
06:56:03 × Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Read error: Connection reset by peer)
06:56:30 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
06:58:32 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection)
06:58:46 mananamenos_ joins (~mananamen@84.122.202.215.dyn.user.ono.com)
06:58:56 coot joins (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl)
06:58:57 asheshambasta joins (~user@ptr-e1lysawl9rr13i61o92.18120a2.ip6.access.telenet.be)
07:01:15 jonathanx joins (~jonathan@dyn-8-sc.cdg.chalmers.se)
07:01:22 × idupree2 quits (~quassel@2604:a880:400:d0::9bb:2001) (Quit: No Ping reply in 180 seconds.)
07:01:43 × bspar quits (~bspar@2604:a880:0:1010::776:e001) (Remote host closed the connection)
07:01:59 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
07:02:27 idupree joins (~quassel@2604:a880:400:d0::9bb:2001)
07:02:49 bspar joins (~bspar@2604:a880:0:1010::776:e001)
07:02:53 × falafel quits (~falafel@71-34-132-121.clsp.qwest.net) (Ping timeout: 265 seconds)
07:03:17 × ego quits (~ego@parallaxcorporation.xyz) (Ping timeout: 246 seconds)
07:03:38 × ericsagnes quits (~ericsagne@2405:6580:0:5100:d50b:1659:8849:617f) (Ping timeout: 246 seconds)
07:03:56 dhouthoo joins (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be)
07:04:08 × daGrevis quits (~daGrevis@unaffiliated/dagrevis) (Remote host closed the connection)
07:05:28 daGrevis joins (~daGrevis@unaffiliated/dagrevis)
07:05:43 vilpan joins (~0@mail.elitnet.lt)
07:06:13 × whald quits (~trem@2a02:810a:8100:11a6:7c7b:3b69:546:296f) (Remote host closed the connection)
07:07:12 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
07:07:13 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
07:07:25 stefan-__ joins (~cri@42dots.de)
07:07:54 raichoo joins (~raichoo@213.240.178.58)
07:08:58 knupfer joins (~Thunderbi@200116b8245a880058d1aafffee997cd.dip.versatel-1u1.de)
07:09:01 × knupfer quits (~Thunderbi@200116b8245a880058d1aafffee997cd.dip.versatel-1u1.de) (Client Quit)
07:09:02 × bitmagie quits (~Thunderbi@200116b8063bf700fc77edf9042d7650.dip.versatel-1u1.de) (Ping timeout: 260 seconds)
07:09:07 knupfer1 joins (~Thunderbi@200116b8245a8800587a28f318e80a29.dip.versatel-1u1.de)
07:09:30 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-usqgjetlamaxjqlh) (Quit: Connection closed for inactivity)
07:10:44 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
07:11:04 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
07:11:15 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Client Quit)
07:11:18 × Rudd0 quits (~Rudd0@185.189.115.108) (Ping timeout: 256 seconds)
07:11:31 knupfer1 is now known as knupfer
07:12:16 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
07:12:19 ego joins (~ego@parallaxcorporation.xyz)
07:14:25 jud joins (~jud@unaffiliated/jud)
07:15:30 Wuzzy joins (~Wuzzy@p5790ef06.dip0.t-ipconnect.de)
07:16:04 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds)
07:16:14 ericsagnes joins (~ericsagne@2405:6580:0:5100:299f:4171:5d6e:718)
07:16:27 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
07:16:34 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
07:18:36 × jespada quits (~jespada@90.254.243.98) (Ping timeout: 272 seconds)
07:20:48 HiPanda joins (3b941692@059148022146.ctinets.com)
07:20:54 × jbox quits (~atlas@unaffiliated/jbox) (Quit: WeeChat 2.9)
07:21:29 jespada joins (~jespada@90.254.243.98)
07:22:31 Franciman joins (~francesco@host-82-54-10-114.retail.telecomitalia.it)
07:25:24 xerox__ is now known as xerox_
07:25:31 × Quarl quits (~Quarl@94.191.136.110.mobile.tre.se) (Read error: Connection reset by peer)
07:25:57 hackage haxl 2.3.0.0 - A Haskell library for efficient, concurrent,and concise data access. https://hackage.haskell.org/package/haxl-2.3.0.0 (SimonMarlow)
07:28:24 danvet_ joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
07:29:06 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
07:32:00 × Franciman quits (~francesco@host-82-54-10-114.retail.telecomitalia.it) (Quit: Leaving)
07:32:18 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Remote host closed the connection)
07:32:44 hekkaidekapus joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
07:33:23 × HiPanda quits (3b941692@059148022146.ctinets.com) (Remote host closed the connection)
07:33:48 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
07:35:29 LKoen joins (~LKoen@81.255.219.130)
07:35:29 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
07:35:40 stefan-__ joins (~cri@42dots.de)
07:37:18 danvet joins (~danvet@2a02:168:57f4:0:5f80:650d:c6e6:3453)
07:39:18 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
07:39:23 × alp quits (~alp@2a01:e0a:58b:4920:58ef:71da:cc7f:2bf0) (Ping timeout: 272 seconds)
07:43:10 × kish quits (~oracle@unaffiliated/oracle) (Remote host closed the connection)
07:43:35 Franciman joins (~francesco@host-82-54-10-114.retail.telecomitalia.it)
07:43:36 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
07:45:05 jedws joins (~jedws@101.184.148.229)
07:46:36 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
07:47:09 alp joins (~alp@2a01:e0a:58b:4920:4417:e54c:3117:46f2)
07:50:01 × Maxdamantus quits (~Maxdamant@unaffiliated/maxdamantus) (Ping timeout: 264 seconds)
07:51:17 Quarl joins (~Quarl@94.191.136.110.mobile.tre.se)
07:51:22 GyroW_ joins (~GyroW@d54C03E98.access.telenet.be)
07:51:22 × GyroW_ quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
07:51:22 GyroW_ joins (~GyroW@unaffiliated/gyrow)
07:51:30 Maxdamantus joins (~Maxdamant@unaffiliated/maxdamantus)
07:51:49 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 264 seconds)
07:52:25 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 240 seconds)
07:54:53 Varis joins (~Tadas@unaffiliated/varis)
07:55:42 ensyde joins (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751)
07:57:36 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
07:59:06 × Fernando-Basso[m quits (fernando-b@gateway/shell/matrix.org/x-effarlclrewjufqv) (Ping timeout: 244 seconds)
07:59:12 × thiross quits (~user@161.129.40.8) (Remote host closed the connection)
07:59:17 × raoulb quits (~weechat@stateless.vsos.ethz.ch) (Ping timeout: 246 seconds)
07:59:31 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
07:59:36 acidjnk_new3 joins (~acidjnk@p200300d0c7237805143004c29cad477d.dip0.t-ipconnect.de)
07:59:42 raoulb joins (~weechat@stateless.vsos.ethz.ch)
08:00:22 × ensyde quits (~ensyde@2600:1702:2e30:1a40:693a:f19:42e4:5751) (Ping timeout: 260 seconds)
08:01:01 GyroW joins (~GyroW@d54c03e98.access.telenet.be)
08:01:01 × GyroW quits (~GyroW@d54c03e98.access.telenet.be) (Changing host)
08:01:01 GyroW joins (~GyroW@unaffiliated/gyrow)
08:01:05 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 240 seconds)
08:01:19 ph88 joins (~ph88@95.90.240.204)
08:02:18 bergsans joins (~bergsans@c80-217-8-29.bredband.comhem.se)
08:02:42 × acidjnk_new2 quits (~acidjnk@p200300d0c7237805143004c29cad477d.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
08:03:01 whald joins (~trem@2a02:810a:8100:11a6:1053:b508:9293:f7ba)
08:03:24 ensyde joins (~ensyde@2600:1702:2e30:1a40:70a0:9a2d:498e:2019)
08:03:45 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
08:04:59 Fernando-Basso[m joins (fernando-b@gateway/shell/matrix.org/x-ypbzrajpsnqhfwbq)
08:05:21 ukari joins (~ukari@unaffiliated/ukari)
08:06:33 × LKoen quits (~LKoen@81.255.219.130) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
08:08:31 × ensyde quits (~ensyde@2600:1702:2e30:1a40:70a0:9a2d:498e:2019) (Ping timeout: 272 seconds)
08:10:03 britva joins (~britva@2a02:aa13:7240:2980:b1bf:9c31:7687:bea1)
08:11:57 hackage Z-Data 0.1.8.0 - Array, vector and text https://hackage.haskell.org/package/Z-Data-0.1.8.0 (winterland)
08:16:08 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds)
08:19:38 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
08:24:12 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
08:28:17 × hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-kxtnycxbgunquota) (Quit: Connection closed for inactivity)
08:32:02 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
08:33:51 × xff0x quits (~fox@2001:1a81:530a:3a00:d49a:cbfa:c702:21e7) (Ping timeout: 272 seconds)
08:34:10 xff0x joins (~fox@2001:1a81:530a:3a00:56e4:bf1a:179e:49cd)
08:36:27 × kephra quits (~kephra@178.239.168.171) (Remote host closed the connection)
08:36:48 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds)
08:39:54 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
08:40:28 <dminuoso> jophish: Yes, it does In 3.4.
08:40:36 <dminuoso> It's --list-bin
08:40:39 <dminuoso> Until then you have two options
08:40:41 <jophish> thanks!
08:40:56 <dminuoso> 1) Under Linux you can do `cabal exec -- which packageName`
08:41:06 <dminuoso> 2) For windows compatibility you can use `cabal-plan`
08:41:19 <dminuoso> (Because 3.4 is fully released yet)
08:41:33 <jophish> ah of course, this is nicest I think: cabal exec -- which packageName
08:41:44 <dminuoso> jophish: If you want to use this inside the CI, make sure to pass -v0
08:41:50 <dminuoso> So cabal doesn't output other stuff
08:42:01 <jophish> wouldn't other stuff be on stderr?
08:42:06 <jophish> or shouldn't perhaps
08:42:21 <dminuoso> In experience you want -v0
08:42:56 <dminuoso> cabal outputs a lot of stuff on stdout, but even when you `build` first, our CI was broken a few times mysteriously because cabal output other stuff
08:42:57 <jophish> right, thanks
08:43:14 <jophish> yeah, I've always found that a little weird
08:43:36 <dminuoso> Might just be an issue due to the way we run our CI. At any rate, specifying -v0 is good.
08:44:23 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
08:44:25 × britva quits (~britva@2a02:aa13:7240:2980:b1bf:9c31:7687:bea1) (Quit: This computer has gone to sleep)
08:45:28 kuribas joins (~user@ptr-25vy0i8ckza8ovqlnsh.18120a2.ip6.access.telenet.be)
08:54:18 Ariakenom joins (~Ariakenom@h-82-196-111-63.NA.cust.bahnhof.se)
08:54:26 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 256 seconds)
08:54:38 erolm_a joins (~erolm_a@62.18.212.252)
08:55:39 thir joins (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de)
08:55:56 × howdoi quits (uid224@gateway/web/irccloud.com/x-pqhdvcgecdtzmnpf) (Quit: Connection closed for inactivity)
08:56:49 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
08:57:44 thc202 joins (~thc202@unaffiliated/thc202)
08:58:41 <merijn> 3.4 is blocked on GHC 9.0 release
08:58:58 × ph88 quits (~ph88@95.90.240.204) (Remote host closed the connection)
09:00:09 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
09:00:25 × Guest18 quits (bc1a97dc@gateway/web/cgi-irc/kiwiirc.com/ip.188.26.151.220) (Quit: Connection closed)
09:00:27 × thir quits (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
09:05:01 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds)
09:05:42 m0rphism joins (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de)
09:07:07 ubert joins (~Thunderbi@p200300ecdf10db38e6b318fffe838f33.dip0.t-ipconnect.de)
09:10:28 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
09:15:03 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds)
09:18:08 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
09:18:14 <maerwald> @hoogle delete
09:18:14 <lambdabot> Data.List delete :: Eq a => a -> [a] -> [a]
09:18:14 <lambdabot> GHC.OldList delete :: Eq a => a -> [a] -> [a]
09:18:14 <lambdabot> Data.IntMap.Internal delete :: Key -> IntMap a -> IntMap a
09:18:19 stefan-__ joins (~cri@42dots.de)
09:18:46 <maerwald> > delete 1 [1..]
09:18:48 <lambdabot> [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29...
09:20:07 scratchy_beard joins (~doug@cpc110383-king13-2-0-cust408.19-1.cable.virginm.net)
09:20:37 × erolm_a quits (~erolm_a@62.18.212.252) (Ping timeout: 264 seconds)
09:20:39 evade joins (~evade@2001:b07:a15:ec0c:91a9:d55f:dffd:96e)
09:20:40 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
09:20:54 erolm_a joins (~erolm_a@62.18.212.252)
09:20:56 <int-e> > delete 1 [1,1,1]
09:20:58 <lambdabot> [1,1]
09:21:09 <maerwald> hmm
09:21:20 <maerwald> so it's actually `deleteFirst`
09:21:24 <hc> > length (delete 1 [1..])
09:21:30 <lambdabot> mueval-core: Time limit exceeded
09:21:33 <int-e> maerwald: yeah, which may be surprising.
09:21:47 <maerwald> Such typesafety :p
09:21:54 <ski> > [0,0,0] \\ [0,0]
09:21:56 <lambdabot> [0]
09:22:03 <dminuoso> uhh
09:22:05 <maerwald> that's gross
09:22:10 <dminuoso> ouch
09:22:18 <int-e> multisets
09:22:31 <dminuoso> Principle of maximum surprise
09:22:54 <dminuoso> Can't we offload all these things to Data.Surprise.Surprise and out of Prelude?
09:22:59 <int-e> it is what it is
09:23:01 <int-e> no!
09:23:04 AlterEgo- joins (~ladew@124-198-158-163.dynamic.caiway.nl)
09:23:08 × evade quits (~evade@2001:b07:a15:ec0c:91a9:d55f:dffd:96e) (Client Quit)
09:23:12 <int-e> without warts, what would we complain about?
09:23:21 <dminuoso> Dunno. Other languages?
09:23:22 <int-e> what little curiosities would we discuss?
09:23:26 <int-e> it would be BORING
09:23:28 magma joins (~magma@2001:b07:a15:ec0c:91a9:d55f:dffd:96e)
09:24:03 <int-e> next you'll be taking away NaNs and signed zeros from IEEE floating point numbers
09:24:40 <dminuoso> These are not a problem, but I do want IEEE conform traps
09:24:41 <ski> or `n+k'
09:24:41 <int-e> (was that too much?)
09:24:46 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
09:25:10 <int-e> ski: I don't miss n+k patterns, somehow.
09:25:24 babygnu joins (~robert@gateway/tor-sasl/babygnu)
09:25:29 <merijn> int-e: Abolish value NaN, join us in trapping NaN paradise!
09:25:47 <int-e> > error "it's a trap!"
09:25:49 <lambdabot> *Exception: it's a trap!
09:25:49 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
09:25:59 <merijn> int-e: Basically, yes :p
09:26:10 stefan-__ joins (~cri@42dots.de)
09:26:12 <merijn> int-e: It's even IEEE-754 compliant!
09:26:20 <int-e> merijn: I just wonder how much code that would/will break.
09:26:27 <dminuoso> int-e: Dunno, I have luxury problems rather
09:26:29 <dminuoso> % type f <> g = Either f g
09:26:29 <yahb> dminuoso:
09:26:31 <dminuoso> I dont want that to work.
09:26:45 <merijn> I'm torn on type operators
09:26:52 <merijn> On the one hand "ugh"
09:26:57 <dminuoso> Type operators are fine, but they should demand a colon!
09:27:03 <merijn> On the other hands, prefixing everything with : is also "ugh"
09:27:06 <dminuoso> I think it used to be that way in 6.x or 7.x
09:27:19 <merijn> Up until mid 7.x, I think
09:27:35 <dminuoso> Right. There's so many places where quantifying over an operator makes so much more sense
09:27:41 <merijn> Personally I'm offended much more by TypeInType and refuse to acknowledge it's existence
09:27:41 <dminuoso> All the profunctor stuff for example
09:28:08 × magma quits (~magma@2001:b07:a15:ec0c:91a9:d55f:dffd:96e) (Client Quit)
09:28:31 opticnerve joins (~opticnerv@2001:b07:a15:ec0c:91a9:d55f:dffd:96e)
09:28:39 <int-e> (~>) is the perfect type variable for categories and arrows...
09:29:05 karanlikmadde joins (~karanlikm@2a01:c23:6063:4800:143d:31e:a773:8400)
09:29:25 <dminuoso> I mean if you look at Servant, it's not even annoying to have colon prefixes for type operators.
09:29:37 <int-e> It
09:29:52 × opticnerve quits (~opticnerv@2001:b07:a15:ec0c:91a9:d55f:dffd:96e) (Read error: Connection reset by peer)
09:29:59 <int-e> It's ugly for commutative things... But then again we can have :*: and :+:...
09:30:07 magma joins (~magma@2001:b07:a15:ec0c:91a9:d55f:dffd:96e)
09:30:14 DavidEichmann joins (~david@43.240.198.146.dyn.plus.net)
09:30:22 × scratchy_beard quits (~doug@cpc110383-king13-2-0-cust408.19-1.cable.virginm.net) (Ping timeout: 246 seconds)
09:30:30 <int-e> (modulo isomorphisms)
09:30:41 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
09:31:03 <dminuoso> Overally, I think we'd pull more value from type operator variables than that
09:31:29 <dminuoso> It's a little bit of visual noise vs effectively moving things that make more sense as infix into prefix position
09:32:59 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
09:33:48 × magma quits (~magma@2001:b07:a15:ec0c:91a9:d55f:dffd:96e) (Client Quit)
09:35:10 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
09:38:04 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 256 seconds)
09:39:55 kish joins (~oracle@unaffiliated/oracle)
09:40:54 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
09:43:58 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
09:45:46 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
09:47:25 Chi1thangoo joins (~Chi1thang@87.112.60.168)
09:49:50 ClaudiusMaximus joins (~claude@198.123.199.146.dyn.plus.net)
09:50:08 × ClaudiusMaximus quits (~claude@198.123.199.146.dyn.plus.net) (Changing host)
09:50:08 ClaudiusMaximus joins (~claude@unaffiliated/claudiusmaximus)
09:52:58 hackage dropbox 0.0.0 - Dropbox API client https://hackage.haskell.org/package/dropbox-0.0.0 (Jappie)
09:54:45 matp joins (~matp@178.162.204.214)
09:56:20 × danvet quits (~danvet@2a02:168:57f4:0:5f80:650d:c6e6:3453) (Quit: Leaving)
09:56:57 hackage dropbox 0.0.1 - Dropbox API client https://hackage.haskell.org/package/dropbox-0.0.1 (Jappie)
09:58:43 × karanlikmadde quits (~karanlikm@2a01:c23:6063:4800:143d:31e:a773:8400) (Ping timeout: 272 seconds)
09:58:50 Zetagon joins (~leo@c151-177-52-233.bredband.comhem.se)
09:59:33 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
10:01:17 Rudd0 joins (~Rudd0@185.189.115.108)
10:02:13 × lemmih quits (~lemmih@2406:3003:2072:44:b4a2:1d9:b4d8:a595) (Remote host closed the connection)
10:02:38 × TMA quits (tma@twin.jikos.cz) (Ping timeout: 272 seconds)
10:03:45 ensyde joins (~ensyde@2600:1702:2e30:1a40:70a0:9a2d:498e:2019)
10:04:56 tito_04 joins (~taurux@net-93-144-10-197.cust.vodafonedsl.it)
10:05:01 × taurux quits (~taurux@net-93-144-10-197.cust.dsl.teletu.it) (Ping timeout: 264 seconds)
10:05:27 hackage dropbox 0.0.2 - Dropbox API client https://hackage.haskell.org/package/dropbox-0.0.2 (Jappie)
10:05:47 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
10:08:05 × ensyde quits (~ensyde@2600:1702:2e30:1a40:70a0:9a2d:498e:2019) (Ping timeout: 246 seconds)
10:11:14 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
10:13:27 hackage dropbox 0.0.3 - Dropbox API client https://hackage.haskell.org/package/dropbox-0.0.3 (Jappie)
10:14:42 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
10:15:31 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
10:18:40 <tomsmeding> quick development ^
10:19:56 × erolm_a quits (~erolm_a@62.18.212.252) (Read error: Connection reset by peer)
10:20:53 erolm_a joins (~erolm_a@82.24.185.133)
10:21:13 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:21:18 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
10:21:23 <dminuoso> Modern development! Release early and release unfinished.
10:21:25 nefercheprure joins (tma@twin.jikos.cz)
10:21:33 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
10:21:50 <dminuoso> otoh, I have half a dozen packages awaiting release, but I've never found the time to finis them. :(
10:22:00 <dminuoso> Can't seem to find the middleground here
10:24:26 × michaelpj quits (michaelpjm@gateway/shell/matrix.org/x-bdiuggqbskrlwvgh) (Quit: killed)
10:24:26 × nihilazo quits (nihilazoma@gateway/shell/matrix.org/x-sbjmjryxjhfbwlul) (Quit: killed)
10:24:26 × SlackIntegration quits (slackbotma@gateway/shell/matrix.org/x-ukccuigjmsjfrngr) (Quit: killed)
10:24:26 × johnnyboy[m] quits (gifumatrix@gateway/shell/matrix.org/x-nltixegvkavzyoul) (Quit: killed)
10:24:26 × bonvoyage[m] quits (bonvoyageu@gateway/shell/matrix.org/x-rwrgsqnfczgpcfzg) (Quit: killed)
10:24:26 × PotatoHatsue quits (berbermanp@gateway/shell/matrix.org/x-ewmkzhxvdotuajer) (Quit: killed)
10:24:26 × psydruid quits (psydruidma@gateway/shell/matrix.org/x-pvfpsaadgrgcnmsj) (Quit: killed)
10:24:26 × theduke quits (thedukem1@gateway/shell/matrix.org/x-wpftwdkxgzvghvvl) (Quit: killed)
10:24:26 × fgaz quits (fgazmatrix@gateway/shell/matrix.org/x-nojviefmaelofmtu) (Quit: killed)
10:24:26 × domenkozar[m] quits (domenkozar@NixOS/user/domenkozar) (Quit: killed)
10:24:26 × ThaEwat quits (thaewraptm@gateway/shell/matrix.org/x-tborxvojsdhzkgkh) (Quit: killed)
10:24:26 × hsiktas[m] quits (hsiktasmat@gateway/shell/matrix.org/x-kxldbtoxiyqqqedi) (Quit: killed)
10:24:27 × siraben quits (sirabenmat@gateway/shell/matrix.org/x-zfgbuyuodlcnmskq) (Quit: killed)
10:24:27 × lambdaclan quits (lambdaclan@gateway/shell/matrix.org/x-kfsqukvjenobsiyf) (Quit: killed)
10:24:27 × texasmynsted[m] quits (mmynstedko@gateway/shell/matrix.org/x-dzaunedvswenjriu) (Quit: killed)
10:24:27 × srid quits (sridmatrix@gateway/shell/matrix.org/x-hviraidnojgflwps) (Quit: killed)
10:24:28 × jtojnar quits (jtojnarmat@gateway/shell/matrix.org/x-oldcfzkhkovghpdz) (Quit: killed)
10:24:28 × drozdziak1 quits (drozdziak1@gateway/shell/matrix.org/x-gidmfcvagtajvhhw) (Quit: killed)
10:24:28 × kadoban quits (kadobanmat@gateway/shell/matrix.org/x-krghsdaqvpzvmoqq) (Quit: killed)
10:24:29 × themsay[m] quits (themsaymat@gateway/shell/matrix.org/x-uotbvuvhvtbhjjxf) (Quit: killed)
10:24:29 × iinuwa quits (iinuwamatr@gateway/shell/matrix.org/x-jyhekixvpktslcoc) (Quit: killed)
10:24:30 × Noughtmare[m] quits (naughtmare@gateway/shell/matrix.org/x-xudbhqjcpbntxwlf) (Quit: killed)
10:24:30 × mmynsted[m] quits (mmynstedtc@gateway/shell/matrix.org/x-gyrlgvekdzamsbsy) (Quit: killed)
10:24:32 × DeadComaGrayce[m quits (commagra1@gateway/shell/matrix.org/x-zzpvpjjstynkgden) (Quit: killed)
10:24:32 × jlv quits (jlvjustinl@gateway/shell/matrix.org/x-mghywjuolvedlyvk) (Quit: killed)
10:24:32 × GuillaumeChrel[m quits (guillaumec@gateway/shell/matrix.org/x-dyhwbypfoivqrqzy) (Quit: killed)
10:24:32 × jiribenes1 quits (jbjiribene@gateway/shell/matrix.org/x-ywtaulhgwnhnsvxt) (Quit: killed)
10:24:35 × pqwy[m] quits (pqwymatrix@gateway/shell/matrix.org/x-fxzcljgcghrdenen) (Quit: killed)
10:24:36 × maralorn quits (maralornma@gateway/shell/matrix.org/x-vqhpwortgcdenadb) (Quit: killed)
10:24:37 × unclechu quits (unclechuma@gateway/shell/matrix.org/x-rpzcmsnopbhgclgj) (Quit: killed)
10:24:37 × micahsovereign[m quits (micahsover@gateway/shell/matrix.org/x-gjrcbpecsppcokwm) (Quit: killed)
10:24:37 × sureyeaah quits (shauryab98@gateway/shell/matrix.org/x-avtqnyzbzcxsvcva) (Quit: killed)
10:24:37 × PotatoHatsue|T quits (berbermanm@gateway/shell/matrix.org/x-wwzwaupbtfkoadjy) (Quit: killed)
10:24:37 × zerstroyer[m] quits (zerstroyer@gateway/shell/matrix.org/x-abrqfdkucphandbz) (Quit: killed)
10:24:37 × ethercrow[m] quits (ethercrowm@gateway/shell/matrix.org/x-kbjvkxqwgnsppadv) (Quit: killed)
10:24:37 × tersetears[m] quits (tersetears@gateway/shell/matrix.org/x-nyaxdrvmpvslsqtu) (Quit: killed)
10:24:38 × wi[m] quits (w1gzmatrix@gateway/shell/matrix.org/x-gjveedxyacwaljmc) (Quit: killed)
10:24:38 × steve[m] quits (stevetrout@gateway/shell/matrix.org/x-iohkoyrfjoxaewzg) (Quit: killed)
10:24:38 × ComaGrayce[m] quits (commagrays@gateway/shell/matrix.org/x-aumhvlswnppphkfk) (Quit: killed)
10:24:38 × betrion[m] quits (betrionmat@gateway/shell/matrix.org/x-qpffcnlgtzskewhs) (Quit: killed)
10:24:39 × alvinsj[m] quits (alvinsjmat@gateway/shell/matrix.org/x-futysjdhnnxsbkpw) (Quit: killed)
10:24:39 × hnOsmium0001[m] quits (hnosmium00@gateway/shell/matrix.org/x-fvmtmiqtqsjbazqg) (Quit: killed)
10:24:40 × chreekat[m] quits (chreekatma@gateway/shell/matrix.org/x-gieddtjtrbfhzuob) (Quit: killed)
10:24:40 × jeffcasavant[m] quits (jeffcasava@gateway/shell/matrix.org/x-rlgfpzrggighdhrb) (Quit: killed)
10:24:40 × io_r_us[m] quits (commandlin@gateway/shell/matrix.org/x-drnpoxjvaxdwwqgi) (Quit: killed)
10:24:40 × wrunt[m] quits (wruntmatri@gateway/shell/matrix.org/x-bxtindmfgzagxold) (Quit: killed)
10:24:40 × mikr[m] quits (mikrdavral@gateway/shell/matrix.org/x-tnooaimoadfhoktw) (Quit: killed)
10:24:41 × albestro[m] quits (albestroma@gateway/shell/matrix.org/x-inujpqvfiidxrghs) (Quit: killed)
10:24:43 × materialfuture[m quits (materialfu@gateway/shell/matrix.org/x-aciobbtkqskwpjdk) (Quit: killed)
10:24:43 × kaychaks_riot quits (kaychaksma@gateway/shell/matrix.org/x-ytbtoyjbxfietmdi) (Quit: killed)
10:24:46 × Ericson2314 quits (ericson231@gateway/shell/matrix.org/x-tjofikpsndtqqoip) (Quit: killed)
10:24:46 × tttom[m] quits (tttommatri@gateway/shell/matrix.org/x-hkvnfzzlaaxtbpto) (Quit: killed)
10:24:46 × CaptainFox[m] quits (onianimatr@gateway/shell/matrix.org/x-miahmjdoquzpwvgq) (Quit: killed)
10:24:48 × rednaZ[m] quits (r3dnazmatr@gateway/shell/matrix.org/x-tkusjxcwwbivwlkm) (Quit: killed)
10:24:48 × jkaye[m] quits (jkayematri@gateway/shell/matrix.org/x-clfxuprobknvrhns) (Quit: killed)
10:24:49 × alexfmpe quits (alexfmpema@gateway/shell/matrix.org/x-rumnfgeqditogrbg) (Quit: killed)
10:24:49 × dyniec[m] quits (dyniecmatr@gateway/shell/matrix.org/x-pvfhaoakrmoprspz) (Quit: killed)
10:24:49 × sm[m] quits (simonmicma@gateway/shell/matrix.org/x-kjzdaftnxeysexza) (Quit: killed)
10:24:49 × Fernando-Basso[m quits (fernando-b@gateway/shell/matrix.org/x-ypbzrajpsnqhfwbq) (Quit: killed)
10:24:49 × ttc quits (tomtauma1@gateway/shell/matrix.org/x-mcwzexsnwpdfymag) (Quit: killed)
10:24:49 × JoelMcCracken[m] quits (joelmccrac@gateway/shell/matrix.org/x-knmshmpivzxzsdhs) (Quit: killed)
10:24:50 × lnxw37d4 quits (lnxw37d4ma@gateway/shell/matrix.org/x-crwphkmgvfrosaji) (Quit: killed)
10:24:50 × tsrt^ quits (tsrt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
10:25:21 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
10:25:36 jiribenes joins (~jiribenes@rosa.jiribenes.com)
10:25:51 tsrt^ joins (tsrt@ip98-184-89-2.mc.at.cox.net)
10:26:00 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
10:26:23 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Ping timeout: 256 seconds)
10:27:13 × elliott_ quits (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
10:28:26 elliott_ joins (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net)
10:29:01 × rprije quits (~rprije@194-193-168-77.tpgi.com.au) (Ping timeout: 264 seconds)
10:30:11 lemmih joins (~lemmih@2406:3003:2072:44:21d6:f064:b28b:f0d4)
10:30:44 × knupfer quits (~Thunderbi@200116b8245a8800587a28f318e80a29.dip.versatel-1u1.de) (Quit: knupfer)
10:30:51 knupfer joins (~Thunderbi@200116b8245a8800587a28f318e80a29.dip.versatel-1u1.de)
10:30:59 × knupfer quits (~Thunderbi@200116b8245a8800587a28f318e80a29.dip.versatel-1u1.de) (Client Quit)
10:31:08 knupfer joins (~Thunderbi@200116b8245a88002178c45bdf988b17.dip.versatel-1u1.de)
10:32:09 johnnyboy[m] joins (gifumatrix@gateway/shell/matrix.org/x-bwnfdzeafqubfksm)
10:33:08 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 265 seconds)
10:36:57 ensyde joins (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05)
10:37:38 brisbin joins (~patrick@pool-173-49-158-4.phlapa.fios.verizon.net)
10:37:46 christo joins (~chris@81.96.113.213)
10:37:52 × ericsagnes quits (~ericsagne@2405:6580:0:5100:299f:4171:5d6e:718) (Ping timeout: 260 seconds)
10:41:41 nefercheprure is now known as TMA
10:41:51 × christo quits (~chris@81.96.113.213) (Ping timeout: 244 seconds)
10:41:57 × ensyde quits (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05) (Ping timeout: 260 seconds)
10:42:17 × Athas quits (athas@2a01:7c8:aaac:1cf:430f:bcbb:6418:e5a7) (Quit: ZNC - http://znc.sourceforge.net)
10:42:34 Athas joins (athas@2a01:7c8:aaac:1cf:430f:bcbb:6418:e5a7)
10:43:09 dftxbs3e joins (~dftxbs3e@unaffiliated/dftxbs3e)
10:44:12 JoelMcCracken[m] joins (joelmccrac@gateway/shell/matrix.org/x-jzimloyvvhoxfyzc)
10:44:12 Ericson2314 joins (ericson231@gateway/shell/matrix.org/x-eiodcepayzmtulvi)
10:44:12 unclechu joins (unclechuma@gateway/shell/matrix.org/x-lcvlyrcvcccjaofs)
10:44:12 ThaEwat joins (thaewraptm@gateway/shell/matrix.org/x-nmiehyfymcraiwlr)
10:44:12 PotatoHatsue|T joins (berbermanm@gateway/shell/matrix.org/x-tramsdhygfziwosr)
10:44:12 nihilazo joins (nihilazoma@gateway/shell/matrix.org/x-ccdjrllyhlmzbsrl)
10:44:13 lambdaclan joins (lambdaclan@gateway/shell/matrix.org/x-gzshwuftlgessnhs)
10:44:13 sureyeaah joins (shauryab98@gateway/shell/matrix.org/x-gmxulmevjvplmwtv)
10:44:13 psydruid joins (psydruidma@gateway/shell/matrix.org/x-uodtpvngjfwtuggt)
10:44:13 micahsovereign[m joins (micahsover@gateway/shell/matrix.org/x-dxdibhjjyybodwbc)
10:44:13 michaelpj joins (michaelpjm@gateway/shell/matrix.org/x-ncpfrytegghonssp)
10:44:13 alvinsj[m] joins (alvinsjmat@gateway/shell/matrix.org/x-uvjjzjrrekrkslqu)
10:44:13 bonvoyage[m] joins (bonvoyageu@gateway/shell/matrix.org/x-pojfdsrdccxnmsub)
10:44:13 kadoban joins (kadobanmat@gateway/shell/matrix.org/x-uczqikstpaepzgvu)
10:44:13 sm[m] joins (simonmicma@gateway/shell/matrix.org/x-bllalwsklewvlzig)
10:44:14 siraben joins (sirabenmat@gateway/shell/matrix.org/x-bcyjzribfqthehto)
10:44:14 zerstroyer[m] joins (zerstroyer@gateway/shell/matrix.org/x-yllnormoxnelwrvi)
10:44:14 pqwy[m] joins (pqwymatrix@gateway/shell/matrix.org/x-qehhputbhwqwxpzb)
10:44:14 kaychaks_riot joins (kaychaksma@gateway/shell/matrix.org/x-stbwfkzfrvvzbyzd)
10:44:14 ttc joins (tomtauma1@gateway/shell/matrix.org/x-kbtilopgzcxagitb)
10:44:14 maralorn joins (maralornma@gateway/shell/matrix.org/x-gdkwbeskgjiokzif)
10:44:14 rednaZ[m] joins (r3dnazmatr@gateway/shell/matrix.org/x-fbgpcbpvvdvwhhpb)
10:44:14 theduke joins (thedukem1@gateway/shell/matrix.org/x-cbnzcbffqhkoxtel)
10:44:14 iinuwa joins (iinuwamatr@gateway/shell/matrix.org/x-lpekgkdkfonfigtg)
10:44:14 Fernando-Basso[m joins (fernando-b@gateway/shell/matrix.org/x-vwxyieictpjdswzt)
10:44:14 PotatoHatsue joins (berbermanp@gateway/shell/matrix.org/x-bglrmgugemmlkftz)
10:44:14 io_r_us[m] joins (commandlin@gateway/shell/matrix.org/x-vgfwulljnqdvxelo)
10:44:15 srid joins (sridmatrix@gateway/shell/matrix.org/x-bahjeddkvcglhyrj)
10:44:15 fgaz joins (fgazmatrix@gateway/shell/matrix.org/x-vbxragmdcbvbjqii)
10:44:15 tersetears[m] joins (tersetears@gateway/shell/matrix.org/x-dmulllmltwwxtjzn)
10:44:15 lnxw37d4 joins (lnxw37d4ma@gateway/shell/matrix.org/x-rbikvwzhgsuamfor)
10:44:15 jtojnar joins (jtojnarmat@gateway/shell/matrix.org/x-vxxxfyeqdpvmztqw)
10:44:15 hsiktas[m] joins (hsiktasmat@gateway/shell/matrix.org/x-spblkboyxhqoardh)
10:44:15 SlackIntegration joins (slackbotma@gateway/shell/matrix.org/x-tzgbprxkzzasbbnm)
10:44:15 texasmynsted[m]1 joins (mmynstedko@gateway/shell/matrix.org/x-vggryrjyagxthgpr)
10:44:15 Noughtmare[m] joins (naughtmare@gateway/shell/matrix.org/x-qkwfaxopuwdmyobi)
10:44:15 drozdziak1 joins (drozdziak1@gateway/shell/matrix.org/x-vtaixfecibczpgem)
10:44:15 domenkozar[m] joins (domenkozar@NixOS/user/domenkozar)
10:44:16 jeffcasavant[m] joins (jeffcasava@gateway/shell/matrix.org/x-dhyacoeojdbhkueh)
10:44:16 chreekat[m] joins (chreekatma@gateway/shell/matrix.org/x-lksmlvmlmjcbzfay)
10:44:16 themsay[m] joins (themsaymat@gateway/shell/matrix.org/x-hggegudnqixrsppq)
10:44:16 hnOsmium0001[m] joins (hnosmium00@gateway/shell/matrix.org/x-sshchogyivlmgodc)
10:44:19 mikr[m] joins (mikrdavral@gateway/shell/matrix.org/x-ofofkuxgulduwdtb)
10:44:19 betrion[m] joins (betrionmat@gateway/shell/matrix.org/x-dsrbaapqpyafsbmj)
10:44:19 jiribenes1 joins (jbjiribene@gateway/shell/matrix.org/x-gbosxlytzboxghyk)
10:44:19 alexfmpe joins (alexfmpema@gateway/shell/matrix.org/x-puehpfgruzmxylyx)
10:44:20 jkaye[m] joins (jkayematri@gateway/shell/matrix.org/x-ukiyfiddwfiugxvb)
10:44:20 wrunt[m] joins (wruntmatri@gateway/shell/matrix.org/x-tccnewxeqpzlvbnc)
10:44:20 GuillaumeChrel[m joins (guillaumec@gateway/shell/matrix.org/x-bzphvmmldnxyrmal)
10:44:20 dyniec[m] joins (dyniecmatr@gateway/shell/matrix.org/x-bqlbscrkasptvecc)
10:44:20 ethercrow[m] joins (ethercrowm@gateway/shell/matrix.org/x-wllbtofqtpmcpjdq)
10:44:20 jlv joins (jlvjustinl@gateway/shell/matrix.org/x-hqueevydwoadxbpz)
10:44:21 DeadComaGrayce[m joins (commagra1@gateway/shell/matrix.org/x-iuyehmrmzolqbndz)
10:44:21 mmynsted[m] joins (mmynstedtc@gateway/shell/matrix.org/x-cdvlrpxsdijgwogw)
10:44:21 steve[m] joins (stevetrout@gateway/shell/matrix.org/x-yobseikaxycmhhfr)
10:44:22 wi[m] joins (w1gzmatrix@gateway/shell/matrix.org/x-lfcylepzsrjwyrbr)
10:44:22 materialfuture[m joins (materialfu@gateway/shell/matrix.org/x-djqhtahsalhhtmbv)
10:44:22 tttom[m] joins (tttommatri@gateway/shell/matrix.org/x-kshxzzwtqhpqbsjt)
10:44:22 CaptainFox[m] joins (onianimatr@gateway/shell/matrix.org/x-szolbyecjnlczmzs)
10:44:22 albestro[m] joins (albestroma@gateway/shell/matrix.org/x-rwgkldcronzkchgf)
10:44:23 ComaGrayce[m] joins (commagrays@gateway/shell/matrix.org/x-hjwgivbycspfkazw)
10:44:53 dhil joins (~dhil@195.213.192.122)
10:45:53 × polyrain quits (~polyrain@2001:8003:e501:6901:5473:8418:3e33:a31a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:47:49 × alp quits (~alp@2a01:e0a:58b:4920:4417:e54c:3117:46f2) (Remote host closed the connection)
10:48:12 alp joins (~alp@2a01:e0a:58b:4920:a54e:d9e5:dae3:56de)
10:50:02 ericsagnes joins (~ericsagne@2405:6580:0:5100:adab:ba3d:96b9:f189)
10:55:38 Lycurgus joins (~niemand@98.4.96.235)
10:56:19 × xff0x quits (~fox@2001:1a81:530a:3a00:56e4:bf1a:179e:49cd) (Ping timeout: 244 seconds)
10:57:29 xff0x joins (~fox@2001:1a81:530a:3a00:393a:8eae:c84c:d22c)
10:57:59 <maerwald> There's actual research backing up the "release early, release often" mantra. But my impression is that it doesn't normalise for context: most of the time ppl have no idea what they are doing. Then quick feedback is all you got, lol
11:02:46 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 258 seconds)
11:03:31 Tario joins (~Tario@201.192.165.173)
11:06:57 supercoven joins (~Supercove@dsl-hkibng32-54fb54-166.dhcp.inet.fi)
11:09:52 × alx741 quits (~alx741@181.196.68.73) (Ping timeout: 260 seconds)
11:11:27 hackage dropbox 0.0.4 - Dropbox API client https://hackage.haskell.org/package/dropbox-0.0.4 (Jappie)
11:11:31 <[exa]> maerwald: people make the best tests
11:13:53 × brisbin quits (~patrick@pool-173-49-158-4.phlapa.fios.verizon.net) (Ping timeout: 244 seconds)
11:18:28 hackage aws-lambda-haskell-runtime 3.0.5 - Haskell runtime for AWS Lambda https://hackage.haskell.org/package/aws-lambda-haskell-runtime-3.0.5 (NickSeagull)
11:18:39 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
11:22:04 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
11:24:04 p8m_ joins (p8m@gateway/vpn/protonvpn/p8m)
11:24:09 alx741 joins (~alx741@181.196.69.70)
11:25:00 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 258 seconds)
11:26:13 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
11:26:16 invaser joins (~Thunderbi@31.148.23.125)
11:26:37 × invaser quits (~Thunderbi@31.148.23.125) (Client Quit)
11:28:12 <merijn> There's some people uploading stuff to hackage that doesn't even compile
11:28:15 xerox_ joins (~xerox@unaffiliated/xerox)
11:28:29 shatriff joins (~vitaliish@176.52.219.10)
11:28:40 <merijn> I'm not even talking "dependency bounds are wrong", I mean "straight up syntax error"
11:28:59 <merijn> I wish people would do the bare minimum testing at least, before cluttering shared resources
11:29:33 <merijn> The repo doesn't even exist
11:30:15 <merijn> oh, that was a typo in the cabal file
11:30:28 <merijn> I'm going to bet this person isn't aware of release candidates >.>
11:31:25 × alp quits (~alp@2a01:e0a:58b:4920:a54e:d9e5:dae3:56de) (Ping timeout: 240 seconds)
11:31:41 <hc> merijn: yeah, it is a bit difficult to acclimate to... indeed, the release canditate feature is not-100%-obvious
11:31:49 <int-e> Hmm, maybe they're using a non-cabal build tool by default :/
11:32:12 <merijn> hc: candidate is the default, though?
11:32:15 <hc> then again, adding some checks to reject stuff that doesn't copmile sounds doable
11:32:23 <merijn> hc: Not really
11:32:27 <hc> merijn: is it? I always explicitly search for it
11:32:40 <merijn> hc: Because then anything depending on native libraries that are not on the builders fails
11:32:48 <merijn> hc: How are you uploading, then?
11:32:48 <hc> merijn: oh, true.
11:32:51 <hc> s/compile/type check maybe?
11:33:04 <int-e> you can't even check whether there's a build plan, because of C dependencies and possible platform-specific packages
11:33:28 <int-e> (not easily at least)
11:33:48 <merijn> hc: The hackage upload page (from clicking the link) has them at the bottom (this should perhaps be at the top, before the upload link/button)
11:33:51 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
11:33:53 <hc> you could require manual review by maintainers for packages that don't compile on "stardard hardware" then?
11:33:57 <merijn> hc: https://hackage.haskell.org/upload
11:34:20 <int-e> there is an upload page?
11:34:23 <merijn> hc: And "cabal upload" requires you to add --publish to upload a non-candidate version
11:34:28 <merijn> int-e: Yes :p
11:34:35 <int-e> fancy
11:34:51 <hc> int-e: yes, it's actually a very open infrastructure imho
11:34:56 <merijn> Although I just use "cabal upload", since it's integrated with my password manager
11:34:57 <hc> very low entry bar to contributing
11:35:51 <int-e> hc: I never went looking for an upload page... I always just used `cabal upload`.
11:36:03 <hc> ah ok, I see
11:36:20 <hc> I always used cabal sdist, then find to find the tarball and then uploaded it via the file upload feature
11:36:27 <hc> much later did I learn there is an upload command
11:36:33 <int-e> It's just so easy to miss things that you're not looking for.
11:36:42 <hc> true that!
11:37:26 <hc> I tend to judge things these days by how easy/hard they make it for me to learn how to do what I am trying to do. (unless, of course, they require me to learn novel new concepts I haven't heard of before and that actually teach me something:)
11:37:47 <hc> so by this standard, for example, I like hetzner cloud a lot and AWS not so much...
11:38:17 × Franciman quits (~francesco@host-82-54-10-114.retail.telecomitalia.it) (Quit: Leaving)
11:38:42 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 256 seconds)
11:39:10 Franciman joins (~francesco@host-82-54-10-114.retail.telecomitalia.it)
11:42:29 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
11:42:51 alp joins (~alp@2a01:e0a:58b:4920:50ad:3f1d:990d:f833)
11:44:38 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
11:46:27 GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
11:46:28 × GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
11:46:28 GyroW_ joins (~GyroW@unaffiliated/gyrow)
11:47:05 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
11:47:14 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 258 seconds)
11:47:41 × Athas quits (athas@2a01:7c8:aaac:1cf:430f:bcbb:6418:e5a7) (Quit: ZNC - http://znc.sourceforge.net)
11:48:09 Athas joins (~athas@2a01:7c8:aaac:1cf:430f:bcbb:6418:e5a7)
11:50:58 × Lycurgus quits (~niemand@98.4.96.235) (Quit: Exeunt)
11:52:39 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
11:54:13 × bitmapper quits (uid464869@gateway/web/irccloud.com/x-odbovwgffdjqqzdy) (Quit: Connection closed for inactivity)
11:54:16 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
11:54:26 stefan-__ joins (~cri@42dots.de)
11:54:43 <[exa]> ...there's no testing/review in hackage at all?
11:54:46 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
11:54:54 nbloomf joins (~nbloomf@2600:1700:ad14:3020:6d96:aec8:3874:14ea)
11:55:53 djellemah joins (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54)
11:57:01 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
11:57:01 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 246 seconds)
11:57:23 <infinity0> i have some 3rd-party code that operates lazily on the front of a String, and some other 3rd-party code that operates lazily on the front of a lazy ByteString
11:57:48 <infinity0> to interoperate the two, i'm keeping my data as a lazy ByteString, but then converting it to a String using LBS.pack/unpack
11:58:04 <merijn> [exa]: No
11:58:21 <merijn> [exa]: Who did you imagine would do that?
11:58:29 <infinity0> however if i do this many many times, i will build up a deep thunk of pack (.. unpack ( .. pack ( ... unpack ) ... etc, is there any way around this?
11:58:46 <merijn> infinity0: Stop...please...you're going to make me cry
11:59:00 <infinity0> so is the answer "no"?
11:59:12 <merijn> The only way that pack/unpack you're using would work is if you are using Char8
11:59:22 <merijn> And if so, I'm going to have to send my hit squad after you
11:59:31 <infinity0> i'm using Char8, that's beside the point of my question though
11:59:33 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds)
11:59:50 thblt joins (~thblt@unaffiliated/thblt)
12:00:01 × matp quits (~matp@178.162.204.214) ()
12:02:07 <merijn> I disagree :) Doing that conversion once is evil enough that I'm quoted for hating on it (https://github.com/quchen/articles/blob/master/fbut.md#bytestringchar8-is-bad). Doing it repeatedly is *terribly* broken
12:02:47 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
12:03:14 cristi_ joins (~cristi@86.121.125.90)
12:03:22 <hc> merijn: lol on that quote
12:03:37 <merijn> Ideally one (or both) of those 3rd party libraries exposes another way of interacting with it, but that's hard to say without knowing which libraries
12:03:40 <merijn> hc: #facts
12:04:13 thblt parts (~thblt@unaffiliated/thblt) ("ERC (IRC client for Emacs 27.1)")
12:04:17 <infinity0> merijn: that problem doesn't apply to my use case, i'm only interested in the issue mentioned in my question
12:04:29 <arahael> Meh, char8 probably still makes sense in some situations, such as where you have mixed-encoded strings.
12:04:50 × coot quits (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl) (Remote host closed the connection)
12:05:10 <merijn> arahael: No, because then you just have a binary blob and should be operating on ByteString only
12:05:23 <infinity0> the issue is about interoperating between two pieces of code that expect those two different types, yet it would seem the pack/unpack conversion would become more inefficient the more you interleave the operations, which is a shame
12:05:28 coot joins (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl)
12:07:16 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
12:07:20 <arahael> merijn: I really shouldn't engage #haskell when my glenfiddich is running out. ;) But I'll persist! What if you were dealing with an sqlite blob of unspecified encoding?
12:08:07 <merijn> infinity0: It's not about "more inefficient", but about "is this fundamentally broken?". Either one (or both) of those libraries are exposing the wrong type in their API (in which hopefully there's a right one too) *or* what you're doing is just broken and can't work correctly. I dunno which of those is true. But I don't know the answer to "how can I make the broken thing faster"
12:08:12 urodna joins (~urodna@unaffiliated/urodna)
12:08:19 <merijn> arahael: ByteString
12:08:28 × coot quits (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl) (Remote host closed the connection)
12:08:37 <arahael> merijn: Oh, hang on - char8 isn't actually 8-bit clean is it?
12:08:42 <merijn> arahael: No
12:08:53 <arahael> merijn: Well, then that dies right there.
12:08:53 <merijn> arahael: It's just "lol, let's just drop all non-ascii input"
12:09:06 <arahael> Yeah, I just realised why it's so bad, again.
12:09:18 × Chi1thangoo quits (~Chi1thang@87.112.60.168) (Ping timeout: 272 seconds)
12:09:22 <infinity0> merijn: "this is fundamentally broken" is a subjective judgement, i don't have the time to go into that type of philosophical debate
12:09:23 <hc> maybe move it to the ByteString.Yolo subpackage to make this more clear?
12:09:41 <merijn> hc: I have campaigned for it's removal multiple times
12:10:04 <infinity0> the fact that you had to write a blog post about it means that "for all real-world situations, it results in incorrect behaviour" is not true, i would really just like to focus on my repeated unpack/pack question in terms of efficiency
12:10:15 coot joins (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl)
12:10:42 <infinity0> you can think about it in terms of some unspecified types A and B if it makes you more comfortable..
12:10:42 <merijn> infinity0: That problem is unsolvable
12:10:43 Yangster joins (c053e4f4@192.83.228.244)
12:10:50 <hc> infinity0: when you ask a hacker a simple question, you might get a long and possible philospophical answer ;p
12:10:56 <infinity0> fair enough...
12:10:59 × Yangster quits (c053e4f4@192.83.228.244) (Remote host closed the connection)
12:11:04 <merijn> "I'm repeatedly computing the same thing, how do I make it fast?" 'well...stop doing that'
12:11:09 ggole joins (~ggole@2001:8003:8119:7200:553e:28c1:9eff:faae)
12:11:23 <merijn> If you're encoding the same string, just, like, save the result and reuse it?
12:11:49 <merijn> And if you're *not* encoding the same string, then I fail to see how you could convert it faster than "converting it"
12:12:14 × ubert quits (~Thunderbi@p200300ecdf10db38e6b318fffe838f33.dip0.t-ipconnect.de) (Remote host closed the connection)
12:12:32 ubert joins (~Thunderbi@p200300ecdf10db38e6b318fffe838f33.dip0.t-ipconnect.de)
12:12:36 × cristi_ quits (~cristi@86.121.125.90) (Quit: cristi_)
12:14:07 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Quit: hekkaidekapus)
12:14:07 <infinity0> i'm repeatedly decoding a stream, that's the thing, and it could either be A or B
12:14:14 <arahael> merijn: When someone wants to "focus" on doing something efficiently, they don't always mean in computer time, even if they say that. ;)
12:14:18 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:6d96:aec8:3874:14ea) (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:14:45 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Ping timeout: 240 seconds)
12:16:01 <merijn> infinity0: Incidentally, replacing Char8.unpack with "T.unpack . decodeUtf8With lenientDecode" will give you the exact same type with a *much* more robust and *much* less bug-prone behaviour
12:16:13 <infinity0> it's reasonable that a decoding API gives me (leftovers, result), but the two different APIs have different types for "leftovers"
12:16:14 hekkaidekapus joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
12:16:28 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
12:16:42 <infinity0> merijn: thanks, yes i thought something like that must be possible, unfortunately it still would be inefficient due to the thunk build-up as if i understand right
12:16:59 <merijn> (since it will 1. work correctly for any UTF-8 unicode, 2. gracefully handle errors if it's *not* UTF-8. As opposed to Char8 which will just silently corrupt your data)
12:17:18 <merijn> infinity0: Any conversion to String is *always* going to be inefficient
12:17:27 <merijn> Given that string easily takes up ~24 byte per character
12:17:32 <merijn> and ruins your cache
12:18:17 <[exa]> merijn: like, the users at least... :D
12:18:33 <infinity0> well laziness could help with that, if only pack was "smart" enough to recognise an "unpack (...)" thunk and actually destructure it instead of building on top of it
12:18:56 <merijn> [exa]: Well, there's the expectation that users do, but it doesn't hold as you see
12:19:00 <arahael> infinity0: You mean fusion? :)
12:19:03 <merijn> infinity0: That's not possible with ByteString
12:19:18 <[exa]> merijn: moderation/banhammer is not available?
12:19:28 <merijn> infinity0: To create a ByteString it *must* be copied in full
12:19:40 <infinity0> sorry, i am talking about Lazy.ByteString here
12:19:44 <merijn> [exa]: In theory, sure, in practice there's no process
12:19:57 <merijn> infinity0: Lazy ByteString is just [Strict.ByteString]
12:20:34 <[exa]> well then it's marvelous that the hackage is in such a good state
12:20:39 <merijn> The chunk size depending on how/what creates the lazy list
12:20:49 <infinity0> right, you only need to copy the first part of it, when creating one lazily
12:21:23 <infinity0> arahael: that only happens at build-time not run-time conditionally AIUI. i'm pretty sure what i mentioned is impossible with today's haskell but i thought perhaps there might be some other strartegy i didn't know about
12:21:41 Sarma joins (~Amras@unaffiliated/amras0000)
12:22:15 <arahael> infinity0: When I deal with haskell, I rarely try to think about compiletime vs runtime. I just accept that all the types are resolved at compile time.
12:22:51 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
12:23:20 <infinity0> well, i also care about runtime performance
12:23:40 nbloomf joins (~nbloomf@2600:1700:ad14:3020:6d96:aec8:3874:14ea)
12:24:23 <merijn> infinity0: Which 2 libraries are this?
12:24:42 <infinity0> Serialise vs Read
12:24:48 <merijn> oof
12:24:55 <merijn> As in the Read typeclass?
12:25:01 <infinity0> yeah
12:25:05 <merijn> And you care about performance?
12:25:20 <merijn> Because Read's performance is notoriously *god awful*
12:25:30 <merijn> Just, like, incredibly bad
12:25:55 <infinity0> right, for interactive user session is fine, but having it degrade on a O(n^2) basis sounds bad even for an interactive user session
12:25:58 <merijn> What are you trying to read?
12:27:21 <infinity0> a stream of a bunch of objects, that could either be Serialise or Read
12:27:28 brisbin joins (~patrick@pool-173-49-158-4.phlapa.fios.verizon.net)
12:27:33 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
12:28:07 <arahael> When I had to do a Read thing, I made my own read typeclass.
12:28:34 <merijn> infinity0: And you don't control what creates this input (i.e. there's no way to replace Read with something else?)
12:29:00 <infinity0> i could replace Read with perhaps JSON, that is another option i guess. mostly Read is convenient to derive and carries no dependencies
12:29:41 <merijn> If you use Serialise already anyway, why not just derive Serialise?
12:29:46 <infinity0> the underlying question regarding "runtime fusion" was interesting though
12:30:12 <infinity0> i am already deriving Serialise. the idea is to have a fast+binary option but also a easy-friendly-manual option
12:30:27 × acidjnk_new3 quits (~acidjnk@p200300d0c7237805143004c29cad477d.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
12:30:48 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:6d96:aec8:3874:14ea) (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:31:19 xerox_ joins (~xerox@unaffiliated/xerox)
12:32:54 geekosaur joins (82659a09@host154-009.vpn.uakron.edu)
12:33:07 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
12:33:18 × knupfer quits (~Thunderbi@200116b8245a88002178c45bdf988b17.dip.versatel-1u1.de) (Remote host closed the connection)
12:33:26 knupfer joins (~Thunderbi@200116b8245a88004cde9423a5581dc5.dip.versatel-1u1.de)
12:35:04 carlomagno joins (~cararell@148.87.23.13)
12:35:27 nbloomf joins (~nbloomf@2600:1700:ad14:3020:3801:1e49:4cbd:104)
12:35:33 machinedgod joins (~machinedg@24.105.81.50)
12:36:18 × carlomagno1 quits (~cararell@148.87.23.5) (Ping timeout: 260 seconds)
12:37:12 whatisRT joins (~whatisRT@2002:5b41:6a33:0:ada0:9073:7dbb:6b46)
12:37:25 ensyde joins (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05)
12:37:36 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
12:37:56 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:3801:1e49:4cbd:104) (Client Quit)
12:38:13 × fresheyeball quits (~isaac@c-71-237-105-37.hsd1.co.comcast.net) (Quit: WeeChat 2.7.1)
12:38:22 cristi_ joins (~cristi@86.121.125.90)
12:42:07 × ensyde quits (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05) (Ping timeout: 260 seconds)
12:43:23 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
12:45:08 solonarv joins (~solonarv@astrasbourg-552-1-23-6.w90-13.abo.wanadoo.fr)
12:46:47 × ubert quits (~Thunderbi@p200300ecdf10db38e6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
12:47:48 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds)
12:50:05 mirrorbird joins (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1)
12:50:39 × cristi_ quits (~cristi@86.121.125.90) (Quit: cristi_)
12:55:59 b_b1 joins (~b_b@185.244.214.217)
12:57:17 thir joins (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de)
13:01:45 × whald quits (~trem@2a02:810a:8100:11a6:1053:b508:9293:f7ba) (Ping timeout: 272 seconds)
13:01:55 × thir quits (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
13:04:48 × st8less quits (~st8less@2603:a060:11fd:0:dd24:d259:2e39:f97e) (Quit: WeeChat 2.7.1)
13:05:54 × geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Ping timeout: 245 seconds)
13:06:29 whald joins (~trem@ip4d15893f.dynamic.kabel-deutschland.de)
13:07:10 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Remote host closed the connection)
13:08:54 × Lowl3v3l quits (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de) (Remote host closed the connection)
13:09:16 Lowl3v3l joins (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de)
13:12:00 × elliott_ quits (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 272 seconds)
13:13:17 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
13:13:31 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
13:13:31 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
13:13:31 GyroW joins (~GyroW@unaffiliated/gyrow)
13:13:32 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
13:16:13 elliott_ joins (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net)
13:18:20 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
13:18:36 geekosaur joins (82659a09@host154-009.vpn.uakron.edu)
13:19:26 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 244 seconds)
13:19:50 Tario joins (~Tario@201.192.165.173)
13:23:43 <dminuoso> maerwald: Is there a way to select a version with ghcup without changing the default?
13:23:51 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
13:24:01 <maerwald> dminuoso: what do you mean exactly?
13:24:12 <dminuoso> So we have a CI node with multiple GHC versions installed
13:24:21 <maerwald> cabal build -w ghc-8.8.4?
13:24:49 <dminuoso> maerwald: Cunning.
13:25:01 <merijn> That's my local setup too :p
13:25:01 <dminuoso> Can ghcup give me the path?
13:25:08 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
13:25:14 <maerwald> dminuoso: what path?
13:25:14 <merijn> I just have all ghc's in my path (latest first)
13:25:18 × Zetagon quits (~leo@c151-177-52-233.bredband.comhem.se) (Ping timeout: 256 seconds)
13:25:24 <dminuoso> merijn: The path to an installed ghc
13:25:29 <merijn> So "ghc" defaults to the latest and specific version go to those
13:25:30 <maerwald> dminuoso: ghcup paths are predictable
13:25:41 <maerwald> ~/.ghcup/ghc/8.8.4/bin/ghc or something
13:26:06 <dminuoso> maerwald: Well it'd still feel better if there was a sort of `--list-ghc` command, such I could say `cabal build -w $(ghcup --list-bin ghc-8.6.5)` or some such
13:26:27 <dminuoso> Rather than encoding internals of ghcup into CI job descriptions
13:26:28 <maerwald> You don't trust your PATH?
13:26:45 <dminuoso> maerwald: Again, I have multiple concurrent GHC versions installed
13:27:04 AlterEgo__ joins (~ladew@124-198-158-163.dynamic.caiway.nl)
13:27:07 jud^ joins (~jud@cpe-70-113-106-222.austin.res.rr.com)
13:27:10 <maerwald> cabal build -w ~/.ghcup/bin/ghc-8.8.4
13:27:22 xerox__ joins (~xerox@unaffiliated/xerox)
13:27:47 Merfont joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
13:28:01 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
13:28:18 xintron3 joins (~xintron@unaffiliated/xintron)
13:28:27 jil` joins (~user@45.86.162.6)
13:28:38 <dminuoso> I still feel like ghc should offer plumbing commands.
13:28:40 <dminuoso> *ghcup
13:28:59 × jud quits (~jud@unaffiliated/jud) (Read error: Connection reset by peer)
13:28:59 <merijn> lifehack: https://github.com/merijn/dotfiles/blob/master/dotfiles/bash_env#L24-L28 ;)
13:28:59 × AlterEgo- quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Read error: Connection reset by peer)
13:28:59 <merijn> Needs some tweaking to match ghcup's paths, though
13:28:59 × xerox_ quits (~xerox@unaffiliated/xerox) (Read error: Connection reset by peer)
13:28:59 × Kaeipi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
13:28:59 × xintron quits (~xintron@unaffiliated/xintron) (Quit: Ping timeout (120 seconds))
13:29:00 xintron3 is now known as xintron
13:29:03 × dan64 quits (~dan64@dannyadam.com) (Quit: ZNC - http://znc.in)
13:29:03 × haasn quits (~nand@mpv/developer/haasn) (Quit: ZNC 1.7.5+deb4 - https://znc.in)
13:29:05 × jil quits (~user@45.86.162.6) (Remote host closed the connection)
13:29:05 × stefan-__ quits (~cri@42dots.de) (Read error: Connection reset by peer)
13:29:19 <merijn> dminuoso: So, if you have them all in your path then "ghc-8.8.4" will "just work"
13:29:24 × obfusk quits (~quassel@a82-161-150-56.adsl.xs4all.nl) (Remote host closed the connection)
13:29:25 stefan-__ joins (~cri@42dots.de)
13:29:26 haasn joins (~nand@mpv/developer/haasn)
13:29:36 <maerwald> I don't really understand the problem here
13:29:52 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
13:30:20 × Cathy quits (~Cathy@unaffiliated/cathy) (Ping timeout: 260 seconds)
13:30:32 obfusk joins (~quassel@a82-161-150-56.adsl.xs4all.nl)
13:30:49 dan64 joins (~dan64@dannyadam.com)
13:30:57 Deide joins (~Deide@217.155.19.23)
13:31:10 × erolm_a quits (~erolm_a@82.24.185.133) (Ping timeout: 246 seconds)
13:31:19 <dminuoso> merijn: Ah, indeed they are!
13:31:36 <dminuoso> That's nice and works well
13:31:42 Cathy joins (~Cathy@unaffiliated/cathy)
13:31:54 <dminuoso> Has the added advantage that the CI doesnt make assumptions about ghcup being installed
13:31:54 <merijn> dminuoso: Then the trick is just to have the right "default" GHC first so that "ghc" pick the right one (which might not be important for CI)
13:32:01 <dminuoso> It just demands a particular GHC version to be in path
13:32:03 <dminuoso> :)
13:32:15 <dminuoso> merijn: in case of ghcup, ghc itself is a symlink managed by ghcup
13:32:17 <dminuoso> I didnt know that
13:32:21 <dminuoso> I thought ghcup did PATH manipulation
13:32:42 <dminuoso> Cheers this is good
13:33:25 <maerwald> dminuoso: no, you have to modify PATH yourself, that's why we get mac users every day asking here how to do that
13:33:34 <dminuoso> heh
13:33:36 <dminuoso> fair enough
13:33:43 <dminuoso> well, at any rate. merijn's suggested answer is good :)
13:34:28 <maerwald> if you don't want to expose the symlinks, you can just export ~/.ghcup/ghc/<ver>/bin
13:35:36 erolm_a joins (~erolm_a@82.24.185.133)
13:36:34 xerox__ is now known as xerox_
13:37:17 × ukari quits (~ukari@unaffiliated/ukari) (Ping timeout: 265 seconds)
13:38:55 × whatisRT quits (~whatisRT@2002:5b41:6a33:0:ada0:9073:7dbb:6b46) (Ping timeout: 240 seconds)
13:44:02 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
13:44:22 × geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Remote host closed the connection)
13:47:40 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
13:48:29 fendor_ joins (~fendor@178.115.130.82.wireless.dyn.drei.com)
13:48:53 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
13:50:58 × fendor quits (~fendor@91.141.1.218.wireless.dyn.drei.com) (Ping timeout: 260 seconds)
13:51:03 Moyst joins (~moyst@212-149-213-144.bb.dnainternet.fi)
13:51:26 Guest18 joins (567e8866@gateway/web/cgi-irc/kiwiirc.com/ip.86.126.136.102)
13:53:37 × vicfred quits (~vicfred@unaffiliated/vicfred) (Ping timeout: 264 seconds)
13:54:04 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
13:55:43 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
13:57:10 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
13:57:57 hackage path-io 1.6.2 - Interface to ‘directory’ package for users of ‘path’ https://hackage.haskell.org/package/path-io-1.6.2 (mrkkrp)
13:58:48 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
13:59:03 ubert joins (~Thunderbi@p200300ecdf10db38e6b318fffe838f33.dip0.t-ipconnect.de)
14:00:40 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds)
14:01:10 seanvert joins (~user@177.84.244.242)
14:02:26 whatisRT joins (~whatisRT@2002:5b41:6a33:0:ada0:9073:7dbb:6b46)
14:04:19 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
14:07:02 × dhil quits (~dhil@195.213.192.122) (Ping timeout: 260 seconds)
14:07:05 st8less joins (~st8less@2603:a060:11fd:0:6d81:dbc2:4b3:9091)
14:09:05 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
14:11:05 fendor_ is now known as fendor
14:11:57 hackage urbit-airlock 0.1.0.0 - Talk to Urbit from Haskell https://hackage.haskell.org/package/urbit-airlock-0.1.0.0 (bsima)
14:12:52 elliott__ joins (~elliott@pool-108-51-141-12.washdc.fios.verizon.net)
14:13:12 scratchy_beard joins (~doug@cpc110383-king13-2-0-cust408.19-1.cable.virginm.net)
14:13:34 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving)
14:14:37 Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net)
14:14:37 × ericsagnes quits (~ericsagne@2405:6580:0:5100:adab:ba3d:96b9:f189) (Ping timeout: 260 seconds)
14:14:55 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
14:16:07 texasmynsted joins (~texasmyns@185.240.246.92)
14:16:08 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
14:16:38 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
14:16:48 texasmyn_ joins (~texasmyns@185.240.246.92)
14:17:38 × texasmynsted quits (~texasmyns@185.240.246.92) (Read error: Connection reset by peer)
14:17:56 PistolPete713 joins (4b6683a6@75.102.131.166)
14:18:38 × PistolPete713 quits (4b6683a6@75.102.131.166) (Remote host closed the connection)
14:19:00 texasmyn_ is now known as texasmynsted
14:19:40 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
14:19:54 dhil joins (~dhil@openvpn-125-1027.inf.ed.ac.uk)
14:20:01 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
14:20:01 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
14:20:01 GyroW joins (~GyroW@unaffiliated/gyrow)
14:20:43 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
14:21:12 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds)
14:21:20 × scratchy_beard quits (~doug@cpc110383-king13-2-0-cust408.19-1.cable.virginm.net) (Ping timeout: 256 seconds)
14:21:58 × elliott__ quits (~elliott@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 256 seconds)
14:22:12 ukari joins (~ukari@unaffiliated/ukari)
14:23:25 thir joins (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de)
14:26:23 ericsagnes joins (~ericsagne@2405:6580:0:5100:7841:4eea:7b9d:6c40)
14:27:55 × Ariakenom quits (~Ariakenom@h-82-196-111-63.NA.cust.bahnhof.se) (Quit: Leaving)
14:28:03 × babygnu quits (~robert@gateway/tor-sasl/babygnu) (Ping timeout: 240 seconds)
14:28:36 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9)
14:28:52 × thir quits (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
14:29:04 babygnu joins (~robert@gateway/tor-sasl/babygnu)
14:29:20 Ariakenom joins (~Ariakenom@h-82-196-111-63.NA.cust.bahnhof.se)
14:31:54 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
14:31:54 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
14:32:19 × erolm_a quits (~erolm_a@82.24.185.133) (Ping timeout: 256 seconds)
14:32:50 × kritzefitz quits (~kritzefit@fw-front.credativ.com) (Remote host closed the connection)
14:34:12 Tario joins (~Tario@201.192.165.173)
14:35:08 ddellacosta joins (~dd@86.106.121.168)
14:36:00 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
14:37:11 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
14:37:52 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
14:38:15 ensyde joins (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05)
14:38:39 × alp quits (~alp@2a01:e0a:58b:4920:50ad:3f1d:990d:f833) (Ping timeout: 272 seconds)
14:38:43 × jonathanx quits (~jonathan@dyn-8-sc.cdg.chalmers.se) (Remote host closed the connection)
14:38:57 <carter> merijn: you’re off #numerical-haskell just when it’s picking up again ;)
14:40:25 Chi1thangoo joins (~Chi1thang@87.112.60.168)
14:40:28 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
14:42:21 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
14:43:05 × ensyde quits (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05) (Ping timeout: 272 seconds)
14:43:05 nbloomf joins (~nbloomf@2600:1700:ad14:3020:3801:1e49:4cbd:104)
14:45:09 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:3801:1e49:4cbd:104) (Client Quit)
14:45:13 × mirrorbird quits (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1) (Quit: Leaving)
14:46:39 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
14:47:18 Guest_63 joins (83e76875@wireless-student-pt9-104-117.lut.ac.uk)
14:47:23 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
14:47:28 × Guest_63 quits (83e76875@wireless-student-pt9-104-117.lut.ac.uk) (Remote host closed the connection)
14:49:17 vacm joins (~vacwm@70.23.92.191)
14:49:33 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
14:51:13 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds)
14:51:51 ulidtko joins (~ulidtko@193.111.48.79)
14:56:46 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
14:57:13 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
14:57:39 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
14:58:00 × whatisRT quits (~whatisRT@2002:5b41:6a33:0:ada0:9073:7dbb:6b46) (Quit: ZNC 1.7.5 - https://znc.in)
14:58:17 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
14:58:28 GyroW joins (~GyroW@d54c03e98.access.telenet.be)
14:58:28 × GyroW quits (~GyroW@d54c03e98.access.telenet.be) (Changing host)
14:58:28 GyroW joins (~GyroW@unaffiliated/gyrow)
14:58:45 Zetagon joins (~leo@c151-177-52-233.bredband.comhem.se)
15:00:02 × b_b1 quits (~b_b@185.244.214.217) ()
15:01:00 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
15:03:17 × seanvert quits (~user@177.84.244.242) (Remote host closed the connection)
15:03:57 avn joins (~avn@78-56-108-78.static.zebra.lt)
15:06:54 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
15:07:03 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
15:08:13 × Deide quits (~Deide@217.155.19.23) (Quit: Seeee yaaaa)
15:11:10 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds)
15:12:06 conal joins (~conal@64.71.133.70)
15:12:52 Deide joins (~Deide@217.155.19.23)
15:14:32 × kuribas quits (~user@ptr-25vy0i8ckza8ovqlnsh.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
15:20:11 dansho joins (~dansho@ip68-108-167-185.lv.lv.cox.net)
15:20:27 robotadam1 joins (~robotadam@154.13.1.56)
15:20:34 jneira joins (501e64fa@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.100.250)
15:20:48 Merfont is now known as Kaiepi
15:22:51 × dansho quits (~dansho@ip68-108-167-185.lv.lv.cox.net) (Client Quit)
15:24:02 × gawen quits (~gawen@movzbl.root.sx) (Quit: cya)
15:24:24 gawen joins (~gawen@movzbl.root.sx)
15:24:34 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 246 seconds)
15:24:45 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
15:24:45 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
15:24:45 GyroW joins (~GyroW@unaffiliated/gyrow)
15:29:26 × dcoutts_ quits (~duncan@33.14.75.194.dyn.plus.net) (Ping timeout: 272 seconds)
15:30:28 hackage mu-avro 0.4.0.1 - Avro serialization support for Mu microservices https://hackage.haskell.org/package/mu-avro-0.4.0.1 (AlejandroSerrano)
15:31:01 invaser joins (~Thunderbi@31.148.23.125)
15:31:54 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
15:32:13 vicfred joins (~vicfred@unaffiliated/vicfred)
15:33:10 christo joins (~chris@81.96.113.213)
15:35:08 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds)
15:40:51 nbloomf joins (~nbloomf@2600:1700:ad14:3020:ac30:bbd7:59b:66ab)
15:43:48 coot_ joins (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl)
15:45:04 alp joins (~alp@2a01:e0a:58b:4920:fd7c:1b1:358f:2e7a)
15:46:03 <ulidtko> does stack allow to pick only the lib component (and ignore/skip the exe:'s) of a package from extra-deps ?
15:46:25 × st8less quits (~st8less@2603:a060:11fd:0:6d81:dbc2:4b3:9091) (Ping timeout: 240 seconds)
15:47:14 × ThaEwat quits (thaewraptm@gateway/shell/matrix.org/x-nmiehyfymcraiwlr) (Ping timeout: 246 seconds)
15:47:27 × ghoulguy quits (x@freenode/staff/haskell.developer.glguy) (Read error: Connection reset by peer)
15:47:38 × coot quits (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl) (Ping timeout: 260 seconds)
15:47:40 glguy_ joins (x@freenode/staff/haskell.developer.glguy)
15:47:40 coot_ is now known as coot
15:47:40 glguy_ is now known as glguy
15:48:09 glguy is now known as ghoulguy
15:48:33 <ulidtko> i see that stack allows passing flags to extra-deps... but this package has no flag to disable the exe: component
15:48:38 × fgaz quits (fgazmatrix@gateway/shell/matrix.org/x-vbxragmdcbvbjqii) (Ping timeout: 246 seconds)
15:48:41 st8less joins (~st8less@inet-167-224-197-181.isp.ozarksgo.net)
15:49:15 fgaz joins (fgazmatrix@gateway/shell/matrix.org/x-nobvbpoimoorjizw)
15:49:17 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
15:49:33 ThaEwat joins (thaewraptm@gateway/shell/matrix.org/x-pssqkgzdxqqfosjg)
15:52:04 × invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 256 seconds)
15:52:39 <ulidtko> fork it you say? well maybe, vendoring this one will certainly work, but I don't know how many more deps will need vendoring like that
15:53:37 × MarcelineVQ quits (~anja@198.254.202.72) (Ping timeout: 264 seconds)
15:53:39 <lep-delete> i feel like this is impossible but let's say i have a function `f :: (Read a) => String -> [a] -> [a]; f v xs = read v : xs` is it possible to supply @a at runtime? like from a typerep or smth?
15:53:41 × dhouthoo quits (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be) (Quit: WeeChat 2.9)
15:54:06 <merijn> lep-delete: Well, tht sounds like a scary terrible idea :)
15:54:25 <lep-delete> eh, maybe, mostly lazy
15:55:00 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Quit: WeeChat 2.8)
15:55:11 <lep-delete> (i could go into my specific use-case but i *think* the above should give the general idea)
15:56:03 <ulidtko> lep-delete, the question is, why don't you know the specific `a` at `f` call site
15:56:33 <ulidtko> and where the "runtime" choice of `a` comes from
15:56:36 <merijn> A better question would be "are you really sure you wanna use Read?" :p
15:56:37 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
15:56:44 <ulidtko> that, too
15:56:46 <lep-delete> no, but Read is the closest
15:56:52 <lep-delete> i would use some binary serialisation
15:56:59 <lep-delete> let me get into my use-case
15:57:20 sfvm joins (~sfvm@37.228.215.148)
15:58:58 <lep-delete> i have a data type with more structure than a list but let's use a list for now. i want a program where i can supply a string v, then read a list xs::[a] from a file and have read v:xs written back to that file. now i want to be able to use that program for [Int], [Real], [Maybe Int], you get it w/o recompiling it for every new file
15:59:26 × c_wraith quits (~c_wraith@adjoint.us) (Ping timeout: 256 seconds)
15:59:33 c_wraith joins (~c_wraith@adjoint.us)
15:59:42 hnOsmium0001 joins (uid453710@gateway/web/irccloud.com/x-hspucayepdiagala)
15:59:47 <hyperisco> so I have strings and I want a reasonably unique hash for each string… what is my simplest path? cryponite looks possible but complicated
16:00:10 <monsterchrom> How do I tell your program "I want [Int]"?
16:00:20 × ubert quits (~Thunderbi@p200300ecdf10db38e6b318fffe838f33.dip0.t-ipconnect.de) (Remote host closed the connection)
16:00:31 <monsterchrom> What is the exact syntax, for starters? (Next will be "what is the semantics of that syntax?")
16:00:33 <lep-delete> either i provide it or read it from a file
16:00:38 <hyperisco> like, md5 :: String -> String would make me happy
16:00:39 conal joins (~conal@64.71.133.70)
16:00:41 ubert joins (~Thunderbi@p200300ecdf10db38e6b318fffe838f33.dip0.t-ipconnect.de)
16:01:22 <lep-delete> i dont know enough about Data.{Data,Typeable,Dynamic} to say whether it's possible or not
16:01:29 <ulidtko> lep-delete, your serialization format will need to have something like a tagged-union
16:01:30 <monsterchrom> What is the exact syntax, for starters? (Next will be "what is the semantics of that syntax?")
16:01:42 <ulidtko> then you simply case match on it
16:01:54 <ulidtko> here, look, reading images https://github.com/Twinside/Juicy.Pixels/blob/master/src/Codec/Picture.hs#L426-L435
16:02:12 <ulidtko> it's really simple and there's no "high level" "type magic" involved
16:02:18 <lep-delete> sure but a tagged union would need like all possible cases in beforehand, no?
16:02:34 <lep-delete> im aware of the "normal" way
16:02:36 <monsterchrom> What are your "all possible" cases?
16:02:51 <monsterchrom> I was trying to extract that from "what is the exact syntax?"
16:03:15 <ulidtko> yes, of course; otherwise what exactly would you mean by the serialization format ?
16:03:22 <monsterchrom> Anyway talking only in the "abstract" is the root of all evil.
16:03:46 <ulidtko> like, what monsterchrom says, define concretely what you need
16:04:30 <lep-delete> simple example as above, i want the user supply a string value, have it `read` and append it to a list, which is stored `show`ed in a file
16:04:41 <lep-delete> so anything that can be (Read a, Show a)
16:04:59 <lep-delete> or ( ToJSON a, FromJSON a), or whatever
16:05:08 × whald quits (~trem@ip4d15893f.dynamic.kabel-deutschland.de) (Remote host closed the connection)
16:05:27 <ulidtko> use Json Value then?
16:05:33 <ulidtko> the untyped thing
16:05:48 <monsterchrom> If you say, "all legal Haskell types", you will be linking the totalily of GHC. You don't want to go there.
16:05:52 <lep-delete> well i have a concrete type for each file
16:06:21 <monsterchrom> HOW MANY TYPES ARE THERE?
16:07:02 GyroW_ joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
16:07:03 × GyroW_ quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
16:07:03 GyroW_ joins (~GyroW@unaffiliated/gyrow)
16:07:36 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 260 seconds)
16:10:03 raym joins (~ray@115.187.50.31)
16:10:28 × miklcct quits (quasselcor@2001:19f0:7001:5ad:5400:2ff:feb6:50d7) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
16:10:41 miklcct joins (quasselcor@2001:19f0:7001:5ad:5400:2ff:feb6:50d7)
16:10:43 × miklcct quits (quasselcor@2001:19f0:7001:5ad:5400:2ff:feb6:50d7) (Client Quit)
16:11:10 geekosaur joins (82659a09@host154-009.vpn.uakron.edu)
16:11:15 miklcct joins (quasselcor@2001:19f0:7001:5ad:5400:2ff:feb6:50d7)
16:11:31 danza joins (~francesco@151.74.98.117)
16:13:02 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
16:13:23 × chele quits (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) (Remote host closed the connection)
16:15:38 <dolio> A proper class.
16:15:48 <monsterchrom> heh
16:16:13 × ulidtko quits (~ulidtko@193.111.48.79) (Read error: Connection reset by peer)
16:16:27 thir joins (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de)
16:16:28 hackage gopro-plus 0.4.1.0 - GoPro Plus Client API. https://hackage.haskell.org/package/gopro-plus-0.4.1.0 (dustin)
16:16:32 ulidtko joins (~ulidtko@193.111.48.79)
16:16:42 christo joins (~chris@81.96.113.213)
16:17:09 Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi)
16:17:29 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
16:19:58 hackage happstack-server 7.7.0 - Web related tools and services. https://hackage.haskell.org/package/happstack-server-7.7.0 (JeremyShaw)
16:22:38 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds)
16:24:32 × raichoo quits (~raichoo@213.240.178.58) (Quit: Lost terminal)
16:24:50 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
16:26:04 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 256 seconds)
16:27:19 kritzefitz joins (~kritzefit@212.86.56.80)
16:29:59 __monty__ joins (~toonn@unaffiliated/toonn)
16:30:11 moy joins (5a319fdb@lfbn-nan-1-68-219.w90-49.abo.wanadoo.fr)
16:30:36 moy is now known as Guest45505
16:31:07 <Guest45505> im wondering, how many thread can i open in concurrency within a haskell programm ? do one thread === one CPU core ?
16:31:41 <Rembane> Guest45505: What kind of threads?
16:32:00 <Guest45505> those that you open by calling forkIO for example
16:32:01 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
16:32:47 <texasmynsted> I know this is a terrible question but . . . There are many options for writing "shell scripts" using Haskell. Too many for me to select one.
16:33:21 <c_wraith> Guest45505: So... this is actually sort of complex, because GHC has a couple options that completely change how threads work. But in no case is a GHC thread an OS thread
16:33:28 <texasmynsted> If my goal was to improve my Haskell skill, especially for streaming and concurrency, what would you recommend?
16:34:04 <Rembane> texasmynsted: Go for the turtle one!
16:34:16 <monsterchrom> "Green threads", i.e, many Haskell threads cramped to N cores, you choose N.
16:34:27 <Rembane> texasmynsted: https://hackage.haskell.org/package/turtle
16:34:34 <monsterchrom> Even if you have 64 cores you can tell the RTS to use just 2 cores.
16:34:54 <monsterchrom> In fact "green threads" is more nuanced than that.
16:34:57 <c_wraith> Guest45505: GHC has two different options for runtimes that can be linked in to programs it compiles. One uses a single thread for all Haskell code, which lets it skip all kinds of locking and synchronization primitives.
16:34:58 <texasmynsted> why turtle. That is . . . not what I expected.
16:35:32 <c_wraith> Guest45505: the other is what monsterchrom is describing, where it can split the Haskell threads across multiple OS threads.
16:35:33 <monsterchrom> But if you know Java's "green threads", that's what we have too.
16:36:34 <texasmynsted> lol. First thing it says is install Stack. (If I use turtle it will not be with Stack.)
16:37:00 <Rembane> I propose that you can for all practical intents and purposes have an infinite amount of "green threads" and things will work just fine.
16:37:14 <Rembane> texasmynsted: What was what you expected?
16:37:17 <Guest45505> monsterchrom ok i see, thats much clearer for me now, thanks
16:38:32 Kolkrabe joins (~user@unaffiliated/siracusa)
16:38:44 × thir quits (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de) (Remote host closed the connection)
16:38:54 thir joins (~thir@p4febc6a5.dip0.t-ipconnect.de)
16:39:05 ensyde joins (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05)
16:39:11 <texasmynsted> Shell-conduit or something?
16:40:09 × Guest18 quits (567e8866@gateway/web/cgi-irc/kiwiirc.com/ip.86.126.136.102) (Quit: Connection closed)
16:41:55 <Rembane> Cool, I have never used it. :)
16:42:20 LKoen joins (~LKoen@lstlambert-657-1-123-43.w92-154.abo.wanadoo.fr)
16:42:47 × alp quits (~alp@2a01:e0a:58b:4920:fd7c:1b1:358f:2e7a) (Ping timeout: 272 seconds)
16:43:12 × Guest45505 quits (5a319fdb@lfbn-nan-1-68-219.w90-49.abo.wanadoo.fr) (Remote host closed the connection)
16:43:28 × bergsans quits (~bergsans@c80-217-8-29.bredband.comhem.se) (Remote host closed the connection)
16:43:35 × ensyde quits (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05) (Ping timeout: 246 seconds)
16:44:12 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 256 seconds)
16:45:01 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
16:45:19 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
16:45:20 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
16:45:20 GyroW joins (~GyroW@unaffiliated/gyrow)
16:45:27 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
16:46:32 <ulidtko> texasmynsted, best option for shell scripts is... bash.
16:46:49 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
16:46:59 <ulidtko> however -- check out https://www.shellcheck.net it's written in haskell if that gives you the warm fuzzy feeling
16:47:10 christo joins (~chris@81.96.113.213)
16:48:45 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
16:49:08 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
16:49:35 dcoutts_ joins (~duncan@33.14.75.194.dyn.plus.net)
16:49:39 <texasmynsted> ulidtko: I agree with you. I just mean for things that "outgrow" a shell script.
16:50:02 × dumptruckman quits (dumptruckm@2600:3c02::f03c:91ff:fe6e:2cfd) (Ping timeout: 260 seconds)
16:50:03 × danza quits (~francesco@151.74.98.117) (Quit: Leaving)
16:50:09 Guest_47 joins (c04c085e@client-8-94.eduroam.oxuni.org.uk)
16:50:23 jared-w_ joins (uid405292@gateway/web/irccloud.com/x-zblwaowsatpvgcgl)
16:50:23 jbetz_ joins (sid283648@gateway/web/irccloud.com/x-tnjzeofedetnuotr)
16:50:23 gluegadget_ joins (sid22336@gateway/web/irccloud.com/x-jdgygofdapzniovg)
16:50:23 simony_ joins (sid226116@gateway/web/irccloud.com/x-wfspjvkdvvrjhuut)
16:50:23 nlofaro_ joins (sid258233@gateway/web/irccloud.com/x-uxoxyvtwstbbwbgr)
16:50:23 eacameron_ joins (sid256985@gateway/web/irccloud.com/x-trisvivfbojkcgwh)
16:50:24 alunduil_ joins (alunduil@gateway/web/irccloud.com/x-bdycqsguonemwjha)
16:50:26 hamishmack_ joins (sid389057@gateway/web/irccloud.com/x-rcfovoglewntmycy)
16:50:27 cstrahan_ joins (sid36118@gateway/web/irccloud.com/x-mfvjnlhprdhvdyaw)
16:50:27 kozowu_ joins (uid44796@gateway/web/irccloud.com/x-zlvbgrbsoafykjcb)
16:50:28 jtmar joins (~james@jtmar.me)
16:50:30 PoliticsII______ joins (sid193551@gateway/web/irccloud.com/x-vnvglhlgcdrmzohj)
16:50:34 Kamuela_ joins (sid111576@gateway/web/irccloud.com/x-uwnwrtcyskakfxsa)
16:50:41 rizary_ joins (sid220347@gateway/web/irccloud.com/x-hwxhcpsmvhwyypyw)
16:50:42 PotatoGim_ joins (sid99505@gateway/web/irccloud.com/x-xnlvbpmqvvvvzlzi)
16:50:43 MTwister joins (~Twister@claudia.s7t.de)
16:50:45 × cohn quits (~noone@unaffiliated/cohn) (Ping timeout: 240 seconds)
16:50:45 rann_ joins (sid175221@gateway/web/irccloud.com/x-rsexmirciwaviewy)
16:50:58 conal joins (~conal@64.71.133.70)
16:51:15 <ulidtko> yes, that happens all the time. either rewrite it, or deal with it (shellcheck is really helpful, also following consistent style)
16:51:47 × rotaerk quits (rotaerk@2600:3c02::f03c:91ff:fe70:4a45) (Ping timeout: 260 seconds)
16:52:17 × asheshambasta quits (~user@ptr-e1lysawl9rr13i61o92.18120a2.ip6.access.telenet.be) (Ping timeout: 272 seconds)
16:52:53 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
16:52:58 holo1 joins (~holo@nikky.moe)
16:53:05 weechat_2 joins (~mingc@2400:8902::f03c:91ff:feb7:8e82)
16:53:09 nikola3 joins (~nikola@2a03:b0c0:2:d0::dc2:c001)
16:53:16 <texasmynsted> Yes, I love shellscript.
16:53:17 xerox_ joins (~xerox@unaffiliated/xerox)
16:53:24 <texasmynsted> I mean shellcheck
16:53:33 <texasmynsted> I have it integrated into vim
16:53:59 <ulidtko> as for rewriting options: I sort of fail to see the point to "emulate" bash and try to make it look like shellscript...
16:54:06 <ulidtko> same
16:54:07 entropyga1n joins (levitate@unaffiliated/entropygain)
16:54:34 <ulidtko> https://hackage.haskell.org/package/HSH-2.1.3 using this one, you can spawn processes and pipes "just like" in bash
16:55:09 <ulidtko> but all the ['extra', 'syntax'] makes you really want to go back to bash instead
16:55:50 tolt_ joins (kevin@2600:3c03::f03c:91ff:fe79:6b76)
16:55:54 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
16:56:01 <ulidtko> so, a good linter like shellcheck really hits the sweat spot IMO
16:56:02 heredoc joins (heredoc@2a01:7e01::f03c:91ff:fec1:de1d)
16:56:19 mursu_ joins (~ngWalrus@2a03:b0c0:3:d0::5ebd:2001)
16:56:26 <ulidtko> (*sweet haha)
16:56:32 nkly_ joins (~nkly@2a02:8109:9a80:a74:201:2eff:fe81:c6dd)
16:56:37 × tito_04 quits (~taurux@net-93-144-10-197.cust.vodafonedsl.it) (Ping timeout: 246 seconds)
16:56:43 noexcept_ joins (~noexcept@2a03:b0c0:3:d0::33:9001)
16:57:12 <texasmynsted> I am not trying to emulate bash. Rather I am trying to find the best way to interact with shell processes that do not have a haskell module.
16:57:32 × jkaye[m] quits (jkayematri@gateway/shell/matrix.org/x-ukiyfiddwfiugxvb) (*.net *.split)
16:57:32 × wrunt[m] quits (wruntmatri@gateway/shell/matrix.org/x-tccnewxeqpzlvbnc) (*.net *.split)
16:57:32 × mikr[m] quits (mikrdavral@gateway/shell/matrix.org/x-ofofkuxgulduwdtb) (*.net *.split)
16:57:32 × pqwy[m] quits (pqwymatrix@gateway/shell/matrix.org/x-qehhputbhwqwxpzb) (*.net *.split)
16:57:32 × chreekat[m] quits (chreekatma@gateway/shell/matrix.org/x-lksmlvmlmjcbzfay) (*.net *.split)
16:57:32 × kadoban quits (kadobanmat@gateway/shell/matrix.org/x-uczqikstpaepzgvu) (*.net *.split)
16:57:32 × Noughtmare[m] quits (naughtmare@gateway/shell/matrix.org/x-qkwfaxopuwdmyobi) (*.net *.split)
16:57:32 × sm[m] quits (simonmicma@gateway/shell/matrix.org/x-bllalwsklewvlzig) (*.net *.split)
16:57:32 × themsay[m] quits (themsaymat@gateway/shell/matrix.org/x-hggegudnqixrsppq) (*.net *.split)
16:57:32 × sureyeaah quits (shauryab98@gateway/shell/matrix.org/x-gmxulmevjvplmwtv) (*.net *.split)
16:57:32 × domenkozar[m] quits (domenkozar@NixOS/user/domenkozar) (*.net *.split)
16:57:32 × simony quits (sid226116@gateway/web/irccloud.com/x-dvavqmtzwqiayfvm) (*.net *.split)
16:57:32 × nlofaro quits (sid258233@gateway/web/irccloud.com/x-nikllggowrrubhvb) (*.net *.split)
16:57:32 × eacameron quits (sid256985@gateway/web/irccloud.com/x-eeucajtixyfsxeoh) (*.net *.split)
16:57:32 × hamishmack quits (sid389057@gateway/web/irccloud.com/x-vwygwtdsmdorpubb) (*.net *.split)
16:57:32 × PoliticsII_____ quits (sid193551@gateway/web/irccloud.com/x-rcppzisukplddkpk) (*.net *.split)
16:57:32 × rizary quits (sid220347@gateway/web/irccloud.com/x-exfwymetlgtfawlu) (*.net *.split)
16:57:32 × jared-w quits (uid405292@gateway/web/irccloud.com/x-etyqmfyslkdvapeg) (*.net *.split)
16:57:32 × alunduil quits (alunduil@gateway/web/irccloud.com/x-ykoppvalzkjzwxam) (*.net *.split)
16:57:32 × Kamuela quits (sid111576@gateway/web/irccloud.com/x-zosmoookvvrpusxu) (*.net *.split)
16:57:32 × rann quits (sid175221@gateway/web/irccloud.com/x-ovtijajwgywpgkxi) (*.net *.split)
16:57:32 × nkly quits (~nkly@2a02:8109:9a80:a74:201:2eff:fe81:c6dd) (*.net *.split)
16:57:32 × PotatoGim quits (sid99505@gateway/web/irccloud.com/x-nntthzpvnqfcnxqs) (*.net *.split)
16:57:32 × kozowu quits (uid44796@gateway/web/irccloud.com/x-wpjivtkfdyaoqwbw) (*.net *.split)
16:57:32 × jbetz quits (sid283648@gateway/web/irccloud.com/x-jvvvgpgxfdgnkdbf) (*.net *.split)
16:57:32 × cstrahan quits (sid36118@gateway/web/irccloud.com/x-ayxmqtejzrwtwzqi) (*.net *.split)
16:57:32 × gluegadget quits (sid22336@gateway/web/irccloud.com/x-ujwmxysajygjgukb) (*.net *.split)
16:57:32 × noexcept quits (~noexcept@2a03:b0c0:3:d0::33:9001) (*.net *.split)
16:57:32 × heredoc_ quits (heredoc@2a01:7e01::f03c:91ff:fec1:de1d) (*.net *.split)
16:57:32 × entropygain quits (levitate@unaffiliated/entropygain) (*.net *.split)
16:57:32 × jamestmartin quits (james@jtmar.me) (*.net *.split)
16:57:32 × dale quits (dale@unaffiliated/dale) (*.net *.split)
16:57:32 × Faye quits (~holo@nikky.moe) (*.net *.split)
16:57:32 × tolt quits (kevin@2600:3c03::f03c:91ff:fe79:6b76) (*.net *.split)
16:57:32 × nikola2 quits (~nikola@2a03:b0c0:2:d0::dc2:c001) (*.net *.split)
16:57:32 × ManiacTwister quits (~Twister@2a01:4f8:171:4de::40:2) (*.net *.split)
16:57:32 × mingc quits (~mingc@2400:8902::f03c:91ff:feb7:8e82) (*.net *.split)
16:57:32 × mursu quits (~ngWalrus@2a03:b0c0:3:d0::5ebd:2001) (*.net *.split)
16:57:34 × babygnu quits (~robert@gateway/tor-sasl/babygnu) (*.net *.split)
16:57:34 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (*.net *.split)
16:57:34 × gxt quits (~gxt@gateway/tor-sasl/gxt) (*.net *.split)
16:57:34 × ech quits (~user@gateway/tor-sasl/ech) (*.net *.split)
16:57:34 × cantstanya quits (~chatting@gateway/tor-sasl/cantstanya) (*.net *.split)
16:57:34 × denisse quits (~spaceCat@gateway/tor-sasl/alephzer0) (*.net *.split)
16:57:34 × jb55 quits (~jb55@gateway/tor-sasl/jb55) (*.net *.split)
16:57:34 × tomboy64 quits (~tomboy64@gateway/tor-sasl/tomboy64) (*.net *.split)
16:57:34 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (*.net *.split)
16:57:34 × Unhammer quits (~Unhammer@gateway/tor-sasl/unhammer) (*.net *.split)
16:57:34 × xelxebar quits (~xelxebar@gateway/tor-sasl/xelxebar) (*.net *.split)
16:57:34 × andreas303 quits (~andreas@gateway/tor-sasl/andreas303) (*.net *.split)
16:57:34 × ChaiTRex quits (~ChaiTRex@gateway/tor-sasl/chaitrex) (*.net *.split)
16:57:35 simony_ is now known as simony
16:57:36 nlofaro_ is now known as nlofaro
16:57:38 jbetz_ is now known as jbetz
16:57:38 alunduil_ is now known as alunduil
16:57:38 jared-w_ is now known as jared-w
16:57:39 rizary_ is now known as rizary
16:57:40 Kamuela_ is now known as Kamuela
16:57:40 kozowu_ is now known as kozowu
16:57:41 eacameron_ is now known as eacameron
16:57:41 hamishmack_ is now known as hamishmack
16:57:42 PotatoGim_ is now known as PotatoGim
16:57:42 gluegadget_ is now known as gluegadget
16:57:42 cstrahan_ is now known as cstrahan
16:57:43 rann_ is now known as rann
16:58:14 <texasmynsted> hmm. all good points
16:58:38 taurux joins (~taurux@net-188-152-79-151.cust.vodafonedsl.it)
17:00:07 × Cthalupa quits (~cthulhu@47.186.47.75) (Ping timeout: 246 seconds)
17:00:36 × stree quits (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net) (Excess Flood)
17:00:41 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
17:00:55 stree joins (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net)
17:00:58 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
17:00:59 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
17:00:59 GyroW joins (~GyroW@unaffiliated/gyrow)
17:01:37 christo joins (~chris@81.96.113.213)
17:01:57 hackage happstack-server-tls 7.2.1.1 - extend happstack-server with https:// support (TLS/SSL) https://hackage.haskell.org/package/happstack-server-tls-7.2.1.1 (JeremyShaw)
17:02:23 <Guest_47> ugh hi I'm a mac user trying to install haskell via ghcup but I keep getting this error message
17:02:26 <Guest_47> dyld: lazy symbol binding failed: Symbol not found: _futimens Referenced from: /Users/georgewang/.ghcup/bin/ghcup (which was built for Mac OS X 10.13) Expected in: /usr/lib/libSystem.B.dylibdyld: Symbol not found: _futimens Referenced from: /Users/georgewang/.ghcup/bin/ghcup (which was built for Mac OS X 10.13) Expected in:
17:02:26 <Guest_47> /usr/lib/libSystem.B.dylibsh: line 35: 25979 Abort trap: 6 ghcup "$@""_eghcup --cache install ghc recommended" failed!
17:02:37 Cthalupa joins (~cthulhu@47.186.47.75)
17:03:02 <maerwald> Guest_47: what's your mac version?
17:03:05 britva joins (~britva@2a02:aa13:7240:2980:b1bf:9c31:7687:bea1)
17:03:16 <Guest_47> 10.12
17:03:31 <maerwald> not supported
17:03:35 <Guest_47> oof
17:03:51 <maerwald> I'm not even sure ghc itself will run there
17:04:02 <maerwald> and cabal
17:04:30 <__monty__> Course they will.
17:04:41 <maerwald> __monty__: did you try?
17:04:45 jkaye[m] joins (jkayematri@gateway/shell/matrix.org/x-cptxfbojabslrjcy)
17:04:47 <__monty__> At least, they work for me built with a darwin version of 10.12.
17:04:58 holo1 is now known as Faye
17:05:03 wrunt[m] joins (wruntmatri@gateway/shell/matrix.org/x-tobpdugmvlykanbe)
17:05:17 <maerwald> __monty__: I'm talking about the official bindists
17:05:36 <merijn> GHC supports 10.7 or later, iirc
17:05:52 <monsterchrom> Now commences going out of one's way to give ghcup an obscure URL to download from. :)
17:05:55 × rotty quits (rotty@ghost.xx.vu) (Ping timeout: 240 seconds)
17:06:02 chreekat[m] joins (chreekatma@gateway/shell/matrix.org/x-tbcdmvvmfcadbfxu)
17:06:07 <merijn> monsterchrom: It's the same URL as the regular macOS one
17:06:34 <merijn> Guest_47: If you're commandline savvy you can just install the bindist yourself from here: https://www.haskell.org/ghc/download_ghc_8_10_2.html#macosx_x86_64
17:06:34 pqwy[m] joins (pqwymatrix@gateway/shell/matrix.org/x-htkzhbylfcdwfzyr)
17:06:47 <merijn> Which (at least claims) to work on anything later than 10.7
17:07:05 <Guest_47> aha
17:07:09 <Guest_47> cheers, I'll try that
17:07:31 <merijn> Guest_47: It's just a matter of "./configure --prefix=whatever/path/you/want && make install"
17:07:54 kadoban joins (kadobanmat@gateway/shell/matrix.org/x-ibzwjrmlfzihcpnq)
17:08:02 themsay[m] joins (themsaymat@gateway/shell/matrix.org/x-bqmyhbzuevubqaxn)
17:08:11 sm[m] joins (simonmicma@gateway/shell/matrix.org/x-tilmtmvnszzwjtcv)
17:08:13 domenkozar[m] joins (domenkozar@NixOS/user/domenkozar)
17:08:21 <merijn> Ah, I'm not sure if cabal-install has prebuilt binaries for that, though, although there should be a bootstrap script to compile it with just GHC installed
17:08:32 mikr[m] joins (mikrdavral@gateway/shell/matrix.org/x-jnlucypbifmucvfy)
17:09:16 <__monty__> (If all else fails, nixpkgs has both GHC and cabal-install cached so you could install them with nix.)
17:09:19 sureyeaah joins (shauryab98@gateway/shell/matrix.org/x-yafeivvctuhylrnm)
17:10:24 <__monty__> Though I guess brew should have both too.
17:12:02 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
17:14:09 × thir quits (~thir@p4febc6a5.dip0.t-ipconnect.de) (Remote host closed the connection)
17:14:56 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
17:16:05 × dcoutts_ quits (~duncan@33.14.75.194.dyn.plus.net) (Ping timeout: 256 seconds)
17:16:16 × texasmynsted quits (~texasmyns@185.240.246.92) ()
17:17:31 conal joins (~conal@64.71.133.70)
17:21:43 × Zetagon quits (~leo@c151-177-52-233.bredband.comhem.se) (Remote host closed the connection)
17:22:22 erolm_a joins (~erolm_a@62.18.213.68)
17:22:29 × vilpan quits (~0@mail.elitnet.lt) (Quit: Leaving.)
17:22:41 rotaerk joins (rotaerk@2600:3c02::f03c:91ff:fe70:4a45)
17:23:35 thir joins (~thir@p4febc6a5.dip0.t-ipconnect.de)
17:23:55 dale joins (dale@unaffiliated/dale)
17:24:03 seanvert joins (~user@177.84.244.242)
17:24:22 dumptruckman joins (dumptruckm@2600:3c02::f03c:91ff:fe6e:2cfd)
17:24:30 bitmapper joins (uid464869@gateway/web/irccloud.com/x-mwjmzzijsisquogc)
17:24:54 × jespada quits (~jespada@90.254.243.98) (Quit: Leaving)
17:26:24 howdoi joins (uid224@gateway/web/irccloud.com/x-giahkircsluozbqw)
17:27:15 × rotaerk quits (rotaerk@2600:3c02::f03c:91ff:fe70:4a45) (Ping timeout: 244 seconds)
17:27:49 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 264 seconds)
17:27:58 × thir quits (~thir@p4febc6a5.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
17:28:11 thir joins (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de)
17:28:22 cohn joins (~noone@unaffiliated/cohn)
17:29:15 xelxebar joins (~xelxebar@gateway/tor-sasl/xelxebar)
17:29:27 <maerwald> yes, install half another OS just to get GHC :p
17:29:49 denisse joins (~spaceCat@gateway/tor-sasl/alephzer0)
17:30:00 <monsterchrom> I was procratinating ghcjs because of that. :)
17:30:30 × raym quits (~ray@115.187.50.31) (Quit: leaving)
17:31:10 cantstanya joins (~chatting@gateway/tor-sasl/cantstanya)
17:31:22 <jtmar> dumb question: is there any way to get this to work? `data U (a :: ()) where { U :: U (() :: ()) }` It fails with "Expected kind ‘()’, but ‘()’ has kind ‘*’"
17:31:24 <maerwald> I bought 16GB more ram and 250GB more disk space, just so I can run a nix expression, which runs some stuff you could do in 50 LOC bash
17:31:35 thir_ joins (~thir@p200300f27f19de001ce90606181a98e7.dip0.t-ipconnect.de)
17:31:39 <maerwald> (but it's reproducible)
17:31:42 andreas303 joins (~andreas@gateway/tor-sasl/andreas303)
17:32:50 <maerwald> when it doesn't OOM out, it works well
17:33:31 × coot quits (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
17:34:24 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 260 seconds)
17:34:27 × seanvert quits (~user@177.84.244.242) (Remote host closed the connection)
17:34:29 × thir quits (~thir@p200300f27f19de00a929a56a6a990c9a.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
17:34:34 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
17:34:34 <yushyin> ah yes, I know that problem, but just with cabal build :P
17:34:51 seanvert joins (~user@177.84.244.242)
17:35:50 Unhammer joins (~Unhammer@gateway/tor-sasl/unhammer)
17:36:27 hackage prolude 0.0.0.4 - ITProTV's custom prelude https://hackage.haskell.org/package/prolude-0.0.0.4 (saramuse)
17:36:55 Tario joins (~Tario@201.192.165.173)
17:37:41 ech joins (~user@gateway/tor-sasl/ech)
17:38:32 hekkaidekapus joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
17:39:10 mirrorbird joins (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1)
17:39:34 gxt joins (~gxt@gateway/tor-sasl/gxt)
17:40:41 <monsterchrom> data U (a :: ()) where { U :: U '() }
17:43:42 × dhil quits (~dhil@openvpn-125-1027.inf.ed.ac.uk) (Ping timeout: 260 seconds)
17:44:35 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
17:46:00 × shatriff quits (~vitaliish@176.52.219.10) (Remote host closed the connection)
17:46:26 falafel joins (~falafel@71-34-132-121.clsp.qwest.net)
17:46:34 shatriff joins (~vitaliish@176.52.219.10)
17:46:59 jb55 joins (~jb55@gateway/tor-sasl/jb55)
17:48:43 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 258 seconds)
17:49:22 apoc joins (~apoc@april-fools/2014/ninth/apoc)
17:49:56 × Guest_47 quits (c04c085e@client-8-94.eduroam.oxuni.org.uk) (Remote host closed the connection)
17:51:42 tomboy64 joins (~tomboy64@gateway/tor-sasl/tomboy64)
17:52:34 jbox joins (~atlas@unaffiliated/jbox)
17:54:22 × ClaudiusMaximus quits (~claude@unaffiliated/claudiusmaximus) (Quit: ->)
17:56:16 <jtmar> oh, yeah, single quotes, right. thanks.
17:58:11 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:58:43 <monsterchrom> I think basically the parser stage doesn't have access to type/kind checking, so when it sees "X :: Y", it cannot infer "since Y is not Type, I see what you mean by X".
18:00:01 × robotadam1 quits (~robotadam@154.13.1.56) ()
18:00:55 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds)
18:02:50 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
18:03:40 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
18:04:40 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
18:05:19 × apoc quits (~apoc@april-fools/2014/ninth/apoc) (Changing host)
18:05:19 apoc joins (~apoc@bridge.mattzq.com)
18:06:05 kritzefitz joins (~kritzefit@212.86.56.80)
18:09:00 <__monty__> maerwald: Color me skeptical. I've run NixOS just fine with 2GB RAM.
18:09:08 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 256 seconds)
18:10:22 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
18:10:49 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
18:11:02 <maerwald> __monty__: yes, I have an expression that needs 6GB of memory (not the stuff it builds/compiles, but the nix-build process itself)
18:11:12 <maerwald> that's some nice memory leak
18:11:44 × geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Ping timeout: 245 seconds)
18:12:09 <__monty__> Then "I bought 16 GB more RAM" is very misleading.
18:12:29 chaosmasttter joins (~chaosmast@p200300c4a7138f0100d84ef38a79333e.dip0.t-ipconnect.de)
18:13:34 emmanuel_erc joins (~user@2604:2000:1382:ce03:e840:9069:29cf:ab15)
18:13:35 rotaerk joins (rotaerk@2600:3c02::f03c:91ff:fe70:4a45)
18:13:56 <maerwald> the other half was for hls
18:14:07 × britva quits (~britva@2a02:aa13:7240:2980:b1bf:9c31:7687:bea1) (Quit: This computer has gone to sleep)
18:14:10 <maerwald> but that's crashing now most of the time, so I have free ram for nix
18:14:23 isovector1 joins (~isovector@172.103.216.166)
18:15:07 <monsterchrom> You should also discuss the "250GB disk space" and how misleading it also is, while you're at it.
18:15:08 × marek quits (~mmahut@209.250.249.245) (Changing host)
18:15:08 marek joins (~mmahut@fedora/pyxel)
18:15:24 <maerwald> yeah, half for nix, half for docker... they're racing
18:15:44 <maerwald> the fun part about docker is the "prune" command never finishes
18:15:58 conal joins (~conal@64.71.133.70)
18:16:27 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
18:16:58 <monsterchrom> Evergrowing space usage and neverending time usage.
18:17:09 <maerwald> and when you try to stop it, you can't, because the daemon is blocked, then you kill everything and rm -rf
18:17:58 britva joins (~britva@2a02:aa13:7240:2980:b1bf:9c31:7687:bea1)
18:17:59 <maerwald> bonus points for docker: it actually takes less time to "rebuild" than nix
18:18:21 <maerwald> it just downloads gigabytes of trash, nix seems to spend more CPU
18:19:55 <maerwald> I have this theory that half of nix IO load is due to `realpath`
18:23:49 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
18:25:01 alp joins (~alp@2a01:e0a:58b:4920:552d:a100:fe9e:8159)
18:25:34 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
18:26:07 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
18:26:57 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Client Quit)
18:28:43 × ech quits (~user@gateway/tor-sasl/ech) (Ping timeout: 240 seconds)
18:30:20 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 256 seconds)
18:32:07 geekosaur joins (82659a09@host154-009.vpn.uakron.edu)
18:32:27 × dmwit quits (~dmwit@pool-108-18-228-100.washdc.fios.verizon.net) (Quit: Lost terminal)
18:33:11 DataComputist joins (~lumeng@static-50-43-26-251.bvtn.or.frontiernet.net)
18:34:02 ech joins (~user@gateway/tor-sasl/ech)
18:34:28 hackage call-alloy 0.2.1.0 - A simple library to call Alloy given a specification https://hackage.haskell.org/package/call-alloy-0.2.1.0 (marcellus)
18:35:52 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
18:36:28 × DavidEichmann quits (~david@43.240.198.146.dyn.plus.net) (Ping timeout: 260 seconds)
18:37:37 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:37:53 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
18:39:07 dmwit joins (~dmwit@pool-108-18-228-100.washdc.fios.verizon.net)
18:39:19 hiroaki joins (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de)
18:39:54 ensyde joins (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05)
18:40:59 × mirrorbird quits (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1) (Quit: Leaving)
18:42:18 knupfer1 joins (~Thunderbi@200116b8245a8800b5cb2522bccc843f.dip.versatel-1u1.de)
18:42:20 × knupfer quits (~Thunderbi@200116b8245a88004cde9423a5581dc5.dip.versatel-1u1.de) (Quit: knupfer)
18:42:20 knupfer1 is now known as knupfer
18:42:46 × bartemius quits (~bartemius@109.252.20.20) (Remote host closed the connection)
18:43:04 coot joins (~coot@37.30.51.94.nat.umts.dynamic.t-mobile.pl)
18:43:40 <monsterchrom> w00t Alloy
18:43:40 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
18:43:53 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
18:44:29 <monsterchrom> Oh God no, "getInstances". Java abstract factory all over again.
18:44:42 × ensyde quits (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05) (Ping timeout: 260 seconds)
18:45:25 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
18:47:28 hackage pandoc 2.11.0.4 - Conversion between markup formats https://hackage.haskell.org/package/pandoc-2.11.0.4 (JohnMacFarlane)
18:47:52 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Remote host closed the connection)
18:48:53 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
18:50:12 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 272 seconds)
18:50:14 conal joins (~conal@64.71.133.70)
18:51:08 texasmynsted joins (~texasmyns@185.240.246.92)
18:51:08 × texasmynsted quits (~texasmyns@185.240.246.92) (Client Quit)
18:51:31 texasmynsted joins (~texasmyns@185.240.246.92)
18:51:51 acidjnk_new3 joins (~acidjnk@p200300d0c7237805143004c29cad477d.dip0.t-ipconnect.de)
18:52:53 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
18:55:35 ChaiTRex joins (~ChaiTRex@gateway/tor-sasl/chaitrex)
18:55:37 NS-DonaldL joins (~NS-Donald@178.238.229.54)
18:57:22 × erolm_a quits (~erolm_a@62.18.213.68) (Ping timeout: 256 seconds)
18:58:01 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
18:58:16 erolm_a joins (~erolm_a@62.18.213.68)
19:03:07 berberman joins (~berberman@unaffiliated/berberman)
19:03:10 × thir_ quits (~thir@p200300f27f19de001ce90606181a98e7.dip0.t-ipconnect.de) (Remote host closed the connection)
19:03:23 × ericsagnes quits (~ericsagne@2405:6580:0:5100:7841:4eea:7b9d:6c40) (Ping timeout: 272 seconds)
19:04:11 trumpsec joins (uid470694@gateway/web/irccloud.com/x-bcsxyysvhhhgwdok)
19:04:12 × berberman_ quits (~berberman@unaffiliated/berberman) (Ping timeout: 260 seconds)
19:05:06 thir joins (~thir@p200300f27f19de001ce90606181a98e7.dip0.t-ipconnect.de)
19:05:57 × mananamenos_ quits (~mananamen@84.122.202.215.dyn.user.ono.com) (Ping timeout: 265 seconds)
19:08:52 × jbox quits (~atlas@unaffiliated/jbox) (Ping timeout: 260 seconds)
19:11:06 × supercoven quits (~Supercove@dsl-hkibng32-54fb54-166.dhcp.inet.fi) (Ping timeout: 244 seconds)
19:11:47 × thir quits (~thir@p200300f27f19de001ce90606181a98e7.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
19:11:57 hackage faktory 1.0.1.3 - Faktory Worker for Haskell https://hackage.haskell.org/package/faktory-1.0.1.3 (PatrickBrisbin)
19:15:41 ericsagnes joins (~ericsagne@2405:6580:0:5100:c0a:b447:b123:a55a)
19:16:01 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
19:16:04 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
19:18:05 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
19:19:51 wroathe_ joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
19:21:09 <DigitalKiwi> __monty__: i have nixos on my rpi 3b
19:21:56 <DigitalKiwi> with 32GB micro sd card
19:22:23 <__monty__> DigitalKiwi: Yeah, it's possible, but it's not exactly an incredible UX. I was just not happy with painting nix as requiring 16GB RAM.
19:23:44 blip joins (58823ddf@gateway/web/cgi-irc/kiwiirc.com/ip.88.130.61.223)
19:24:02 <dminuoso> *memory
19:24:08 <blip> Why can't I define `data A = B | Proxy 'B`
19:24:12 conal joins (~conal@64.71.133.70)
19:24:27 <dminuoso> blip: That, arguably, is better asked in #ghc :p
19:24:38 × wroathe_ quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
19:24:41 <maerwald> __monty__: if one nix-build process requires 6GB and you have firefox open, you need more than 16GB
19:25:00 <davean> blip: Proxy?
19:25:06 <dminuoso> blip: It seems like an engineering problem, allowing for self-recursive data declarations
19:25:11 <maerwald> correction: the nix-build process needed 6GB, ghc then needed another few
19:25:12 × NinjaTrappeur quits (~ninja@unaffiliated/ninjatrappeur) (Ping timeout: 260 seconds)
19:25:15 <blip> Sorry, I mean't: `data A = B | C (Proxy B)`
19:25:25 <dminuoso> blip: Still.
19:25:38 <dminuoso> It doesn't really change, as the initial example is fine too
19:25:40 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
19:25:44 × conal quits (~conal@64.71.133.70) (Client Quit)
19:25:50 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
19:25:53 <davean> blip: Well, at best you'd need DataKinds, and B is a constructor not a type its self
19:25:55 <dminuoso> blip: I'd git blame the ghc source code on the diagnostic.
19:26:05 <dminuoso> All I know is, there's a reason we have a *special* diagnostic for it
19:26:06 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
19:26:09 <blip> davean: I know, it's promoted
19:26:09 <dminuoso> % :set -XDataKinds
19:26:09 <yahb> dminuoso:
19:26:13 <dminuoso> % data Foo = Foo Foo
19:26:14 <yahb> dminuoso:
19:26:18 conal joins (~conal@64.71.133.70)
19:26:18 <dminuoso> % data Foo = Foo 'Foo
19:26:19 <yahb> dminuoso: ; <interactive>:140:16: error:; * Data constructor `Foo' cannot be used here (it is defined and used in the same recursive group); * In the type 'Foo; In the definition of data constructor `Foo'; In the data declaration for `Foo'
19:26:34 <blip> Yeah, that's understandable, the compiler would loop
19:26:36 <davean> I mean you can't generate an infinite type either
19:27:01 <dminuoso> blip: Hold on, in the above, is the B supposed to have a tick or not?
19:27:03 <blip> But if I promote another constructor it's not infinite
19:27:07 <blip> yep
19:27:12 <blip> they are omittable
19:27:14 <dminuoso> blip: But that's the same example.
19:27:25 <dminuoso> Im just aksing because it could be ambgiuous without more context
19:27:35 <dminuoso> Oh, my example was poor
19:27:46 <dminuoso> % data Foo = F 'F
19:27:46 <yahb> dminuoso: ; <interactive>:141:14: error:; * Data constructor `F' cannot be used here (it is defined and used in the same recursive group); * In the type 'F; In the definition of data constructor `F'; In the data declaration for `Foo'
19:28:09 <blip> data Foo = F | X (Proxy F')
19:28:12 <blip> darn
19:28:16 <dminuoso> Note the choice of the word "group"
19:28:21 <blip> data Foo = F | X (Proxy 'F)
19:28:44 <blip> yes, I know that it doesn't work. The question is why.
19:29:10 <dminuoso> blip: Ask Richard Eisenberg? :p
19:29:12 christo joins (~chris@81.96.113.213)
19:29:49 <dminuoso> Almost confident it's an GHC engineering problem
19:30:35 <blip> I'm solving that in a very ugly and unsafe way with Symbols
19:30:38 <dminuoso> blip: See note [Recursion and promoting data constructors]
19:30:50 <dminuoso> in compiler/GHC/Tc/TyCl.hs
19:30:58 dcoutts_ joins (~duncan@33.14.75.194.dyn.plus.net)
19:31:23 aarvar joins (~foewfoiew@50.35.43.33)
19:31:43 <dminuoso> Mmm that note doesnt actually contain something useful
19:32:14 <dminuoso> But perhaps this would loop the kind checker when the data declaration is checked?
19:32:26 N3RGY joins (~N3RGY@65.141.87.122)
19:33:08 × ubert quits (~Thunderbi@p200300ecdf10db38e6b318fffe838f33.dip0.t-ipconnect.de) (Remote host closed the connection)
19:33:12 <blip> I think it would loop if you would reference the same Constructor
19:33:28 <blip> data A = B (Proxy 'B)
19:33:56 <blip> Or mutal recursion: data A = B (Proxy 'C) | C (Proxy 'B)
19:34:23 <dminuoso> blip: again, this is probably better asked in #ghc, the ghc dev mailing list or the issue tracker. :)
19:34:27 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
19:34:31 × N3RGY quits (~N3RGY@65.141.87.122) (Client Quit)
19:34:52 <blip> dminuoso: ok, thanks. I'll ponder it a bit and ask tomorrow in #ghc
19:35:16 <dminuoso> The mailing list is likely a better candidate
19:35:39 conal joins (~conal@64.71.133.70)
19:35:45 <blip> ok
19:37:10 × conal quits (~conal@64.71.133.70) (Client Quit)
19:40:16 × isovector1 quits (~isovector@172.103.216.166) (Quit: Leaving)
19:42:05 × erolm_a quits (~erolm_a@62.18.213.68) (Ping timeout: 240 seconds)
19:43:01 erolm_a joins (~erolm_a@62.18.213.68)
19:45:29 jbox joins (~atlas@unaffiliated/jbox)
19:45:38 × falafel quits (~falafel@71-34-132-121.clsp.qwest.net) (Ping timeout: 258 seconds)
19:46:42 thir joins (~thir@p200300f27f19de001ce90606181a98e7.dip0.t-ipconnect.de)
19:47:04 conal joins (~conal@64.71.133.70)
19:47:50 × erolm_a quits (~erolm_a@62.18.213.68) (Ping timeout: 272 seconds)
19:48:04 erolm_a joins (~erolm_a@62.18.213.68)
19:48:48 × elliott_ quits (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net) (Read error: Connection reset by peer)
19:50:45 elliott_ joins (~elliott_@pool-108-51-141-12.washdc.fios.verizon.net)
19:51:39 <blip> dminuoso: another question, is there a function Foo with following properties: `data A = B; Foo 'B = "B" :: Symbol`
19:52:02 <blip> like ShowType from the type error messages, but which returns a Symbol and not a Text
19:53:25 invaser joins (~Thunderbi@31.148.23.125)
19:53:47 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
19:54:10 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
19:55:43 <dminuoso> blip: There's only the bits for type errors
19:55:46 × notnatebtw quits (~nate@110.138.18.157) (Quit: WeeChat 2.9)
19:56:32 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:56:57 <blip> hm, i'll try to unsafeCoerce, perhaps it's under the hood the same
19:56:59 × Quarl quits (~Quarl@94.191.136.110.mobile.tre.se) (Read error: Connection reset by peer)
19:57:30 <dminuoso> unsafeCoerce on the type level?
19:57:34 <dminuoso> We have that?
19:57:37 × thir quits (~thir@p200300f27f19de001ce90606181a98e7.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
19:58:05 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
19:58:14 <blip> with proxies
19:59:06 <blip> unsafeCoerce :: KnownSymbol a => Proxy ErrorMessage -> Proxy a
19:59:07 <blip> ?
19:59:45 × alp quits (~alp@2a01:e0a:58b:4920:552d:a100:fe9e:8159) (Ping timeout: 272 seconds)
20:01:26 <dminuoso> blip: What's your intention here?
20:02:02 <blip> I want to get the name of a promoted constructor as a Symbol
20:02:44 conal joins (~conal@64.71.133.70)
20:03:00 asheshambasta joins (~user@ptr-e1lysawl9rr13i61o92.18120a2.ip6.access.telenet.be)
20:04:01 × gxt quits (~gxt@gateway/tor-sasl/gxt) (Remote host closed the connection)
20:04:08 <ghoulguy> To get constructors as symbols I'd expect you to have to write some TH to actually generate the code
20:04:45 gxt joins (~gxt@gateway/tor-sasl/gxt)
20:04:48 <ghoulguy> Like a: type family AsSymbol (a :: k) :: Symbol -- and then a bunch of generated instances
20:05:36 <blip> If they aren't promoted it would work via generics
20:06:52 × asheshambasta quits (~user@ptr-e1lysawl9rr13i61o92.18120a2.ip6.access.telenet.be) (Remote host closed the connection)
20:06:57 <ghoulguy> yeah, looks like it
20:06:59 <blip> Yeah, I'd love to avoid TH
20:07:04 notnatebtw joins (~nate@110.138.18.157)
20:08:15 <ghoulguy> >>> data T = C deriving (Generic)
20:08:15 <ghoulguy> >>> :kind! Rep T ()
20:08:15 <ghoulguy> Rep T () :: * = D1 ('MetaData "T" "Ghci3" "interactive" 'False) (C1 ('MetaCons "C" 'PrefixI 'False) U1) ()
20:08:45 <ghoulguy> "T" is a Symbol there
20:08:57 <blip> Yes, and "C" as well.
20:10:47 mirrorbird joins (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1)
20:11:49 irc_user joins (uid423822@gateway/web/irccloud.com/x-alxceqcksustqekt)
20:11:52 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
20:12:48 × texasmynsted quits (~texasmyns@185.240.246.92) (Remote host closed the connection)
20:12:50 bartemius joins (~bartemius@109-252-20-20.nat.spd-mgts.ru)
20:13:27 texasmynsted joins (~texasmyns@185.240.246.92)
20:14:13 × ggole quits (~ggole@2001:8003:8119:7200:553e:28c1:9eff:faae) (Quit: Leaving)
20:14:45 <blip> I'd want to have `data T = A | B` and a function F (a :: T) which gives F 'B = "B"
20:15:03 <blip> and I think that's not possible with generics
20:16:25 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds)
20:16:59 × damianfral quits (uid469644@gateway/web/irccloud.com/x-glchetbxfivfvobd) (Quit: Connection closed for inactivity)
20:18:49 × texasmynsted quits (~texasmyns@185.240.246.92) (Ping timeout: 264 seconds)
20:19:03 <ghoulguy> GHC.Generics operate on types of kind * -> * and *
20:19:08 texasmynsted joins (~texasmyns@185.240.246.92)
20:19:55 texasmyn_ joins (~texasmyns@185.240.246.92)
20:20:02 <blip> yes, that's the problem
20:20:19 <blip> wrapping in Proxy doesn't help
20:20:24 rprije joins (~rprije@194-193-168-77.tpgi.com.au)
20:21:52 <blip> well, sounds like TH is the only way foreward
20:21:55 <blip> or a plugin
20:22:32 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
20:22:52 × Deide quits (~Deide@217.155.19.23) (Ping timeout: 260 seconds)
20:23:19 <ghoulguy> Or just write it out by hand if it's a small number of cases
20:23:28 × texasmynsted quits (~texasmyns@185.240.246.92) (Ping timeout: 246 seconds)
20:23:36 <ghoulguy> if it's not write it out by hand to make sure you like the API before you invest TH time on it :)
20:24:04 <blip> about 100 promoted constructors :)
20:24:24 <ghoulguy> a job for an editor macro then
20:25:13 <blip> yes, the code would be easily generated. I'd just love to avoid inflating my source files
20:25:43 <ghoulguy> I'd expect the impact of a plugin or TH to be higher
20:25:47 <monsterchrom> "F 'B = ..." makes F either a type family or a term-level function Proxy T -> ...
20:25:59 thir joins (~thir@p200300f27f19de001ce90606181a98e7.dip0.t-ipconnect.de)
20:26:08 <ghoulguy> f :: proxy t -> SomeSymbol
20:26:54 <ghoulguy> err: proxy T
20:26:54 <blip> monsterchrom: I'd prefer to avoid term-level
20:27:01 <ghoulguy> probably nicer to do the type family
20:27:09 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
20:27:37 <blip> proxy (x :: T)
20:27:42 <ghoulguy> as a term-level it'd be a class method
20:28:06 <blip> yes, but type level guarantees no runtime overhead
20:28:13 <blip> term-level is always a risk
20:28:35 <ghoulguy> type-level means you won't know if you have a knownsymbol constraint to use
20:28:43 <ghoulguy> which might not matter
20:28:56 <ghoulguy> You can always just assert one
20:29:05 <ghoulguy> KnownSymbol (F thing) =>
20:29:22 <ghoulguy> sounds like a mess either way :)
20:29:42 × invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 260 seconds)
20:29:58 <blip> I think I'll go for the type family
20:30:21 <Uniaika> hello there
20:30:27 <blip> type family Bananas (x :: A) where Bananas B = "B" etc...
20:30:47 <blip> hello
20:31:10 × bliminse quits (~bliminse@host109-158-26-29.range109-158.btcentralplus.com) (Ping timeout: 246 seconds)
20:31:25 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
20:32:07 bliminse joins (~bliminse@host109-158-26-29.range109-158.btcentralplus.com)
20:35:19 × hexagoxel quits (~hexagoxel@2a01:4f8:c0c:e::2) (Ping timeout: 244 seconds)
20:35:21 cpape` joins (~user@static.180.18.203.116.clients.your-server.de)
20:36:01 × bcoppens quits (~bartcopp@kde/coppens) (Ping timeout: 244 seconds)
20:36:03 × jb55 quits (~jb55@gateway/tor-sasl/jb55) (Ping timeout: 240 seconds)
20:36:08 bcoppens joins (~bartcopp@vpn2.bartcoppens.be)
20:36:10 × bcoppens quits (~bartcopp@vpn2.bartcoppens.be) (Changing host)
20:36:10 bcoppens joins (~bartcopp@kde/coppens)
20:36:22 invaser joins (~Thunderbi@31.148.23.125)
20:36:40 × cpape quits (~user@static.180.18.203.116.clients.your-server.de) (Remote host closed the connection)
20:36:42 × erolm_a quits (~erolm_a@62.18.213.68) (Ping timeout: 260 seconds)
20:36:49 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
20:36:58 hexagoxel joins (~hexagoxel@hexagoxel.de)
20:37:00 × geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Remote host closed the connection)
20:37:03 × barrucadu quits (~barrucadu@fsf/member/barrucadu) (Ping timeout: 244 seconds)
20:38:13 barrucadu joins (~barrucadu@static.200.134.203.116.clients.your-server.de)
20:38:14 × barrucadu quits (~barrucadu@static.200.134.203.116.clients.your-server.de) (Changing host)
20:38:14 barrucadu joins (~barrucadu@fsf/member/barrucadu)
20:38:27 hackage stack2cabal 1.0.12 - Convert stack projects to cabal.project + cabal.project.freeze https://hackage.haskell.org/package/stack2cabal-1.0.12 (maerwald)
20:38:30 × knupfer quits (~Thunderbi@200116b8245a8800b5cb2522bccc843f.dip.versatel-1u1.de) (Quit: knupfer)
20:38:38 knupfer joins (~Thunderbi@200116b8245a8800b5cb2522bccc843f.dip.versatel-1u1.de)
20:39:12 × Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Read error: Connection reset by peer)
20:39:14 × efertone quits (~efertone@138.68.79.27) (Quit: Ping timeout (120 seconds))
20:39:38 × gxt quits (~gxt@gateway/tor-sasl/gxt) (Remote host closed the connection)
20:39:39 Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net)
20:39:41 efertone joins (~efertone@138.68.79.27)
20:39:56 erolm_a joins (~erolm_a@62.18.213.68)
20:40:08 jb55 joins (~jb55@gateway/tor-sasl/jb55)
20:40:24 gxt joins (~gxt@gateway/tor-sasl/gxt)
20:40:44 ensyde joins (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05)
20:40:52 sdx32 joins (~sdx23@unaffiliated/sdx23)
20:40:55 KhoN_1 joins (~KhoN@cm-84.208.147.132.getinternet.no)
20:41:20 mozzarel1 joins (~sam@unaffiliated/sam113101)
20:42:00 polux20013 joins (~polux@51.15.169.172)
20:42:21 × blip quits (58823ddf@gateway/web/cgi-irc/kiwiirc.com/ip.88.130.61.223) (Ping timeout: 256 seconds)
20:42:23 atriq joins (~Taneb@runciman.hacksoc.org)
20:42:24 otulp_ joins (~otulp@ti0187q162-5696.bb.online.no)
20:42:28 styledash3 joins (~styledash@157.230.173.136)
20:42:51 jonatan_ joins (~nate@h77-53-70-163.cust.a3fiber.se)
20:43:03 dopplerg- joins (~dop@titan.pathogen.is)
20:43:20 valdyn_ joins (~valdyn@host-88-217-143-53.customer.m-online.net)
20:44:31 monochrm joins (trebla@216.138.220.146)
20:44:33 hongminh1e joins (~dahlia@207.148.91.209)
20:44:59 alp joins (~alp@2a01:e0a:58b:4920:80f:b0e:18f1:7b3)
20:45:12 jhuizy3 joins (~jhuizy@static.241.188.216.95.clients.your-server.de)
20:45:22 NinjaTrappeur joins (~ninja@unaffiliated/ninjatrappeur)
20:45:42 × ensyde quits (~ensyde@2600:1702:2e30:1a40:9c62:9bf3:3478:5d05) (Ping timeout: 260 seconds)
20:46:06 jsynacek_ joins (~jsynacek@ip-185-149-130-112.kmenet.cz)
20:48:42 denucat joins (teqwve@2001:bc8:28d6::2)
20:50:03 × Chi1thangoo quits (~Chi1thang@87.112.60.168) (*.net *.split)
20:50:03 × Cathy quits (~Cathy@unaffiliated/cathy) (*.net *.split)
20:50:03 × Lowl3v3l quits (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de) (*.net *.split)
20:50:03 × carlomagno quits (~cararell@148.87.23.13) (*.net *.split)
20:50:04 × kish quits (~oracle@unaffiliated/oracle) (*.net *.split)
20:50:04 × Varis quits (~Tadas@unaffiliated/varis) (*.net *.split)
20:50:04 × mozzarella quits (~sam@unaffiliated/sam113101) (*.net *.split)
20:50:04 × jsynacek quits (~jsynacek@ip-185-149-130-112.kmenet.cz) (*.net *.split)
20:50:04 × Gerula quits (~Gerula@unaffiliated/gerula) (*.net *.split)
20:50:04 × tirej quits (~tirej@unaffiliated/tirej) (*.net *.split)
20:50:04 × simplegauss quits (~simplegau@45.77.0.246) (*.net *.split)
20:50:04 × phaul quits (~phaul@ruby/staff/phaul) (*.net *.split)
20:50:04 × is_null quits (~jpic@pdpc/supporter/professional/is-null) (*.net *.split)
20:50:04 × dolio quits (~dolio@haskell/developer/dolio) (*.net *.split)
20:50:04 × darjeeli1 quits (~darjeelin@122.245.123.118) (*.net *.split)
20:50:04 × monsterchrom quits (trebla@216.138.220.146) (*.net *.split)
20:50:04 × ps-auxw quits (~arneb@p548c6f52.dip0.t-ipconnect.de) (*.net *.split)
20:50:04 × zaquest quits (~notzaques@5.128.210.178) (*.net *.split)
20:50:04 × Tene quits (~tene@poipu/supporter/slacker/tene) (*.net *.split)
20:50:04 × Neo-- quits (~neo@188-230-154-134.dynamic.t-2.net) (*.net *.split)
20:50:04 × KhoN quits (~KhoN@cm-84.208.147.132.getinternet.no) (*.net *.split)
20:50:04 × hongminhee quits (~dahlia@207.148.91.209) (*.net *.split)
20:50:04 × outerpassage quits (~outerpass@li1196-30.members.linode.com) (*.net *.split)
20:50:04 × sdx23 quits (~sdx23@unaffiliated/sdx23) (*.net *.split)
20:50:04 × centril quits (~centril@213-66-146-92-no250.tbcn.telia.com) (*.net *.split)
20:50:04 × dave_uy quits (~david@108.61.193.26) (*.net *.split)
20:50:04 × joeytwiddle quits (~joeytwidd@162.243.115.31) (*.net *.split)
20:50:04 × hodapp quits (~hodapp@react-ams-119225.antiddos.solutions) (*.net *.split)
20:50:04 × nekomune quits (~nekomune@comfy.moe) (*.net *.split)
20:50:04 × Uniaika quits (~uniaika@163.172.211.189) (*.net *.split)
20:50:04 × relrod quits (~relrod@redhat/ansible.staff.relrod) (*.net *.split)
20:50:04 × clog quits (~nef@bespin.org) (*.net *.split)
20:50:04 × styledash quits (~styledash@157.230.173.136) (*.net *.split)
20:50:04 × amx quits (amx@percival.namespace.at) (*.net *.split)
20:50:04 × dopplergange quits (~dop@titan.pathogen.is) (*.net *.split)
20:50:04 × jhuizy quits (~jhuizy@static.241.188.216.95.clients.your-server.de) (*.net *.split)
20:50:04 × Reiser quits (~0a2a0001@unaffiliated/reisen) (*.net *.split)
20:50:04 × bcmiller quits (~bm3719@66.42.95.185) (*.net *.split)
20:50:04 × motherfsck quits (~motherfsc@unaffiliated/motherfsck) (*.net *.split)
20:50:04 × jathan quits (~jathan@69.61.93.38) (*.net *.split)
20:50:04 × Taneb quits (~Taneb@runciman.hacksoc.org) (*.net *.split)
20:50:04 × jonatan quits (~nate@h77-53-70-163.cust.a3fiber.se) (*.net *.split)
20:50:04 × gambpang_ quits (~gambpang@unaffiliated/gambpang) (*.net *.split)
20:50:04 × otulp quits (~otulp@ti0187q162-5696.bb.online.no) (*.net *.split)
20:50:04 × teqwve quits (teqwve@fgl.space) (*.net *.split)
20:50:04 × verement quits (~anonymous@cpe-76-167-229-223.san.res.rr.com) (*.net *.split)
20:50:04 × clever quits (~clever@NixOS/user/clever) (*.net *.split)
20:50:04 × polux2001 quits (~polux@51.15.169.172) (*.net *.split)
20:50:04 × zincy__ quits (~tom@host86-169-79-54.range86-169.btcentralplus.com) (*.net *.split)
20:50:04 × c-rog quits (~c-rog@traffic.simst.im) (*.net *.split)
20:50:04 × luigy quits (~luigy@104.236.106.229) (*.net *.split)
20:50:04 × yogani quits (sid42623@gateway/web/irccloud.com/x-dpwtitcwhdgbddrx) (*.net *.split)
20:50:04 × valdyn quits (~valdyn@host-88-217-143-53.customer.m-online.net) (*.net *.split)
20:50:04 × mniip quits (~mniip@freenode/staff/mniip) (*.net *.split)
20:50:04 jhuizy3 is now known as jhuizy
20:50:04 styledash3 is now known as styledash
20:50:04 otulp_ is now known as otulp
20:50:06 monochrm is now known as monsterchrom
20:50:08 mozzarel1 is now known as mozzarella
20:50:09 × britva quits (~britva@2a02:aa13:7240:2980:b1bf:9c31:7687:bea1) (Quit: This computer has gone to sleep)
20:50:10 Chi1thangoo joins (~Chi1thang@87.112.60.168)
20:50:10 Cathy joins (~Cathy@unaffiliated/cathy)
20:50:10 carlomagno joins (~cararell@148.87.23.13)
20:50:10 Gerula joins (~Gerula@unaffiliated/gerula)
20:50:10 tirej joins (~tirej@unaffiliated/tirej)
20:50:10 simplegauss joins (~simplegau@45.77.0.246)
20:50:10 phaul joins (~phaul@ruby/staff/phaul)
20:50:10 is_null joins (~jpic@pdpc/supporter/professional/is-null)
20:50:10 dolio joins (~dolio@haskell/developer/dolio)
20:50:10 darjeeli1 joins (~darjeelin@122.245.123.118)
20:50:10 ps-auxw joins (~arneb@p548c6f52.dip0.t-ipconnect.de)
20:50:10 Tene joins (~tene@poipu/supporter/slacker/tene)
20:50:10 outerpassage joins (~outerpass@li1196-30.members.linode.com)
20:50:10 centril joins (~centril@213-66-146-92-no250.tbcn.telia.com)
20:50:10 dave_uy joins (~david@108.61.193.26)
20:50:10 joeytwiddle joins (~joeytwidd@162.243.115.31)
20:50:10 relrod joins (~relrod@redhat/ansible.staff.relrod)
20:50:10 clog joins (~nef@bespin.org)
20:50:10 amx joins (amx@percival.namespace.at)
20:50:10 bcmiller joins (~bm3719@66.42.95.185)
20:50:10 gambpang_ joins (~gambpang@unaffiliated/gambpang)
20:50:10 verement joins (~anonymous@cpe-76-167-229-223.san.res.rr.com)
20:50:10 clever joins (~clever@NixOS/user/clever)
20:50:10 zincy__ joins (~tom@host86-169-79-54.range86-169.btcentralplus.com)
20:50:10 luigy joins (~luigy@104.236.106.229)
20:50:10 yogani joins (sid42623@gateway/web/irccloud.com/x-dpwtitcwhdgbddrx)
20:50:10 mniip joins (~mniip@freenode/staff/mniip)
20:50:55 × relrod quits (~relrod@redhat/ansible.staff.relrod) (Quit: .)
20:51:03 relrod joins (~relrod@origin.elrod.me)
20:51:05 × relrod quits (~relrod@origin.elrod.me) (Changing host)
20:51:05 relrod joins (~relrod@redhat/ansible.staff.relrod)
20:51:06 nekomune joins (~nekomune@comfy.moe)
20:51:19 × Gerula quits (~Gerula@unaffiliated/gerula) (Quit: Leaving)
20:51:32 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
20:51:38 × Sarma quits (~Amras@unaffiliated/amras0000) (Remote host closed the connection)
20:51:42 kish joins (~oracle@unaffiliated/oracle)
20:51:47 theelous3 joins (~theelous3@unaffiliated/theelous3)
20:51:59 Uniaika joins (~uniaika@163.172.211.189)
20:52:32 × mirrorbird quits (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1) (Quit: Leaving)
20:53:01 × ibloom quits (sid350277@gateway/web/irccloud.com/x-ujlqpebtpaqafaor) (Ping timeout: 264 seconds)
20:53:06 × taurux quits (~taurux@net-188-152-79-151.cust.vodafonedsl.it) (Ping timeout: 258 seconds)
20:53:13 pomiiu joins (d46625ca@212.102.37.202)
20:53:35 zaquest joins (~notzaques@5.128.210.178)
20:53:50 <pomiiu> Hi everyone. Just found out about ghcup. Is this the new standard way to install GHC?
20:53:54 ibloom joins (sid350277@gateway/web/irccloud.com/x-dcwoytmmqgioqvdo)
20:53:58 taurux joins (~taurux@net-188-152-78-51.cust.vodafonedsl.it)
20:54:01 <monsterchrom> Yes.
20:54:04 <ghoulguy> pomiiu: yup
20:54:13 Amras joins (~Amras@unaffiliated/amras0000)
20:55:02 Lowl3v3l joins (~Lowl3v3l@dslb-002-203-195-108.002.203.pools.vodafone-ip.de)
20:55:17 <pomiiu> There are lots of packages like indent that I think assume stack. Like hindent, which suggests "stack install hindent" to install. Is it just "cabal install hindent" then?
20:55:41 Neo-- joins (~neo@188-230-154-134.dynamic.t-2.net)
20:55:46 <maerwald> prefer: cabal install --install-method=copy --overwrite-policy=always
20:55:54 motherfsck joins (~motherfsc@unaffiliated/motherfsck)
20:56:05 <maerwald> which is closer to what stack does too
20:56:06 <monsterchrom> You should just try. Add "--dry-run" for a preview of what would be involved.
20:56:07 × jbox quits (~atlas@unaffiliated/jbox) (Ping timeout: 272 seconds)
20:56:18 <pomiiu> Ah okay. Thanks.
20:56:57 hodapp joins (~hodapp@react-ams-119225.antiddos.solutions)
20:56:59 jathan joins (~jathan@69.61.93.38)
20:57:26 Gerula joins (~Gerula@unaffiliated/gerula)
20:59:42 × thir quits (~thir@p200300f27f19de001ce90606181a98e7.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
21:00:02 × NS-DonaldL quits (~NS-Donald@178.238.229.54) ()
21:00:16 britva joins (~britva@2a02:aa13:7240:2980:15e:53b7:85f5:d29f)
21:00:40 × hyperisco quits (~hyperisco@d192-186-117-226.static.comm.cgocable.net) (Ping timeout: 272 seconds)
21:02:01 Varis joins (~Tadas@unaffiliated/varis)
21:02:19 × p8m_ quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 246 seconds)
21:03:37 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
21:04:00 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
21:04:03 × tomboy64 quits (~tomboy64@gateway/tor-sasl/tomboy64) (Ping timeout: 240 seconds)
21:05:01 × invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 256 seconds)
21:06:33 × zephyz quits (~zephyz@2a02:c7f:b0ff:7000:817:8e89:a6:b588) (Quit: zephyz)
21:07:44 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
21:08:02 × cpape` quits (~user@static.180.18.203.116.clients.your-server.de) (Quit: ERC (IRC client for Emacs 26.3))
21:08:21 cpape joins (~user@static.180.18.203.116.clients.your-server.de)
21:08:35 conal joins (~conal@64.71.133.70)
21:08:54 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds)
21:09:03 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
21:09:37 × knupfer quits (~Thunderbi@200116b8245a8800b5cb2522bccc843f.dip.versatel-1u1.de) (Ping timeout: 260 seconds)
21:12:22 hekkaidekapus_ joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
21:14:23 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds)
21:15:45 × notnatebtw quits (~nate@110.138.18.157) (Quit: WeeChat 2.9)
21:19:18 son0p joins (~son0p@181.136.122.143)
21:22:02 ericbsd1 joins (~ericbsd@178.162.204.214)
21:22:07 tomboy64 joins (~tomboy64@gateway/tor-sasl/tomboy64)
21:22:12 c-rog joins (~c-rog@traffic.simst.im)
21:23:16 reppertj joins (~textual@pool-96-246-209-59.nycmny.fios.verizon.net)
21:23:32 × reppertj quits (~textual@pool-96-246-209-59.nycmny.fios.verizon.net) (Client Quit)
21:23:58 × hololeap quits (~hololeap@unaffiliated/hololeap) (Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/)
21:24:03 Reiser joins (~0a2a0001@static.210.242.216.95.clients.your-server.de)
21:26:30 pthariensflame joins (~pthariens@2600:6c52:7280:100:44c5:8dd3:6a93:3dc7)
21:26:46 × pthariensflame quits (~pthariens@2600:6c52:7280:100:44c5:8dd3:6a93:3dc7) (Client Quit)
21:27:16 × AlterEgo__ quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Quit: Leaving)
21:28:25 × brisbin quits (~patrick@pool-173-49-158-4.phlapa.fios.verizon.net) (Ping timeout: 264 seconds)
21:29:24 <hc> is there a haskell implementation of youtube-dl? ;-)
21:30:13 <texasmyn_> pomiiu: have you tried brittany?
21:31:09 texasmyn_ is now known as texasmynsted[m]_
21:31:12 <texasmynsted[m]_> oops
21:31:18 texasmynsted[m]_ is now known as texasmynsted
21:32:04 <texasmynsted> I have tried them all, https://github.com/lspitzner/brittany works very well and worth a look. I do not have enough scroll-back to know about your hindent needs.
21:32:09 notnatebtw joins (~nate@110.138.18.157)
21:33:13 <yushyin> fourmolu/ormolu
21:34:01 <texasmynsted> I guess I have _not_ tried them all. I have not tried ormolu, I think
21:34:22 <texasmynsted> I mean fourmolu
21:36:08 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
21:36:57 <texasmynsted> darn now I have to try another one. heh
21:40:00 × jtobin quits (~jtobin@li1555-212.members.linode.com) (Quit: Lost terminal)
21:40:20 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 260 seconds)
21:40:41 <sm[m]> gotta collect them all!
21:44:37 <pomiiu> Has anyone tried to build hindent recently? I get src/HIndent/Types.hs:78:27: error: • Could not deduce (MonadFail m) arising from a use of ‘fail’
21:50:38 crestfallen joins (~john@128.32.176.159)
21:50:47 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 260 seconds)
21:52:38 × erolm_a quits (~erolm_a@62.18.213.68) (Ping timeout: 256 seconds)
21:52:39 Tario joins (~Tario@200.119.186.205)
21:52:43 <maerwald> that shouldn't be hard to fixe
21:52:46 <crestfallen> hi please help me understand "creates the effect of both the original layers", here: IO(IO ()) 'join' can be thought of as combining the effects described by two m-layers, one nested inside the other. combining them into a single m-layer, creates the effects of both the original layers.
21:53:17 <maerwald> :t join
21:53:18 <lambdabot> Monad m => m (m a) -> m a
21:53:19 erolm_a joins (~erolm_a@62.18.213.68)
21:53:23 <maerwald> @src join
21:53:23 <lambdabot> join x = x >>= id
21:53:34 <maerwald> :t (>>=)
21:53:35 <lambdabot> Monad m => m a -> (a -> m b) -> m b
21:53:38 <maerwald> @src (>>=)
21:53:38 <lambdabot> Source not found. Do you think like you type?
21:53:44 <maerwald> something like that
21:53:47 <maerwald> follow the rabbit
21:55:05 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
21:57:19 <crestfallen> maerwald, thanks, but what does it mean to create the effects of both the original layers. IO() should not be read into, I'm assuming..
21:57:49 <maerwald> I honestly ind that sentence confusing. Seems like someone tried to over-explain stuff
21:57:49 <dminuoso> crestfallen: I frequently like to adopt the notion that `IO T` is a list of assembly instructions, that, if they were executed produced something of type `T`. So `IO (IO T)` is some assembly instructions, that, if they were executed, would give you another list of assembly instructions
21:57:57 <dminuoso> And if those were executed, you'd get something of value T
21:58:20 <dminuoso> Now, `join` is saying "give me a list of assembly instruction that does the first, and then the second"
21:58:33 <dminuoso> Thereby "combining" these two
21:59:01 <maerwald> If language is confusing you, throw it away and look at code
21:59:41 <maerwald> > join (Just (Just 2))
21:59:46 <lambdabot> Just 2
22:00:23 <maerwald> > join Nothing
22:00:26 <lambdabot> Nothing
22:00:36 <maerwald> > join (Just Nothing)
22:00:38 <lambdabot> Nothing
22:00:46 <dminuoso> crestfallen: In terms of power, join and (>>=) are completely equivalent. The only reason `join` is not a method of Monad (and an alternative to implement instead of (>>=)) is actually some very interesting interaction with other extensions.
22:01:14 × DataComputist quits (~lumeng@static-50-43-26-251.bvtn.or.frontiernet.net) (Remote host closed the connection)
22:01:35 <crestfallen> so Nothing in that last one has no effect, since its extracted from Just Nothing ?
22:03:29 <crestfallen> I ask, because of this note: An effect is the structural information of a Functor, the part that's not parametric. Does that mean a Nothing is effectual ? -- yes
22:03:37 × fendor quits (~fendor@178.115.130.82.wireless.dyn.drei.com) (Remote host closed the connection)
22:03:48 × ulidtko quits (~ulidtko@193.111.48.79) (Remote host closed the connection)
22:03:55 <maerwald> what are you reading?
22:03:55 fendor joins (~fendor@178.115.130.82.wireless.dyn.drei.com)
22:04:03 ulidtko joins (~ulidtko@193.111.48.79)
22:04:05 <crestfallen> so I'm confused about Nothing as non/effectual
22:04:09 <dminuoso> an "effect" is really just a handwavy and very non-precise idea that comes from already existing intuition
22:04:32 <dminuoso> "effect" is not something useful for understanding what all of this means, it's rather the *result* of having gained some understanding, and making some analogies
22:04:37 <maerwald> This sounds like lecture notes :p
22:05:34 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
22:05:35 <crestfallen> one moment pls
22:05:39 × britva quits (~britva@2a02:aa13:7240:2980:15e:53b7:85f5:d29f) (Quit: This computer has gone to sleep)
22:06:12 <maerwald> crestfallen: you can think of `Maybe Int` as having an effect flow (Nothing and Just) and a value flow (Int)
22:06:13 × Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection)
22:06:18 conal joins (~conal@64.71.133.70)
22:06:21 × conal quits (~conal@64.71.133.70) (Client Quit)
22:06:43 × LKoen quits (~LKoen@lstlambert-657-1-123-43.w92-154.abo.wanadoo.fr) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
22:07:03 conal joins (~conal@64.71.133.70)
22:07:08 × conal quits (~conal@64.71.133.70) (Client Quit)
22:07:18 <maerwald> `join` just combines the effects... it's actually pretty boring
22:07:19 <maerwald> :p
22:07:21 <crestfallen> so if we extract Nothing from Just -- join Just Nothing -- what is the result, Nothing, there? just out of curiosity
22:07:49 conal joins (~conal@64.71.133.70)
22:07:50 <maerwald> crestfallen: https://hackage.haskell.org/package/base-4.14.0.0/docs/src/GHC.Base.html#line-1005
22:07:55 × conal quits (~conal@64.71.133.70) (Client Quit)
22:08:35 <maerwald> maybe would be nicer to show the pattern matching for join
22:08:36 conal joins (~conal@64.71.133.70)
22:08:37 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
22:08:43 × conal quits (~conal@64.71.133.70) (Client Quit)
22:08:47 × ech quits (~user@gateway/tor-sasl/ech) (Remote host closed the connection)
22:09:03 ech joins (~user@gateway/tor-sasl/ech)
22:09:09 <crestfallen> not sure I follow, if Just and Nothing are both in the effect flow..
22:09:50 <crestfallen> because my notes have Nothing as effectual, but in this case Nothing is in the parameter
22:11:11 <maerwald> crestfallen: https://paste.tomsmeding.com/lJ9EjYAJ
22:11:37 <maerwald> pretty boring right?
22:11:37 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 264 seconds)
22:11:43 × fendor quits (~fendor@178.115.130.82.wireless.dyn.drei.com) (Remote host closed the connection)
22:12:18 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
22:13:05 <crestfallen> its boring but then I read about effects .. once again .. and have to be content without understanding it.
22:13:42 <maerwald> that's just jargon... what matters is the typeclass
22:13:43 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
22:13:56 <maerwald> and that it applies for many more stuff
22:14:23 × Franciman quits (~francesco@host-82-54-10-114.retail.telecomitalia.it) (Quit: Leaving)
22:14:28 <maerwald> > join [[1,2,3]]
22:14:31 <lambdabot> [1,2,3]
22:15:17 <crestfallen> join == concat
22:16:41 <maerwald> > join (+) 8
22:16:44 <lambdabot> 16
22:16:45 <maerwald> xD
22:16:52 <maerwald> ignore that one
22:17:05 <crestfallen> ??
22:17:10 <crestfallen> > join (+) 8
22:17:12 <lambdabot> 16
22:18:26 <maerwald> > join (\x -> \y -> x + y) 8
22:18:28 <lambdabot> 16
22:18:36 <maerwald> so functions are monads too
22:19:15 <crestfallen> god I have notes that seem to be conflicting.. maddening
22:20:26 <maerwald> here's the definition https://hackage.haskell.org/package/base-4.14.0.0/docs/src/GHC.Base.html#line-979
22:21:27 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
22:21:45 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
22:21:45 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
22:21:45 GyroW joins (~GyroW@unaffiliated/gyrow)
22:22:20 <maerwald> Also see this in-depth answer: https://stackoverflow.com/a/5316690
22:22:39 <crestfallen> maerwald, I have this: An 'm a' is an effect; Nothing is not an 'm a'
22:22:55 <maerwald> > Nothing :: Maybe Int
22:22:57 <lambdabot> Nothing
22:23:00 <maerwald> why not?
22:23:52 <crestfallen> > Nothing :: Maybe Bool
22:23:54 <lambdabot> Nothing
22:24:12 <crestfallen> interesting.
22:24:19 × chaosmasttter quits (~chaosmast@p200300c4a7138f0100d84ef38a79333e.dip0.t-ipconnect.de) (Quit: WeeChat 2.9)
22:24:22 <maerwald> stop thinking about effects
22:24:43 <crestfallen> ok that's interesting thanks , I'll read that SO. appreciate it!
22:24:50 <maerwald> it's just a class: Monad
22:25:24 <crestfallen> maerwald, let me show you one thing...
22:26:11 × mimi_vx quits (mimi1vx@nat/suse/x-mbferublenzmdqyh) (Quit: ZNC 1.7.5 - https://znc.in)
22:29:43 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection)
22:29:59 DataComputist joins (~lumeng@static-50-43-26-251.bvtn.or.frontiernet.net)
22:32:32 <crestfallen> "effect" acquired a second meaning broader than that of "side-effect" -- namely, whatever is introduced through a type constructor which is a Monad instance.
22:33:00 <maerwald> I'm getting headache reading that :D
22:33:07 <crestfallen> :)
22:33:10 <crestfallen> sorry
22:33:20 <maerwald> Is it lecture notes?
22:33:50 <crestfallen> it's SO but it's referring to a Wadler paper
22:34:15 <maerwald> He's maybe a bit too smart to explain it simply :p
22:34:38 <maerwald> "side-effect" is an even more confusing term too
22:34:44 <maerwald> even haskellers get confused about it
22:34:55 × alp quits (~alp@2a01:e0a:58b:4920:80f:b0e:18f1:7b3) (Ping timeout: 272 seconds)
22:35:16 <crestfallen> monads encapsulate effects.. so it's something I'll just ignore for a while I gues
22:35:17 <crestfallen> s
22:35:28 hackage capnp 0.7.0.0 - Cap'n Proto for Haskell https://hackage.haskell.org/package/capnp-0.7.0.0 (isd)
22:35:39 <maerwald> did you remeber the Monad instance of Maybe?
22:35:50 <maerwald> It starts like this: "instance Monad Maybe where"
22:36:06 <maerwald> not "instance Monad Maybe a where"
22:36:11 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 272 seconds)
22:36:31 <maerwald> and in the definition we know nothing about the value
22:36:32 constR joins (uid58205@gateway/web/irccloud.com/x-kmhanpixnsfkszux)
22:36:36 <maerwald> and just do stuff with constructors
22:37:00 <maerwald> if you call constructors effects, then yeah, sure
22:37:35 <crestfallen> maerwald, thanks I'll sort it out
22:37:58 hackage gopro-plus 0.4.1.1 - GoPro Plus Client API. https://hackage.haskell.org/package/gopro-plus-0.4.1.1 (dustin)
22:39:50 thir joins (~thir@p200300f27f19de00fc7cfd1eb4863dd1.dip0.t-ipconnect.de)
22:40:08 <maerwald> also, we call `Maybe` a type constructor and Just and Nothing a data constructor
22:40:27 <maerwald> often they have the same name, don't mix them up
22:41:18 <maerwald> data Foo = Foo Int
22:44:05 MarcelineVQ joins (~anja@198.254.202.72)
22:44:34 × MarcelineVQ quits (~anja@198.254.202.72) (Remote host closed the connection)
22:44:42 × thir quits (~thir@p200300f27f19de00fc7cfd1eb4863dd1.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
22:44:57 <crestfallen> maerwald, thanks. yeah this was very helpful, what you said at the end: "instance Monad Maybe where" not "instance Monad Maybe a where." And in the definition we know nothing about the value, and just do stuff with constructors. If you call constructors effects, then yeah, sure
22:45:20 MarcelineVQ joins (~anja@198.254.202.72)
22:46:27 × jedws quits (~jedws@101.184.148.229) (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:46:29 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
22:46:57 × pomiiu quits (d46625ca@212.102.37.202) (Remote host closed the connection)
22:51:05 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
22:55:08 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving)
22:56:24 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 260 seconds)
22:56:28 mbomba joins (~mbomba@142.114.9.241)
23:00:32 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
23:01:10 Katarushisu4 joins (~Katarushi@cpc149712-finc20-2-0-cust535.4-2.cable.virginm.net)
23:01:12 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
23:01:36 × Katarushisu quits (~Katarushi@cpc149712-finc20-2-0-cust535.4-2.cable.virginm.net) (Ping timeout: 256 seconds)
23:01:37 Katarushisu4 is now known as Katarushisu
23:07:47 × erolm_a quits (~erolm_a@62.18.213.68) (Ping timeout: 260 seconds)
23:08:37 × acidjnk_new3 quits (~acidjnk@p200300d0c7237805143004c29cad477d.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
23:08:58 erolm_a joins (~erolm_a@62.18.213.68)
23:09:36 mnrmnaughmnrgle joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
23:09:48 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
23:14:16 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 246 seconds)
23:15:13 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
23:15:48 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
23:16:05 × ericsagnes quits (~ericsagne@2405:6580:0:5100:c0a:b447:b123:a55a) (Ping timeout: 272 seconds)
23:16:37 christo joins (~chris@81.96.113.213)
23:18:17 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 260 seconds)
23:20:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
23:25:12 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Quit: WeeChat 2.9)
23:26:07 JohnnyL joins (~john@unaffiliated/johnnyl)
23:26:27 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
23:26:28 <JohnnyL> Are there any plans to make haskell for the browser or perhaps a 'mini' version of haskell?
23:26:57 <monsterchrom> Does GHCJS count?
23:27:40 × erolm_a quits (~erolm_a@62.18.213.68) (Ping timeout: 260 seconds)
23:27:42 <monsterchrom> And the multitude of functional/typed languages like purescript.
23:28:14 erolm_a joins (~erolm_a@62.18.213.68)
23:28:34 ericsagnes joins (~ericsagne@2405:6580:0:5100:c30c:e109:135c:6061)
23:28:47 <JohnnyL> ok
23:28:49 <JohnnyL> i'll have to check.
23:29:31 × son0p quits (~son0p@181.136.122.143) (Quit: Lost terminal)
23:30:13 × jlamothe quits (~jlamothe@dev.jlamothe.net) (Ping timeout: 260 seconds)
23:30:47 <JohnnyL> Is ghcjs stable? Or is it same shady buggy product?
23:31:02 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
23:31:05 <monsterchrom> stable
23:32:12 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
23:36:44 <simon> apparently much better than before
23:36:44 <JohnnyL> ok thanks.
23:36:52 <yushyin> 'same' as what?
23:37:33 × m0rphism quits (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 258 seconds)
23:37:33 <JohnnyL> yushyin: s/same/some
23:37:43 <yushyin> ah
23:38:16 <simon> JohnnyL, haskell for the browser: https://github.com/tweag/asterius#asterius-a-haskell-to-webassembly-compiler
23:39:49 <simon> yushyin, I thought he referred to GHCJS being hard to install and based on GHC 7.x for a long time.
23:40:29 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 265 seconds)
23:41:51 <simon> JohnnyL, apparently less mature than GHCJS, but definitely promising. :)
23:46:25 × erolm_a quits (~erolm_a@62.18.213.68) (Ping timeout: 240 seconds)
23:46:25 × is_null quits (~jpic@pdpc/supporter/professional/is-null) (Ping timeout: 240 seconds)
23:47:21 erolm_a joins (~erolm_a@62.18.213.68)
23:49:12 × taurux quits (~taurux@net-188-152-78-51.cust.vodafonedsl.it) (Ping timeout: 260 seconds)
23:49:13 tito_04 joins (~taurux@net-188-152-78-51.cust.dsl.teletu.it)
23:49:47 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:ac30:bbd7:59b:66ab) (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:50:20 <JohnnyL> I cannot for the sake of me see the entire industry *not* going pure.
23:51:21 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:53:14 × Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.)
23:54:07 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
23:54:11 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Client Quit)
23:54:27 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
23:54:39 thir joins (~thir@p200300f27f19de002cecd531afedd8d6.dip0.t-ipconnect.de)
23:54:57 × crestfallen quits (~john@128.32.176.159) (Remote host closed the connection)
23:56:55 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)

All times are in UTC on 2020-10-23.