Logs on 2024-01-04 (liberachat/#haskell)
| 00:01:15 | → | causal joins (~eric@50.35.85.7) |
| 00:02:31 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 00:03:35 | × | oo_miguel quits (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) (Ping timeout: 264 seconds) |
| 00:10:34 | × | Tuplanolla quits (~Tuplanoll@91-159-69-171.elisa-laajakaista.fi) (Quit: Leaving.) |
| 00:14:25 | × | rvalue quits (~rvalue@user/rvalue) (Ping timeout: 276 seconds) |
| 00:19:44 | → | rvalue joins (~rvalue@user/rvalue) |
| 00:41:51 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 00:58:51 | <iphy> | is there an equivalent to (fmap . fmap . fmap) for "for_"? |
| 01:00:01 | <iphy> | I want to do a 3 levels deep for_, so right now I have `for_ xxxs $ \xxs -> for_ xxs $ \xs -> for_ xs -> do something` |
| 01:03:24 | <EvanR> | energizer, "record of functions" or just type classes accomplishes "uniform interface which could be implemented many ways"... which is more like intersection types than union |
| 01:04:50 | <energizer> | EvanR: i mean if i want to make a union of T and R then i can define a class UnionTR and implement it for T and R |
| 01:05:54 | <EvanR> | then some function says I expect to be handed a thing that satisfies UnionTR, i.e. T AND R, i.e. intersection not union |
| 01:06:03 | <EvanR> | whereas union is like T OR R |
| 01:06:42 | <EvanR> | at least that's how interfaces are described in oop nowadays |
| 01:06:51 | <monochrom> | Rewrite "for_ xs f" to "traverse_ f xs", which is actually the OG (OK the real OG is mapM_). for_ was an afterthought syntax sugar. |
| 01:08:13 | <monochrom> | Then you will find that you're looking at "traverse_ (traverse_ (traverse_ something)) xxxs" so it is amenable to using (.) |
| 01:10:06 | <monochrom> | This is why mapM_ is the OG. It is directly analogous to fmap, complete with analogous argument order. forM_ and for_ are imposters. |
| 01:11:17 | <[Leary]> | You could also use `for_ . Compose . Compose`. |
| 01:11:33 | <monochrom> | :( |
| 01:12:14 | <iphy> | right, thanks :) |
| 01:12:45 | <EvanR> | we need a programming language where argument order doesn't matter |
| 01:13:00 | <EvanR> | to finally solve it |
| 01:13:31 | <EvanR> | and yes it's HTML |
| 01:14:26 | <energizer> | PL with only commutative functions probably exists |
| 01:18:09 | <monochrom> | Here are some reasons people have trouble clarifying between "and" and "or". |
| 01:19:55 | <monochrom> | If I have a set S = {x,y}, then both of the following hold: "if z in S, then z=x or z=y" which harps on "or"; "x in S and y in S" which harps on "and". |
| 01:20:54 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 252 seconds) |
| 01:21:17 | <monochrom> | Every function of type "Either X Y -> Z" (which harps on "or") can be factored into a pair (X -> Z, Y -> Z) (which harps on "and"). |
| 01:21:38 | → | ryanbooker joins (uid4340@id-4340.hampstead.irccloud.com) |
| 01:21:55 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 01:22:11 | × | peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 264 seconds) |
| 01:23:37 | <EvanR> | when math descriptions of situations annoyingly decide to explain "x has some property P" as "x is in set P"... is that and or or xD |
| 01:23:44 | → | bilegeek joins (~bilegeek@2600:1008:b025:e194:70b1:1c7f:4763:8e19) |
| 01:28:27 | <monochrom> | Oh yeah that is one more reason, which goes way back to what Aristotle realized. |
| 01:30:43 | <monochrom> | He realized that there are two dual ways to characterize a notion. For example if you want to characterize cars. You could enumerate all instances of cars. Or you could enumerate all traits of cars. (The OO people end up doing the latter, s/trait/method/ ) |
| 01:31:24 | <monochrom> | Naturally, union of trait sets becomes intersection of instance sets. |
| 01:34:31 | × | waldo quits (~waldo@user/waldo) (Ping timeout: 245 seconds) |
| 01:40:56 | → | waldo joins (~waldo@user/waldo) |
| 01:54:24 | × | chiselfuse quits (~chiselfus@user/chiselfuse) (Remote host closed the connection) |
| 01:54:27 | × | waldo quits (~waldo@user/waldo) (Ping timeout: 252 seconds) |
| 01:55:05 | → | chiselfuse joins (~chiselfus@user/chiselfuse) |
| 02:17:16 | × | misterfish quits (~misterfis@87.215.131.102) (Ping timeout: 276 seconds) |
| 02:20:08 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 02:21:08 | × | mmhat quits (~mmh@p200300f1c7323c8fee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 4.1.2) |
| 02:22:57 | → | Fijxu joins (~Fijxu@user/fijxu) |
| 02:34:12 | → | araujo joins (~araujo@216.73.163.89) |
| 02:35:09 | → | Lycurgus joins (~georg@user/Lycurgus) |
| 02:36:36 | × | araujo quits (~araujo@216.73.163.89) (Remote host closed the connection) |
| 02:44:02 | → | rosco joins (~rosco@14.191.221.79) |
| 02:54:53 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 268 seconds) |
| 03:03:56 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:601e:9ee0:fdb3:233) (Remote host closed the connection) |
| 03:04:00 | → | meritamen joins (~meritamen@user/meritamen) |
| 03:04:12 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:601e:9ee0:fdb3:233) |
| 03:05:27 | × | hgolden quits (~hgolden@2603-8000-9d00-3ed1-dd4f-298a-9c49-a0ed.res6.spectrum.com) (Remote host closed the connection) |
| 03:07:12 | → | hgolden joins (~hgolden@2603-8000-9d00-3ed1-dd4f-298a-9c49-a0ed.res6.spectrum.com) |
| 03:14:37 | → | cheater_ joins (~Username@user/cheater) |
| 03:15:19 | × | azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds) |
| 03:15:30 | × | qhong quits (~qhong@rescomp-21-400677.stanford.edu) (Quit: ZNC 1.8.2 - https://znc.in) |
| 03:15:34 | × | thaumavorio quits (~thaumavor@thaumavor.io) (Ping timeout: 245 seconds) |
| 03:15:41 | → | qhong joins (~qhong@rescomp-21-400677.stanford.edu) |
| 03:16:11 | → | thaumavorio joins (~thaumavor@thaumavor.io) |
| 03:16:36 | × | cheater quits (~Username@user/cheater) (Ping timeout: 245 seconds) |
| 03:16:43 | cheater_ | is now known as cheater |
| 03:20:02 | → | infonaut joins (~onkrac@153.33.68.192) |
| 03:21:35 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
| 03:21:36 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 03:26:49 | × | hgolden quits (~hgolden@2603-8000-9d00-3ed1-dd4f-298a-9c49-a0ed.res6.spectrum.com) (Remote host closed the connection) |
| 03:27:53 | × | thegeekinside quits (~thegeekin@189.217.90.224) (Read error: Connection reset by peer) |
| 03:28:28 | → | hgolden joins (~hgolden@2603-8000-9d00-3ed1-dd4f-298a-9c49-a0ed.res6.spectrum.com) |
| 03:37:04 | × | johnw quits (~johnw@69.62.242.138) (Quit: ZNC - http://znc.in) |
| 03:43:13 | × | chomwitt quits (~chomwitt@2a02:587:7a0f:8900:1ac0:4dff:fedb:a3f1) (Ping timeout: 246 seconds) |
| 03:44:45 | × | edr quits (~edr@user/edr) (Quit: Leaving) |
| 03:49:23 | → | Batzy joins (~quassel@user/batzy) |
| 03:49:37 | × | td_ quits (~td@i5387092C.versanet.de) (Ping timeout: 256 seconds) |
| 03:51:23 | → | td_ joins (~td@i53870921.versanet.de) |
| 03:52:47 | × | Batzy_ quits (~quassel@user/batzy) (Ping timeout: 264 seconds) |
| 03:54:20 | × | waleee quits (~waleee@h-176-10-144-38.na.cust.bahnhof.se) (Ping timeout: 252 seconds) |
| 04:08:31 | × | jargon quits (~jargon@211.sub-174-205-225.myvzw.com) (Remote host closed the connection) |
| 04:09:02 | → | not_reserved joins (~not_reser@185.153.177.188) |
| 04:12:18 | → | aforemny joins (~aforemny@2001:9e8:6ce0:4e00:87b9:bb6b:a794:dec0) |
| 04:12:31 | → | trev joins (~trev@user/trev) |
| 04:12:58 | × | aforemny_ quits (~aforemny@2001:9e8:6cf9:b200:7b19:e80d:f43d:af69) (Ping timeout: 246 seconds) |
| 04:16:04 | → | sroso joins (~sroso@user/SrOso) |
| 04:29:06 | × | td_ quits (~td@i53870921.versanet.de) (Ping timeout: 245 seconds) |
| 04:31:09 | → | td_ joins (~td@i53870939.versanet.de) |
| 04:32:44 | × | haritz quits (~hrtz@user/haritz) (Read error: Connection reset by peer) |
| 04:36:15 | → | jle` joins (~jle`@2603-8001-3b02-84d4-2c72-319f-381f-b43a.res6.spectrum.com) |
| 04:42:27 | → | haritz joins (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220) |
| 04:42:29 | × | haritz quits (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220) (Changing host) |
| 04:42:29 | → | haritz joins (~hrtz@user/haritz) |
| 04:46:16 | → | peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com) |
| 05:01:06 | × | meritamen quits (~meritamen@user/meritamen) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 05:02:36 | → | _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
| 05:08:11 | → | michalz joins (~michalz@185.246.207.221) |
| 05:15:34 | → | Core6310 joins (~rosco@2001:ee0:50e4:59f0:79d2:43e7:f8f9:f6b) |
| 05:19:54 | × | ryanbooker quits (uid4340@id-4340.hampstead.irccloud.com) (Quit: Connection closed for inactivity) |
| 05:26:31 | × | michalz quits (~michalz@185.246.207.221) (Quit: ZNC 1.8.2 - https://znc.in) |
| 05:29:24 | → | michalz joins (~michalz@185.246.207.203) |
| 05:49:49 | × | tertek quits (~tertek@user/tertek) (Quit: %quit%) |
| 05:51:08 | × | rosco quits (~rosco@14.191.221.79) (Quit: Lost terminal) |
| 06:11:52 | × | infonaut quits (~onkrac@153.33.68.192) (Quit: WeeChat 3.5) |
| 06:11:56 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 06:12:08 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 06:16:00 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 06:18:23 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 06:19:17 | → | euleritian joins (~euleritia@dynamic-046-114-205-107.46.114.pool.telefonica.de) |
| 06:24:35 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Remote host closed the connection) |
| 06:24:42 | → | harveypwca joins (~harveypwc@2601:246:c280:7940:585a:99af:3e4c:209b) |
| 06:24:59 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 06:29:20 | × | Axman6 quits (~Axman6@user/axman6) (Remote host closed the connection) |
| 06:30:36 | × | _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht) |
| 06:44:51 | → | igemnace joins (~ian@user/igemnace) |
| 06:46:03 | → | rosco joins (~rosco@14.191.221.79) |
| 06:50:17 | → | meritamen joins (~meritamen@user/meritamen) |
| 06:52:13 | <dminuoso_> | energizer: To continue on your union topic. Well you can of course just use Dynamic, and write some `unsafeFromDynamic :: Dynamic -> a`, and enjoy the bottoms in your program. |
| 06:52:43 | <dminuoso_> | Err that is missing a `Typeable a` constraint of course. |
| 06:53:12 | <energizer> | dminuoso_: it's not the dynamism that i'm looking for, it just so happens that dynamic languages tend to have support for those types |
| 06:53:50 | <dminuoso_> | I dont understand. |
| 06:53:59 | <dminuoso_> | How is `Dynamic` not exactly that all-encompassing union type? |
| 07:01:50 | × | euleritian quits (~euleritia@dynamic-046-114-205-107.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 07:02:08 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 07:02:20 | → | johnw joins (~johnw@69.62.242.138) |
| 07:04:05 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 07:04:45 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 07:04:45 | × | rosco quits (~rosco@14.191.221.79) (Quit: Lost terminal) |
| 07:06:23 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 256 seconds) |
| 07:20:32 | → | derpyxdhs joins (~Thunderbi@user/derpyxdhs) |
| 07:33:56 | × | helslwed quits (~helslwed@176.254.244.83) (Ping timeout: 268 seconds) |
| 07:36:48 | <monochrom> | I don't think there is consensus whether it is "dynamic languages can support union types" or "dynamic languages support no types at all, instead can support dynamic ad hoc dispatch". |
| 07:38:56 | → | xff0x joins (~xff0x@133-175-35-58.east.fdn.vectant.ne.jp) |
| 07:41:27 | <monochrom> | But it's an unproductive rabbit hole because every time you take a solution method optimized for one language and try to replicate it in another language it is always going to be an unproductive rabbit hole. |
| 07:42:44 | <monochrom> | Like I said, the converse also holds, it is just as silly to replicate Haskell's favourite algebraic types and pattern matching in Python and refuse to use OO there. |
| 07:43:13 | × | xff0x quits (~xff0x@133-175-35-58.east.fdn.vectant.ne.jp) (Ping timeout: 256 seconds) |
| 07:45:08 | → | DaRiX joins (~DaRiX@176.254.244.83) |
| 07:46:51 | <dminuoso_> | monochrom: Sure. I think trying to pin any single description to python is helpful, they are ultimately just mind models. |
| 07:46:54 | → | oo_miguel joins (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) |
| 07:47:27 | <dminuoso_> | Especially if a language doesnt outright start with denotational semantics |
| 07:52:05 | × | derpyxdhs quits (~Thunderbi@user/derpyxdhs) (Quit: derpyxdhs) |
| 07:53:44 | → | misterfish joins (~misterfis@84.53.85.146) |
| 08:01:27 | × | Square quits (~Square@user/square) (Ping timeout: 260 seconds) |
| 08:03:28 | × | meritamen quits (~meritamen@user/meritamen) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 08:03:41 | <haskellbridge> | 14<maerwald> Does it matter? |
| 08:05:17 | → | Sgeo_ joins (~Sgeo@user/sgeo) |
| 08:06:11 | → | meritamen joins (~meritamen@user/meritamen) |
| 08:06:17 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 08:08:59 | <[exa]> | energizer: "tend to have support for these types" I tend to read as "for whatever reason they didn't decide to kill the wide spectrum of subtle atrocities right at the source" |
| 08:09:20 | → | oneeyedalien joins (~oneeyedal@user/oneeyedalien) |
| 08:11:20 | <energizer> | anyway i found a paper about union and intersection types, i figure it'll be more productive to read that than doing another round on irc https://arxiv.org/pdf/1206.5386.pdf |
| 08:11:57 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 08:19:55 | → | acidjnk joins (~acidjnk@p200300d6e72b9355985adb6a1a34faf9.dip0.t-ipconnect.de) |
| 08:23:17 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 252 seconds) |
| 08:23:52 | → | euleritian joins (~euleritia@dynamic-046-114-205-107.46.114.pool.telefonica.de) |
| 08:23:53 | → | cfricke joins (~cfricke@user/cfricke) |
| 08:27:23 | → | CiaoSen joins (~Jura@2a05:5800:2e7:ab00:ca4b:d6ff:fec1:99da) |
| 08:29:11 | × | euleritian quits (~euleritia@dynamic-046-114-205-107.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 08:29:30 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 08:34:35 | <[exa]> | energizer: btw most people who actually want "union-ish" types are pretty happy with existentials, e.g. the polymorphic lists etc. The main challenge is to represent the information that is really available at compile-time reasonably; and with unions that's quite hard |
| 08:36:06 | <[exa]> | cf. julia -- they try to do unions everywhere and it kinda works BUT suddenly there are packages with loading time around 10 seconds where the whole time is wasted by the runtime on literally searching through the type unions and trying to figure out what is what |
| 08:39:58 | → | fendor joins (~fendor@2a02:8388:1605:d100:267b:1353:13d7:4f0c) |
| 08:45:08 | × | oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Quit: Leaving) |
| 08:47:29 | → | dnh^ joins (~cd@c-98-242-74-66.hsd1.ga.comcast.net) |
| 08:54:10 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 09:01:10 | × | harveypwca quits (~harveypwc@2601:246:c280:7940:585a:99af:3e4c:209b) (Quit: Leaving) |
| 09:16:11 | × | peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 264 seconds) |
| 09:22:14 | → | notzmv joins (~zmv@user/notzmv) |
| 09:23:15 | ← | qrpnxz parts (~qrpnxz@fsf/member/qrpnxz) (Leaving) |
| 09:25:16 | × | bilegeek quits (~bilegeek@2600:1008:b025:e194:70b1:1c7f:4763:8e19) (Quit: Leaving) |
| 09:31:33 | → | coot joins (~coot@89-69-206-216.dynamic.chello.pl) |
| 09:34:19 | × | shriekingnoise quits (~shrieking@186.137.175.87) (Ping timeout: 260 seconds) |
| 09:43:24 | → | rosco joins (~rosco@14.191.221.79) |
| 09:44:17 | × | Core6310 quits (~rosco@2001:ee0:50e4:59f0:79d2:43e7:f8f9:f6b) (Read error: Connection reset by peer) |
| 09:46:50 | × | meritamen quits (~meritamen@user/meritamen) (Quit: I gotta go.) |
| 09:48:07 | → | arahael_ joins (~arahael@43.245.36.156) |
| 09:49:50 | ← | arahael_ parts (~arahael@43.245.36.156) () |
| 09:55:19 | → | Axman6 joins (~Axman6@user/axman6) |
| 09:55:27 | × | rosco quits (~rosco@14.191.221.79) (Ping timeout: 268 seconds) |
| 09:56:34 | → | ubert joins (~Thunderbi@p200300ecdf0b88389ad273f029169514.dip0.t-ipconnect.de) |
| 10:12:16 | × | tzh quits (~tzh@c-71-193-181-0.hsd1.or.comcast.net) (Quit: zzz) |
| 10:15:01 | × | CrunchyFlakes quits (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) (Ping timeout: 276 seconds) |
| 10:15:11 | → | CrunchyFlakes_ joins (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) |
| 10:17:54 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:601e:9ee0:fdb3:233) (Remote host closed the connection) |
| 10:21:23 | → | chele joins (~chele@user/chele) |
| 10:22:57 | → | wheatengineer joins (~frederik@p200300f63f25e0005b9afabf97e17f62.dip0.t-ipconnect.de) |
| 10:25:06 | × | CrunchyFlakes_ quits (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 10:26:49 | × | rvalue quits (~rvalue@user/rvalue) (Read error: Connection reset by peer) |
| 10:27:09 | → | rvalue joins (~rvalue@user/rvalue) |
| 10:27:39 | → | CrunchyFlakes joins (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) |
| 10:30:32 | × | not_reserved quits (~not_reser@185.153.177.188) (Ping timeout: 250 seconds) |
| 10:32:29 | × | CrunchyFlakes quits (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 10:34:34 | → | xff0x joins (~xff0x@133-175-35-58.east.fdn.vectant.ne.jp) |
| 10:34:52 | → | [_] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 10:35:02 | → | CrunchyFlakes joins (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) |
| 10:35:36 | → | rosco joins (~rosco@113.161.70.10) |
| 10:38:16 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 245 seconds) |
| 10:39:09 | × | Sgeo_ quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 10:41:05 | × | zeka_ quits (~zeka@2600:1700:2121:180:fdba:3a5f:e04d:7620) (Ping timeout: 268 seconds) |
| 10:42:07 | → | zeka__ joins (~zeka@2600:1700:2121:180:a844:f195:8819:66c0) |
| 10:53:23 | × | rosco quits (~rosco@113.161.70.10) (Ping timeout: 264 seconds) |
| 10:54:15 | × | igemnace quits (~ian@user/igemnace) (Read error: Connection reset by peer) |
| 10:56:08 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:31eb:5352:b0f6:c0ae) |
| 11:01:28 | × | econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity) |
| 11:02:00 | × | CiaoSen quits (~Jura@2a05:5800:2e7:ab00:ca4b:d6ff:fec1:99da) (Ping timeout: 256 seconds) |
| 11:09:41 | → | target_i joins (~target_i@217.175.14.39) |
| 11:10:39 | → | igemnace joins (~ian@user/igemnace) |
| 11:11:45 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 256 seconds) |
| 11:14:29 | → | rosco joins (~rosco@14.161.22.228) |
| 11:18:51 | × | rosco quits (~rosco@14.161.22.228) (Ping timeout: 260 seconds) |
| 11:19:53 | → | rosco joins (~rosco@113.161.70.10) |
| 11:21:23 | → | gmg joins (~user@user/gehmehgeh) |
| 11:23:38 | → | sawilagar joins (~sawilagar@user/sawilagar) |
| 11:26:47 | × | rosco quits (~rosco@113.161.70.10) (Ping timeout: 260 seconds) |
| 11:28:34 | × | misterfish quits (~misterfis@84.53.85.146) (Ping timeout: 268 seconds) |
| 11:33:03 | × | vglfr quits (~vglfr@234.red-88-6-215.staticip.rima-tde.net) (Ping timeout: 252 seconds) |
| 11:35:59 | → | vglfr joins (~vglfr@169.pool85-48-184.static.orange.es) |
| 11:39:08 | × | sroso quits (~sroso@user/SrOso) (Remote host closed the connection) |
| 11:39:21 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 11:46:35 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.1.2) |
| 11:53:36 | × | foul_owl quits (~kerry@185.216.231.182) (Read error: Connection reset by peer) |
| 11:56:00 | → | __monty__ joins (~toonn@user/toonn) |
| 11:56:08 | → | billchenchina joins (~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe) |
| 11:56:22 | × | vglfr quits (~vglfr@169.pool85-48-184.static.orange.es) (Read error: Connection reset by peer) |
| 11:56:44 | → | vglfr joins (~vglfr@234.red-88-6-215.staticip.rima-tde.net) |
| 11:58:13 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
| 12:01:03 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 12:01:03 | × | samhh quits (7569f027cf@2604:bf00:561:2000::e4) (Read error: Connection reset by peer) |
| 12:01:04 | × | sm2n quits (ae95cb1267@user/sm2n) (Read error: Connection reset by peer) |
| 12:01:04 | × | cpli quits (77fc530071@2604:bf00:561:2000::252) (Write error: Connection reset by peer) |
| 12:01:04 | × | rselim quits (ce261f06ff@user/milesrout) (Read error: Connection reset by peer) |
| 12:01:04 | × | b0o quits (0e4a0bf4c9@2604:bf00:561:2000::1bf) (Read error: Connection reset by peer) |
| 12:01:04 | × | kuruczgy quits (55b66dd3ae@2604:bf00:561:2000::127f) (Read error: Connection reset by peer) |
| 12:01:04 | × | aniketd quits (32aa4844cd@2604:bf00:561:2000::dcb) (Write error: Connection reset by peer) |
| 12:01:04 | × | jmcantrell quits (644f1bed9a@user/jmcantrell) (Read error: Connection reset by peer) |
| 12:01:04 | × | probie quits (cc0b34050a@user/probie) (Write error: Connection reset by peer) |
| 12:01:04 | × | raghavgururajan_ quits (799d132964@2604:bf00:561:2000::242) (Write error: Connection reset by peer) |
| 12:01:05 | × | brettgilio quits (a35ba67324@2604:bf00:561:2000::260) (Write error: Connection reset by peer) |
| 12:01:05 | × | arcadewise quits (52968ed80d@2604:bf00:561:2000::3df) (Read error: Connection reset by peer) |
| 12:01:05 | × | evanrelf quits (3addc196af@2604:bf00:561:2000::f0) (Read error: Connection reset by peer) |
| 12:01:05 | × | ggb quits (a62ffbaf4f@2604:bf00:561:2000::3ac) (Read error: Connection reset by peer) |
| 12:01:05 | × | shreyasminocha quits (51fdc93eda@user/shreyasminocha) (Write error: Connection reset by peer) |
| 12:01:05 | × | jleightcap quits (7bc4014b62@user/jleightcap) (Write error: Connection reset by peer) |
| 12:01:05 | × | chaitlatte0 quits (ea29c0bb16@2604:bf00:561:2000::1124) (Write error: Connection reset by peer) |
| 12:01:05 | × | Ankhers quits (e99e97ef8e@2604:bf00:561:2000::2a2) (Read error: Connection reset by peer) |
| 12:01:05 | × | fluffyballoon quits (45ce440a48@2604:bf00:561:2000::e2) (Write error: Connection reset by peer) |
| 12:01:05 | × | sus quits (1b7af6299f@user/zeromomentum) (Write error: Connection reset by peer) |
| 12:01:05 | × | ymherklotz quits (cb2c9cfbdd@2604:bf00:561:2000::29a) (Write error: Connection reset by peer) |
| 12:01:05 | × | bsima1 quits (9d7e39c8ad@2604:bf00:561:2000::dd) (Write error: Connection reset by peer) |
| 12:01:05 | × | filwisher quits (2e6936c793@2604:bf00:561:2000::170) (Write error: Connection reset by peer) |
| 12:01:05 | × | jakzale quits (6291399afa@user/jakzale) (Write error: Connection reset by peer) |
| 12:01:06 | × | eso quits (a0662dfd5e@2604:bf00:561:2000::1266) (Read error: Connection reset by peer) |
| 12:01:06 | × | lukec quits (9dfd4d094e@2604:bf00:561:2000::10e) (Read error: Connection reset by peer) |
| 12:01:06 | × | fvr quits (ef3e56ca8b@2604:bf00:561:2000::3c4) (Read error: Connection reset by peer) |
| 12:01:06 | × | jkoshy quits (99b9359beb@user/jkoshy) (Read error: Connection reset by peer) |
| 12:01:06 | × | theesm quits (2cbdf4b38a@2604:bf00:561:2000::11c8) (Write error: Connection reset by peer) |
| 12:01:06 | × | samhh_ quits (7569f027cf@2604:bf00:561:2000::e4) (Write error: Connection reset by peer) |
| 12:01:06 | × | JoelMcCracken quits (5ea8252fbb@2604:bf00:561:2000::10e3) (Write error: Connection reset by peer) |
| 12:01:06 | × | henrytill quits (e0180937c3@2604:bf00:561:2000::e8c) (Write error: Connection reset by peer) |
| 12:01:06 | × | akspecs_ quits (00cc8321af@2604:bf00:561:2000::11a) (Write error: Connection reset by peer) |
| 12:01:06 | × | whereiseveryone quits (206ba86c98@2604:bf00:561:2000::2e4) (Write error: Connection reset by peer) |
| 12:01:06 | × | fgaz_ quits (1ff9197ed6@2604:bf00:561:2000::11ea) (Write error: Connection reset by peer) |
| 12:01:06 | × | fn_lumi quits (3d621153a5@2604:bf00:561:2000::df7) (Read error: Connection reset by peer) |
| 12:01:16 | → | samhh joins (7569f027cf@2604:bf00:561:2000::e4) |
| 12:01:21 | → | lukec joins (9dfd4d094e@2604:bf00:561:2000::10e) |
| 12:01:21 | → | filwisher joins (2e6936c793@2604:bf00:561:2000::170) |
| 12:01:22 | → | bsima1 joins (9d7e39c8ad@2604:bf00:561:2000::dd) |
| 12:01:24 | → | jmcantrell joins (644f1bed9a@user/jmcantrell) |
| 12:01:24 | → | jkoshy joins (99b9359beb@user/jkoshy) |
| 12:01:25 | → | evanrelf joins (3addc196af@2604:bf00:561:2000::f0) |
| 12:01:25 | → | raghavgururajan joins (ea769b8000@user/raghavgururajan) |
| 12:01:25 | → | fgaz_ joins (1ff9197ed6@2604:bf00:561:2000::11ea) |
| 12:01:26 | → | ggb joins (a62ffbaf4f@2604:bf00:561:2000::3ac) |
| 12:01:27 | → | sus joins (1b7af6299f@user/zeromomentum) |
| 12:01:27 | → | arcadewise joins (52968ed80d@2604:bf00:561:2000::3df) |
| 12:01:28 | → | ymherklotz joins (cb2c9cfbdd@2604:bf00:561:2000::29a) |
| 12:01:28 | → | brettgilio joins (a35ba67324@2604:bf00:561:2000::260) |
| 12:01:30 | → | b0o joins (0e4a0bf4c9@2604:bf00:561:2000::1bf) |
| 12:01:33 | → | theesm joins (2cbdf4b38a@2604:bf00:561:2000::11c8) |
| 12:01:35 | → | whereiseveryone joins (206ba86c98@2604:bf00:561:2000::2e4) |
| 12:01:36 | → | jakzale joins (6291399afa@user/jakzale) |
| 12:01:40 | → | fluffyballoon joins (45ce440a48@2604:bf00:561:2000::e2) |
| 12:01:41 | → | shreyasminocha joins (51fdc93eda@user/shreyasminocha) |
| 12:01:42 | → | fn_lumi joins (3d621153a5@2604:bf00:561:2000::df7) |
| 12:01:42 | → | henrytill joins (e0180937c3@2604:bf00:561:2000::e8c) |
| 12:01:43 | → | probie joins (cc0b34050a@user/probie) |
| 12:01:44 | → | Ankhers joins (e99e97ef8e@2604:bf00:561:2000::2a2) |
| 12:01:44 | → | aniketd joins (32aa4844cd@2604:bf00:561:2000::dcb) |
| 12:01:46 | → | kuruczgy joins (55b66dd3ae@2604:bf00:561:2000::127f) |
| 12:01:47 | → | eso joins (a0662dfd5e@2604:bf00:561:2000::1266) |
| 12:01:49 | → | fvr joins (ef3e56ca8b@2604:bf00:561:2000::3c4) |
| 12:01:49 | → | JoelMcCracken joins (5ea8252fbb@2604:bf00:561:2000::10e3) |
| 12:01:52 | → | sm2n joins (ae95cb1267@user/sm2n) |
| 12:01:52 | → | chaitlatte0 joins (ea29c0bb16@user/chaitlatte0) |
| 12:01:53 | → | akspecs joins (00cc8321af@sourcehut/user/akspecs) |
| 12:01:54 | → | jleightcap joins (7bc4014b62@user/jleightcap) |
| 12:01:55 | → | cpli joins (77fc530071@2604:bf00:561:2000::252) |
| 12:01:56 | → | rselim joins (ce261f06ff@user/milesrout) |
| 12:02:47 | → | samhh_ joins (7569f027cf@2604:bf00:561:2000::e4) |
| 12:06:58 | → | meritamen joins (~meritamen@user/meritamen) |
| 12:10:30 | → | foul_owl joins (~kerry@185.216.231.181) |
| 12:18:27 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 12:18:27 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
| 12:18:27 | finn_elija | is now known as FinnElija |
| 12:22:01 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 245 seconds) |
| 12:22:25 | × | Igloo quits (~ian@matrix.chaos.earth.li) (Ping timeout: 276 seconds) |
| 12:23:14 | → | euleritian joins (~euleritia@82.113.98.54) |
| 12:24:35 | → | cfricke joins (~cfricke@user/cfricke) |
| 12:26:01 | × | euleritian quits (~euleritia@82.113.98.54) (Read error: Connection reset by peer) |
| 12:26:20 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 12:26:40 | × | CrunchyFlakes quits (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 12:29:14 | → | CrunchyFlakes joins (~CrunchyFl@ip92348280.dynamic.kabel-deutschland.de) |
| 12:34:27 | × | __monty__ quits (~toonn@user/toonn) (Ping timeout: 260 seconds) |
| 12:38:53 | × | remedan quits (~remedan@ip-94-112-0-18.bb.vodafone.cz) (Ping timeout: 240 seconds) |
| 12:42:33 | → | barak joins (~barak@2a0d:6fc2:68c1:2600:ba5c:5700:a75b:5c2d) |
| 12:43:25 | → | azimut_ joins (~azimut@gateway/tor-sasl/azimut) |
| 12:44:07 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds) |
| 12:53:20 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.1.2) |
| 12:53:21 | → | edr joins (~edr@user/edr) |
| 12:55:50 | × | AlexZenon quits (~alzenon@178.34.161.237) (Ping timeout: 268 seconds) |
| 12:58:51 | × | tv quits (~tv@user/tv) (Ping timeout: 252 seconds) |
| 12:59:33 | → | AlexZenon joins (~alzenon@178.34.161.237) |
| 12:59:33 | × | AlexZenon quits (~alzenon@178.34.161.237) (Client Quit) |
| 12:59:47 | × | AlexNoo quits (~AlexNoo@178.34.161.237) (Quit: Leaving) |
| 13:04:21 | × | mikess quits (~sam@user/mikess) (Ping timeout: 252 seconds) |
| 13:12:20 | → | tv joins (~tv@user/tv) |
| 13:13:00 | → | AlexNoo joins (~AlexNoo@178.34.161.237) |
| 13:14:04 | × | AlexNoo quits (~AlexNoo@178.34.161.237) (Client Quit) |
| 13:15:42 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 13:16:31 | → | AlexZenon joins (~alzenon@178.34.161.237) |
| 13:17:23 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 264 seconds) |
| 13:20:20 | → | AlexNoo joins (~AlexNoo@178.34.161.237) |
| 13:20:43 | → | notzmv joins (~zmv@user/notzmv) |
| 13:21:57 | → | not_reserved joins (~not_reser@86.48.15.29) |
| 13:29:06 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Read error: Connection reset by peer) |
| 13:29:15 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 13:32:52 | → | waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
| 13:37:09 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds) |
| 13:41:42 | → | euleritian joins (~euleritia@82.113.98.54) |
| 13:46:52 | <haskellbridge> | 04<Artem> Julia is slow to load not because of union types. It's the whole compilation strategy and LLVM working at load time. The union stuff is pretty efficient. You can read a paper of my colleague Ben Ching on it https://benchung.github.io/papers/jlalgo.pdf |
| 13:51:34 | <[exa]> | Artem: that's another issue. I spent a lot of time benchmarking this one, don't worry |
| 13:54:22 | × | tv quits (~tv@user/tv) (Ping timeout: 260 seconds) |
| 13:55:27 | <[exa]> | as in, try doing `import JuMP` and profile; 85% time spent is in `intersect_all` of runtime just walking&backtracking through the types |
| 13:56:30 | <[exa]> | the LLVM precompilation used to be a lot worse (esp. in 2019 from the paper date) but they did a pretty good job on precompiling and caching reasonably, so it's by far not as painful nowadays |
| 13:57:01 | → | nschoe joins (nschoe@gateway/vpn/protonvpn/nschoe) |
| 14:02:13 | → | Igloo joins (~ian@matrix.chaos.earth.li) |
| 14:03:21 | × | euleritian quits (~euleritia@82.113.98.54) (Ping timeout: 268 seconds) |
| 14:03:57 | → | remedan joins (~remedan@ip-94-112-0-18.bb.vodafone.cz) |
| 14:04:22 | → | qrpnxz joins (~qrpnxz@fsf/member/qrpnxz) |
| 14:04:32 | ← | qrpnxz parts (~qrpnxz@fsf/member/qrpnxz) () |
| 14:07:32 | → | euleritian joins (~euleritia@dynamic-046-114-156-223.46.114.pool.telefonica.de) |
| 14:07:38 | → | tv joins (~tv@user/tv) |
| 14:10:39 | × | meritamen quits (~meritamen@user/meritamen) (Quit: I gotta go.) |
| 14:16:35 | → | thegeekinside joins (~thegeekin@189.217.90.224) |
| 14:18:31 | → | __monty__ joins (~toonn@user/toonn) |
| 14:19:10 | × | remedan quits (~remedan@ip-94-112-0-18.bb.vodafone.cz) (Ping timeout: 260 seconds) |
| 14:22:20 | → | shriekingnoise joins (~shrieking@186.137.175.87) |
| 14:25:58 | → | remedan joins (~remedan@ip-94-112-0-18.bb.vodafone.cz) |
| 14:27:21 | → | meritamen joins (~meritamen@user/meritamen) |
| 14:28:49 | × | meritamen quits (~meritamen@user/meritamen) (Remote host closed the connection) |
| 14:47:26 | × | nschoe quits (nschoe@gateway/vpn/protonvpn/nschoe) (Ping timeout: 245 seconds) |
| 14:48:11 | → | nschoe joins (nschoe@gateway/vpn/protonvpn/nschoe) |
| 14:48:12 | × | nschoe quits (nschoe@gateway/vpn/protonvpn/nschoe) (Client Quit) |
| 14:49:28 | × | Ekho quits (~Ekho@user/ekho) (Quit: CORE ERROR, SYSTEM HALTED.) |
| 15:03:02 | × | tv quits (~tv@user/tv) (Ping timeout: 260 seconds) |
| 15:07:53 | → | Ekho joins (~Ekho@user/ekho) |
| 15:09:21 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 15:15:12 | → | CiaoSen joins (~Jura@2a05:5800:2e7:ab00:ca4b:d6ff:fec1:99da) |
| 15:15:50 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 15:16:14 | → | tv joins (~tv@user/tv) |
| 15:17:01 | → | califax joins (~califax@user/califx) |
| 15:18:31 | × | azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds) |
| 15:21:53 | ← | famubu parts (~julinuser@user/famubu) () |
| 15:22:06 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 15:26:13 | → | gmg joins (~user@user/gehmehgeh) |
| 15:31:03 | × | gmg quits (~user@user/gehmehgeh) (Remote host closed the connection) |
| 15:32:01 | → | gmg joins (~user@user/gehmehgeh) |
| 15:38:24 | × | chele quits (~chele@user/chele) (Remote host closed the connection) |
| 15:43:52 | × | xff0x quits (~xff0x@133-175-35-58.east.fdn.vectant.ne.jp) (Ping timeout: 268 seconds) |
| 15:51:29 | → | Square joins (~Square@user/square) |
| 16:03:20 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 16:03:59 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 16:06:54 | → | gmg joins (~user@user/gehmehgeh) |
| 16:07:36 | → | Fansly joins (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
| 16:08:10 | <Fansly> | Hello |
| 16:08:57 | <[exa]> | hi there |
| 16:17:12 | <haskellbridge> | 15<Jade> hi |
| 16:20:41 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 16:30:05 | → | gues26563 joins (~username@2001:4090:a246:827d:570d:ddf3:8977:a395) |
| 16:36:11 | × | not_reserved quits (~not_reser@86.48.15.29) (Quit: Client closed) |
| 16:36:57 | → | Dmitry44 joins (~Dmitry@92.100.122.12) |
| 16:38:07 | <Dmitry44> | Hello! I try to install ghcid and have the same problems on all my machines (under vanilla Arch). |
| 16:38:12 | <Dmitry44> | [1 of 6] Compiling Language.Haskell.Ghcid.Escape ( src/Language/Haskell/Ghcid/Escape.hs, dist/build/Language/Haskell/Ghcid/Escape.o, dist/build/Language/Haskell/Ghcid/Escape.dyn_o ) |
| 16:38:13 | <Dmitry44> | src/Language/Haskell/Ghcid/Escape.hs:12:1: error: |
| 16:38:13 | <Dmitry44> | Could not find module ‘Data.Either.Extra’ |
| 16:38:14 | <Dmitry44> | There are files missing in the ‘extra-1.7.14’ package, |
| 16:38:14 | <Dmitry44> | try running 'ghc-pkg check'. |
| 16:38:15 | <Dmitry44> | Use -v (or `:set -v` in ghci) to see a list of the files searched for. |
| 16:38:15 | <Dmitry44> | | |
| 16:38:16 | <Dmitry44> | 12 | import Data.Either.Extra |
| 16:38:16 | <Dmitry44> | | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 16:38:17 | <Dmitry44> | src/Language/Haskell/Ghcid/Escape.hs:13:1: error: |
| 16:38:17 | <Dmitry44> | Could not find module ‘Data.List.Extra’ |
| 16:38:18 | <Dmitry44> | There are files missing in the ‘extra-1.7.14’ package, |
| 16:38:18 | <Dmitry44> | try running 'ghc-pkg check'. |
| 16:38:19 | <Dmitry44> | Use -v (or `:set -v` in ghci) to see a list of the files searched for. |
| 16:38:19 | <Dmitry44> | | |
| 16:38:20 | <Dmitry44> | 13 | import Data.List.Extra |
| 16:38:20 | <Dmitry44> | | ^^^^^^^^^^^^^^^^^^^^^^ |
| 16:38:21 | <Dmitry44> | src/Language/Haskell/Ghcid/Escape.hs:15:1: error: |
| 16:39:00 | <exarkun> | Dmitry44: irc is not great at large blobs of text. Try pasting on something like gist.github.com or codepad.org and then pasting a link here. |
| 16:39:13 | <EvanR> | @where paste |
| 16:39:13 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 16:39:29 | <Dmitry44> | i tried both ways: install Cabal / GHC with ghcup, or to install it from Arch repo (ghc 9.0, cabal-install, ghc-static, ghc-extra) |
| 16:39:46 | <Dmitry44> | got it! |
| 16:40:01 | <haskellbridge> | 14<maerwald> arch repo is broken trash |
| 16:40:26 | <Dmitry44> | ok. which linux distro is most stable for haskell? |
| 16:41:30 | × | euleritian quits (~euleritia@dynamic-046-114-156-223.46.114.pool.telefonica.de) (Ping timeout: 260 seconds) |
| 16:41:35 | <haskellbridge> | 14<maerwald> stable? Haskellers hate stable |
| 16:41:38 | <haskellbridge> | 14<maerwald> let's see |
| 16:41:45 | <haskellbridge> | 14<maerwald> Ubuntu, Fedora, Debian, Mint |
| 16:42:14 | <Dmitry44> | i'm a beginner, so i prefer something smooth and gentle ))) joking |
| 16:42:18 | <haskellbridge> | 14<maerwald> I'm leaning towards Fedora |
| 16:44:02 | → | euleritian joins (~euleritia@dynamic-046-114-175-238.46.114.pool.telefonica.de) |
| 16:44:19 | <haskellbridge> | 14<maerwald> I like smooth too, but some Haskellers don't |
| 16:44:22 | <haskellbridge> | 14<maerwald> they like it rough |
| 16:44:34 | <haskellbridge> | 14<maerwald> they want things to break, because it's cool :D |
| 16:45:34 | <Dmitry44> | thanks |
| 16:45:37 | → | random-jellyfish joins (~developer@2a02:2f04:11e:c600:7f3:c10e:ae4b:b779) |
| 16:45:37 | × | random-jellyfish quits (~developer@2a02:2f04:11e:c600:7f3:c10e:ae4b:b779) (Changing host) |
| 16:45:37 | → | random-jellyfish joins (~developer@user/random-jellyfish) |
| 16:47:15 | → | Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542) |
| 16:49:58 | <haskellbridge> | 06<sm> "ar: .stack-work/dist/aarch64-osx/ghc-9.8.1/build/cbits/c_fsevents.o: No such file or directory" - does it ring any bells ? |
| 16:50:10 | <haskellbridge> | 06<sm> (building hfsevents.. I guess I should check their tracker) |
| 16:53:08 | → | _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
| 16:54:36 | × | Dmitry44 quits (~Dmitry@92.100.122.12) (Quit: Client closed) |
| 16:55:12 | → | ubert1 joins (~Thunderbi@p200300ecdf0b88097115ce3f27816b5d.dip0.t-ipconnect.de) |
| 16:55:26 | × | ubert quits (~Thunderbi@p200300ecdf0b88389ad273f029169514.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 16:55:26 | ubert1 | is now known as ubert |
| 16:55:53 | × | euleritian quits (~euleritia@dynamic-046-114-175-238.46.114.pool.telefonica.de) (Ping timeout: 252 seconds) |
| 16:56:38 | <haskellbridge> | 06<sm> lots of haskellers want things to not break, let's not make people forget we exist :) |
| 16:56:46 | <haskellbridge> | 06<sm> think we don't exist |
| 16:57:18 | <haskellbridge> | 06<sm> gosh why would anyone pick Fedora over Debian ? well, off topic I guess |
| 16:57:52 | <[exa]> | way to break stuff |
| 16:58:13 | → | euleritian joins (~euleritia@dynamic-046-114-180-041.46.114.pool.telefonica.de) |
| 17:00:35 | <[exa]> | re fsevents, is there any previous error or log from anything that made the c_fsevents.o ? |
| 17:00:54 | <[exa]> | (kinda wondering, why would the source file have a suffix `.m` ?) |
| 17:03:09 | <EvanR> | we're blaming arch's haskell issues on haskell? |
| 17:03:33 | <EvanR> | smh |
| 17:04:27 | <haskellbridge> | 06<sm> [exa] I don't think so, I'm also getting this from just `stack build hfsevents` |
| 17:04:29 | <geekosaur> | [exa], looks like Objective-C |
| 17:04:42 | × | euleritian quits (~euleritia@dynamic-046-114-180-041.46.114.pool.telefonica.de) (Ping timeout: 252 seconds) |
| 17:05:00 | <haskellbridge> | 06<sm> I would compare with cabal but I am not smart enough to make cabal (re)build this package and confirm that it worked |
| 17:05:03 | → | euleritian joins (~euleritia@dynamic-046-114-005-049.46.114.pool.telefonica.de) |
| 17:07:01 | <haskellbridge> | 14<maerwald> sm: Fedora never break OpenSSL? xD |
| 17:07:07 | <haskellbridge> | 14<maerwald> *broke |
| 17:07:15 | <haskellbridge> | 14<maerwald> can think of many other reasons |
| 17:09:39 | × | ft quits (~ft@p4fc2a1d8.dip0.t-ipconnect.de) (Quit: leaving) |
| 17:11:56 | <duncan> | It is not the case that Fedora breaks things like package dependencies |
| 17:12:13 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:31eb:5352:b0f6:c0ae) (Remote host closed the connection) |
| 17:12:24 | <duncan> | It adds new Linux sauce and changes a way of doing a thing, but it's not actually broken |
| 17:12:26 | × | euleritian quits (~euleritia@dynamic-046-114-005-049.46.114.pool.telefonica.de) (Ping timeout: 245 seconds) |
| 17:12:28 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:31eb:5352:b0f6:c0ae) |
| 17:12:33 | <haskellbridge> | 14<maerwald> debian also likes to mess with SONAMEs and pkg-config files |
| 17:13:17 | → | euleritian joins (~euleritia@dynamic-046-114-001-220.46.114.pool.telefonica.de) |
| 17:15:39 | → | shapr joins (~user@c-24-218-186-89.hsd1.ma.comcast.net) |
| 17:19:40 | <duncan> | If you consider Linux changing things like network, sound as a breakage, then sure, Debian breaks those too. If you aren't considering something like BSD or Solaris/Illumos as a serious alternative in this case (which they absolutely are), then that's on you, and your loss |
| 17:20:37 | <duncan> | Debian LTS is also really good BTW, and it's in most circumstances free of charge. I'd use that sooner than Ubuntu or its derivatives. |
| 17:20:59 | × | euleritian quits (~euleritia@dynamic-046-114-001-220.46.114.pool.telefonica.de) (Ping timeout: 264 seconds) |
| 17:21:10 | <haskellbridge> | 14<maerwald> or Gentoo ;P |
| 17:21:30 | × | wheatengineer quits (~frederik@p200300f63f25e0005b9afabf97e17f62.dip0.t-ipconnect.de) (Quit: Leaving) |
| 17:21:54 | → | shapr` joins (~user@c-24-218-186-89.hsd1.ma.comcast.net) |
| 17:22:51 | × | rvalue quits (~rvalue@user/rvalue) (Ping timeout: 245 seconds) |
| 17:23:24 | × | shapr quits (~user@c-24-218-186-89.hsd1.ma.comcast.net) (Ping timeout: 252 seconds) |
| 17:23:52 | haskellbridge | 06<sm> throws https://changelog.complete.org/archives/10620-consider-security-first into the pot |
| 17:24:12 | → | econo_ joins (uid147250@id-147250.tinside.irccloud.com) |
| 17:26:45 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 256 seconds) |
| 17:29:13 | → | rvalue joins (~rvalue@user/rvalue) |
| 17:31:54 | × | CiaoSen quits (~Jura@2a05:5800:2e7:ab00:ca4b:d6ff:fec1:99da) (Ping timeout: 260 seconds) |
| 17:36:38 | × | random-jellyfish quits (~developer@user/random-jellyfish) (Remote host closed the connection) |
| 17:39:41 | × | Fansly quits (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Remote host closed the connection) |
| 17:43:07 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 17:45:49 | → | euleritian joins (~euleritia@dynamic-046-114-232-233.46.114.pool.telefonica.de) |
| 17:51:58 | × | ubert quits (~Thunderbi@p200300ecdf0b88097115ce3f27816b5d.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 17:54:24 | × | causal quits (~eric@50.35.85.7) (Quit: WeeChat 4.1.1) |
| 17:56:02 | → | tzh joins (~tzh@c-71-193-181-0.hsd1.or.comcast.net) |
| 17:56:52 | × | gues26563 quits (~username@2001:4090:a246:827d:570d:ddf3:8977:a395) (Ping timeout: 246 seconds) |
| 17:57:05 | → | shapr`` joins (~user@c-24-218-186-89.hsd1.ma.comcast.net) |
| 17:57:56 | → | random-jellyfish joins (~developer@2a02:2f04:11e:c600:7f3:c10e:ae4b:b779) |
| 17:57:57 | × | random-jellyfish quits (~developer@2a02:2f04:11e:c600:7f3:c10e:ae4b:b779) (Changing host) |
| 17:57:57 | → | random-jellyfish joins (~developer@user/random-jellyfish) |
| 17:58:25 | → | ubert joins (~Thunderbi@p200300ecdf0b880962fc2fd34a0ff1a5.dip0.t-ipconnect.de) |
| 17:58:36 | × | shapr` quits (~user@c-24-218-186-89.hsd1.ma.comcast.net) (Ping timeout: 252 seconds) |
| 17:59:14 | × | euleritian quits (~euleritia@dynamic-046-114-232-233.46.114.pool.telefonica.de) (Ping timeout: 268 seconds) |
| 18:01:47 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 18:04:20 | → | euleritian joins (~euleritia@dynamic-046-114-105-137.46.114.pool.telefonica.de) |
| 18:12:12 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:31eb:5352:b0f6:c0ae) (Remote host closed the connection) |
| 18:15:16 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
| 18:16:55 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 18:20:09 | → | ft joins (~ft@p4fc2a1d8.dip0.t-ipconnect.de) |
| 18:23:53 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 18:25:38 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:31eb:5352:b0f6:c0ae) |
| 18:28:05 | <exarkun> | there isn't a deriving strategy for a record type that derives an instance using the instance for a specified record field, is there? |
| 18:28:49 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 18:29:39 | → | gmg joins (~user@user/gehmehgeh) |
| 18:33:14 | × | Lycurgus quits (~georg@user/Lycurgus) (Quit: leaving) |
| 18:33:34 | <glguy> | exarkun: seem very unlikely |
| 18:34:23 | × | pastly quits (~pastly@gateway/tor-sasl/pastly) (Remote host closed the connection) |
| 18:34:49 | → | pastly joins (~pastly@gateway/tor-sasl/pastly) |
| 18:42:35 | → | mikess joins (~sam@user/mikess) |
| 18:47:56 | → | Tuplanolla joins (~Tuplanoll@91-159-69-171.elisa-laajakaista.fi) |
| 18:52:57 | → | chomwitt joins (~chomwitt@2a02:587:7a0f:8900:1ac0:4dff:fedb:a3f1) |
| 18:53:06 | ← | anon1123 parts (~anon1123@2a02:ab88:282:b00:da3a:ddff:fe3a:947c) (WeeChat 4.1.1) |
| 18:54:01 | × | shapr`` quits (~user@c-24-218-186-89.hsd1.ma.comcast.net) (Ping timeout: 255 seconds) |
| 19:03:19 | × | euleritian quits (~euleritia@dynamic-046-114-105-137.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 19:03:38 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 19:08:02 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 19:08:14 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 19:13:20 | × | ubert quits (~Thunderbi@p200300ecdf0b880962fc2fd34a0ff1a5.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 19:14:05 | × | tv quits (~tv@user/tv) (Ping timeout: 240 seconds) |
| 19:14:23 | × | YoungFrog quits (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) (Ping timeout: 264 seconds) |
| 19:18:27 | → | peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com) |
| 19:23:29 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:31eb:5352:b0f6:c0ae) (Remote host closed the connection) |
| 19:23:38 | × | igemnace quits (~ian@user/igemnace) (Quit: WeeChat 4.1.2) |
| 19:24:11 | → | ubert joins (~Thunderbi@p200300ecdf0b8809c68cd0f0e38f660b.dip0.t-ipconnect.de) |
| 19:26:45 | <[exa]> | is there some shortcut syntax for making functions that update a few named record fields, like `\record -> record{field1=xxx, field2=yyy}` |
| 19:26:58 | <glguy> | no |
| 19:27:19 | <[exa]> | but I'd love to abuse this for various devilish purposes. :( |
| 19:28:02 | <geekosaur> | (lens…) |
| 19:28:32 | → | tv joins (~tv@user/tv) |
| 19:31:02 | <monochrom> | lens or maybe something from the HasField system. |
| 19:31:03 | <EvanR> | define that function |
| 19:31:15 | <monochrom> | That too. :) |
| 19:32:05 | <Rembane> | Isn't it possible to pattern match on records if using some nice modern extensions? |
| 19:32:52 | <monochrom> | Yes, but this question doesn't want to get fields, it wants to set fields. |
| 19:33:53 | <[exa]> | yap. I'll probably go with lenses but the operator glue there isn't that nice |
| 19:34:09 | <[exa]> | the syntax \{f1=val1, f2=val2} is used for anything? |
| 19:34:34 | <[exa]> | ok apparently it's reserved for a parse error |
| 19:35:54 | <monochrom> | I expect "\R{f1=val1, f2=val2} -> ..." to be vanilla Haskell 2010 pattern matching for record syntax, if R is a data constructor. |
| 19:36:38 | <monochrom> | "\{f1=val1, f2=val2}" is way too close to that, and I would not like it to mean setting fields instead of getting fields. |
| 19:37:36 | <monochrom> | At any rate in general I expect "\foo" to mean that foo is an input not an output. |
| 19:37:57 | <monochrom> | or rather, foo describes an input. |
| 19:41:10 | <[exa]> | yeah |
| 19:46:12 | <c_wraith> | monochrom: am I remembering right, that you sometimes give students an exercise in making a probability monad? |
| 19:47:06 | <Franciman> | is anybody using haskell with guix? |
| 19:47:14 | × | szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 19:47:56 | <monochrom> | c_wraith: You remember right, I did that. |
| 19:48:34 | <c_wraith> | monochrom: did you ask them to model the Monty Hall problem to make sure they got it right? :) |
| 19:48:47 | <monochrom> | I didn't. |
| 19:48:59 | <c_wraith> | You may not be evil enough :) |
| 19:49:15 | <[exa]> | Franciman: I've had a plan to try like 2 months ago but never got to it :D |
| 19:50:07 | <Franciman> | i was trying, and it seems kinda "problemless" atm |
| 19:50:17 | <Franciman> | issue being you have fewer packaged deps |
| 19:50:33 | <Franciman> | but you also have the guix import hackage/stackage commodity |
| 19:50:41 | <Franciman> | haven't tried them yet |
| 19:51:14 | <[exa]> | you might hit this https://github.com/simonmichael/hledger/issues/1033#issuecomment-1005437746 |
| 19:51:25 | <[exa]> | but that's all the problems I know about |
| 19:51:44 | <Franciman> | ty |
| 19:51:49 | <monochrom> | As it happens, it is true that the dispute comes down to "Hall knows which door is unprized and opens it" vs "Hall picks a random door to open, oh it happens to be unprized". So it comes down to whoever posing the question making it clear or unclear. |
| 19:53:07 | <monochrom> | Or did I misremember it? I need to check again. |
| 19:53:42 | <c_wraith> | monochrom: I don't think that actually matters. I think it is sufficient to say "he opened a door, this is what was behind it". |
| 19:54:09 | <c_wraith> | Whether he knew or not doesn't affect the decision tree |
| 19:54:44 | <__monty__> | Also doesn't matter whether or not the prize is behind the revealed door. |
| 19:55:20 | <__monty__> | If it is then switch or not doesn't matter. If it isn't then switching's optimal. That means regardless of what is revealed it's optimal to switch. |
| 19:56:46 | → | misterfish joins (~misterfis@84.53.85.146) |
| 19:56:49 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:31eb:5352:b0f6:c0ae) |
| 19:56:51 | <c_wraith> | hah. also true. |
| 19:57:59 | <c_wraith> | though if he reveals the winning prize, it *does* change the probabilities, even if not what choice is optimal |
| 19:59:49 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds) |
| 20:01:07 | → | euleritian joins (~euleritia@dynamic-046-114-105-137.46.114.pool.telefonica.de) |
| 20:02:00 | → | shapr joins (~user@c-24-218-186-89.hsd1.ma.comcast.net) |
| 20:03:58 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 20:09:03 | × | euleritian quits (~euleritia@dynamic-046-114-105-137.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 20:09:21 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 20:16:27 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 20:18:24 | → | waldo joins (~waldo@user/waldo) |
| 20:34:49 | × | peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 255 seconds) |
| 20:36:59 | <peutri> | what if his alg is "only offer to switch if it results in a goat"? |
| 20:38:05 | × | waldo quits (~waldo@user/waldo) (Ping timeout: 252 seconds) |
| 20:38:12 | <monochrom> | You are an evil game host. >:) |
| 20:38:37 | × | xdminsy quits (~xdminsy@117.147.71.169) (Read error: Connection reset by peer) |
| 20:39:00 | <monochrom> | Are you the Phantom of The Opera? Offering a lose-lose game? |
| 20:40:36 | <EvanR> | if the prize is behind the open door, the probability is 100%. Otherwise 0% |
| 20:40:42 | <EvanR> | duh |
| 20:41:17 | <peutri> | my point is, if all you see is him switching, you don't know much more of the rules |
| 20:41:19 | <EvanR> | veritasium has been having a field day with stuff like this |
| 20:41:21 | <EvanR> | recently |
| 20:42:14 | <monochrom> | All versions of the question insist that the revealed door has no prize. So if you model Hall as random, you have to throw in conditional probability "on condition that it is unprized". |
| 20:42:37 | <monochrom> | Wait, recent? I think it has been years. |
| 20:43:13 | <EvanR> | sleeping beauty paradox 10 months ago, ok not that recent |
| 20:43:17 | <EvanR> | just me time warping |
| 20:43:21 | <monochrom> | Definitely older than that time about the switch, the lightbulb just a metre away, and a very very long cable. |
| 20:43:46 | <monochrom> | Oh sleeping beauty. |
| 20:43:48 | → | peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com) |
| 20:44:37 | → | waldo joins (~waldo@user/waldo) |
| 20:45:25 | <EvanR> | I keep thinking the right answer is one which I never heard anywhere but probability 101, which posed probabilities as things you make up for a situation instead of discovering from a word problem, unless the word problem gives you the probabilities somehow |
| 20:46:11 | <monochrom> | I agree. |
| 20:46:13 | <EvanR> | so monty hall having 99.9999% prize in one of the doors is valid instead of 1/3 |
| 20:48:32 | <monochrom> | Well you make up assumptions, but you try to be reasonable, so for example you use the principle of indifference and assume uniform probabilities as much as possible. |
| 20:49:48 | <EvanR> | the probabilities you make up could be better or worse by a practical metric once applied |
| 20:49:55 | <EvanR> | if you can repeat experiments |
| 20:50:15 | <EvanR> | maybe if you can't |
| 20:50:42 | <EvanR> | i.e. I said probability is 0% and the one time we get to try it happens, my model sucks |
| 20:52:34 | × | waldo quits (~waldo@user/waldo) (Ping timeout: 260 seconds) |
| 20:52:45 | <monochrom> | Yeah I just mean you do not start with 0.999 out of the blue, if you start with it it should be because you have data or previous experience favouring it. |
| 20:52:59 | <EvanR> | or perhaps you have an argument arguing for it xD |
| 20:53:19 | <EvanR> | logos pathos ethos or something |
| 21:07:59 | × | trev quits (~trev@user/trev) (Quit: trev) |
| 21:17:48 | × | _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection) |
| 21:18:35 | × | michalz quits (~michalz@185.246.207.203) (Quit: ZNC 1.8.2 - https://znc.in) |
| 21:23:00 | → | bilegeek joins (~bilegeek@2600:1008:b00e:eae6:fb16:ad39:774b:5f34) |
| 21:23:41 | × | misterfish quits (~misterfis@84.53.85.146) (Ping timeout: 245 seconds) |
| 21:25:07 | × | ubert quits (~Thunderbi@p200300ecdf0b8809c68cd0f0e38f660b.dip0.t-ipconnect.de) (Ping timeout: 246 seconds) |
| 21:28:02 | × | mikess quits (~sam@user/mikess) (Ping timeout: 260 seconds) |
| 21:44:28 | → | mikess joins (~sam@user/mikess) |
| 21:45:09 | × | peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 256 seconds) |
| 21:59:18 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 260 seconds) |
| 22:00:36 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 22:07:00 | <phma> | I submitted a package, but Hackage refused to build it because its compiler is too old to understand (.>>.). Is it time to upgrade the compiler? |
| 22:07:18 | × | fendor quits (~fendor@2a02:8388:1605:d100:267b:1353:13d7:4f0c) (Remote host closed the connection) |
| 22:07:20 | <phma> | https://hackage.haskell.org/package/WringTwistree-0.0.1.0/reports/2 |
| 22:07:22 | × | coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot) |
| 22:08:45 | <c_wraith> | might be. I have no idea how they pick a GHC version to build with. In the interim, you can upload docs built offline |
| 22:09:18 | <phma> | The docs build fine on my box. How do I upload them? |
| 22:09:57 | <c_wraith> | check out how https://github.com/ekmett/lens/blob/master/scripts/hackage-docs.sh does it |
| 22:09:58 | → | peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com) |
| 22:13:30 | <jackdk> | cabal haddock --haddock-for-hackage followed by cabal upload -d on the tarball it makes |
| 22:14:17 | <phma> | will that work with stack too? cabal would use the old compiler, I think |
| 22:15:41 | → | shapr` joins (~user@c-24-218-186-89.hsd1.ma.comcast.net) |
| 22:17:23 | <sclv> | cabal uses whatever compiler you specify with the -with-compiler flag |
| 22:17:37 | × | shapr quits (~user@c-24-218-186-89.hsd1.ma.comcast.net) (Ping timeout: 268 seconds) |
| 22:18:00 | <monochrom> | Huh you can totally install a new compiler (eg with ghcup) and if it is the default (eg tell ghcup to make it default) then cabal will use it. |
| 22:19:29 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 22:20:26 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 22:21:32 | <monochrom> | In fact under a reasonablility assumption, since you have uploaded to hackage, you must have tested "cabal build" and observed that it have succeeded, therefore it must have used a new-enough compiler. |
| 22:22:11 | <sclv> | i assume they tested with stack |
| 22:22:42 | <monochrom> | Well then the reasonability assumption fails. |
| 22:23:02 | <haskellbridge> | 15<Jade> Heya, I'm trying to build a computer algebra system that focuses on type level stuff. |
| 22:23:03 | <haskellbridge> | 15<Jade> Specifically I have a `Function f` class which can be extended. |
| 22:23:03 | <monochrom> | Naive of me to assume that people test things before uploading. |
| 22:23:04 | <haskellbridge> | 15<Jade> I want to be able to perform simplifications on them, for which I was considering an open type family, in order to add simplifications on the fly. |
| 22:23:05 | <haskellbridge> | 15<Jade> The problem is, that there are overlaps pretty quickly which makes this not very useful, as it doesn't work properly. |
| 22:23:07 | <haskellbridge> | 15<Jade> Specifically, if I for example have `instance Simplifies (Number :+ Number) where type Simplification (Number :+ Number) = Number; -- implementation` then it becomes impossible to have a recursive case `instance Simplifies (f :+ g) where -- ...` because those overlap. |
| 22:23:08 | <haskellbridge> | 15<Jade> I was trying multiple things (split up into multiple classes, Use newtypes) but none have worked out yet |
| 22:23:32 | <haskellbridge> | 15<Jade> I don't really know where to go from here, because I would like to be able to do type level extendable simplification |
| 22:24:49 | <monochrom> | "computer algebra system that focuses on type level stuff" sounds like an oxymoron. |
| 22:25:10 | <haskellbridge> | 15<Jade> Let's call it a CAS library, does that make sense? |
| 22:26:21 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 22:26:29 | <monochrom> | Either you go all out on dependent typing, or you accept a large chunk of run-time checks. |
| 22:26:48 | <haskellbridge> | 15<Jade> yeah I want to try to do dependent types but I suck at it lol |
| 22:26:55 | <monochrom> | In the former case, either way 10 more years for Haskell to get there, or switch to a real dependently typed language today. |
| 22:27:04 | <monochrom> | s/way/wait/ |
| 22:27:20 | <haskellbridge> | 15<Jade> heh |
| 22:27:34 | <haskellbridge> | 15<Jade> I mean, I can mostly get there with what I have using closed type families |
| 22:27:44 | <haskellbridge> | 15<Jade> but I want to have it extendable |
| 22:28:04 | <monochrom> | But overlapping instances is not a crime, it is possibly the right thing to do in this case. |
| 22:28:31 | <haskellbridge> | 15<Jade> but it doesn't compile, at all |
| 22:28:57 | <monochrom> | For example the Data Types a la Carte paper uses it. I think it uses undecidable instances too. This is just cause. I think that paper addresses what you're doing too. |
| 22:29:17 | <haskellbridge> | 15<Jade> okay thank you |
| 22:30:54 | <monochrom> | Consult the GHC user's guide on how to enable overlapping instances. (It is no longer as simple as OverlappingInstances because it really shouldn't be that coarse-grained.) |
| 22:32:17 | <monochrom> | (Although, for a quirky first try, just turn it on coarse-grained, worry about fine-tuning later. :) ) |
| 22:34:13 | <haskellbridge> | 15<Jade> I'm also thinking about if I actually need all this typelevel stuff xd |
| 22:34:23 | <haskellbridge> | 15<Jade> I have learned a lot, that's a good thing I suppose |
| 22:35:20 | × | TheCatCollective quits (NyaaTheKit@user/calculuscat) (Quit: Meow Meow Meow Meow Meow Meow Meow Meow) |
| 22:35:24 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 22:39:15 | × | [_] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 260 seconds) |
| 22:40:12 | × | sawilagar quits (~sawilagar@user/sawilagar) (Ping timeout: 252 seconds) |
| 22:43:14 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 22:45:23 | × | mikess quits (~sam@user/mikess) (Quit: leaving) |
| 22:45:38 | → | mikess joins (~sam@user/mikess) |
| 22:50:13 | × | mikess quits (~sam@user/mikess) (Client Quit) |
| 22:59:39 | → | waldo joins (~waldo@user/waldo) |
| 23:10:44 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 23:20:47 | × | a51 quits (a51@gateway/vpn/protonvpn/a51) (Quit: WeeChat 4.1.2) |
| 23:25:27 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 23:25:36 | → | a51 joins (a51@gateway/vpn/protonvpn/a51) |
| 23:27:00 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 23:28:51 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 23:30:12 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 23:36:31 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 23:38:30 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 252 seconds) |
| 23:42:30 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 256 seconds) |
| 23:43:43 | × | target_i quits (~target_i@217.175.14.39) (Quit: leaving) |
| 23:48:53 | × | chomwitt quits (~chomwitt@2a02:587:7a0f:8900:1ac0:4dff:fedb:a3f1) (Ping timeout: 268 seconds) |
| 23:49:52 | × | dnh^ quits (~cd@c-98-242-74-66.hsd1.ga.comcast.net) (Ping timeout: 256 seconds) |
| 23:49:56 | × | dsrt^ quits (~cd@c-98-242-74-66.hsd1.ga.comcast.net) (Ping timeout: 245 seconds) |
| 23:51:02 | → | dsrt^ joins (~cd@c-98-242-74-66.hsd1.ga.comcast.net) |
| 23:51:03 | → | dnh^ joins (~cd@c-98-242-74-66.hsd1.ga.comcast.net) |
All times are in UTC on 2024-01-04.