Logs on 2022-08-24 (liberachat/#haskell)
| 00:00:04 | × | matthewmosior quits (~matthewmo@173.170.253.91) (*.net *.split) |
| 00:00:04 | × | cyphase quits (~cyphase@user/cyphase) (*.net *.split) |
| 00:00:04 | × | immae quits (~immae@2a01:4f8:141:53e7::) (*.net *.split) |
| 00:00:04 | × | remedan quits (~remedan@octo.cafe) (*.net *.split) |
| 00:00:04 | × | Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (*.net *.split) |
| 00:00:04 | × | opqdonut quits (opqdonut@pseudo.fixme.fi) (*.net *.split) |
| 00:00:04 | × | aeka quits (~aeka@user/hiruji) (*.net *.split) |
| 00:00:04 | × | pavonia quits (~user@user/siracusa) (*.net *.split) |
| 00:00:04 | × | econo quits (uid147250@user/econo) (*.net *.split) |
| 00:00:04 | × | bitmapper quits (uid464869@id-464869.lymington.irccloud.com) (*.net *.split) |
| 00:00:04 | × | lieven quits (~mal@ns2.wyrd.be) (*.net *.split) |
| 00:00:04 | × | notzmv quits (~zmv@user/notzmv) (*.net *.split) |
| 00:00:04 | × | xff0x quits (~xff0x@2405:6580:b080:900:19d1:e58d:306e:9622) (*.net *.split) |
| 00:00:05 | × | stefan-_ quits (~cri@42dots.de) (*.net *.split) |
| 00:00:05 | × | beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (*.net *.split) |
| 00:00:05 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (*.net *.split) |
| 00:00:05 | × | rembo10 quits (~rembo10@main.remulis.com) (*.net *.split) |
| 00:00:05 | × | Vajb quits (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) (*.net *.split) |
| 00:00:05 | × | Kaipei quits (~Kaiepi@142.68.249.28) (*.net *.split) |
| 00:00:05 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (*.net *.split) |
| 00:00:05 | × | euandreh quits (~euandreh@179.214.113.107) (*.net *.split) |
| 00:00:05 | × | polyphem_ quits (~rod@2a02:810d:840:8754:224e:f6ff:fe5e:bc17) (*.net *.split) |
| 00:00:05 | × | finsternis quits (~X@23.226.237.192) (*.net *.split) |
| 00:00:05 | × | AlexZenon quits (~alzenon@178.34.150.204) (*.net *.split) |
| 00:00:05 | × | Alex_test quits (~al_test@178.34.150.204) (*.net *.split) |
| 00:00:05 | × | JimL quits (~quassel@89-162-2-132.fiber.signal.no) (*.net *.split) |
| 00:00:05 | × | ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (*.net *.split) |
| 00:00:05 | × | zzz quits (~z@user/zero) (*.net *.split) |
| 00:00:05 | × | jespada quits (~jespada@181.28.113.105) (*.net *.split) |
| 00:00:05 | × | pgib quits (~textual@173.38.117.89) (*.net *.split) |
| 00:00:05 | × | whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (*.net *.split) |
| 00:00:05 | × | motherfsck quits (~motherfsc@user/motherfsck) (*.net *.split) |
| 00:00:05 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (*.net *.split) |
| 00:00:05 | × | gabriel_sevecek quits (~gabriel@188-167-229-200.dynamic.chello.sk) (*.net *.split) |
| 00:00:05 | × | gff quits (~gff@user/gff) (*.net *.split) |
| 00:00:05 | × | cheater quits (~Username@user/cheater) (*.net *.split) |
| 00:00:05 | × | lemonsnicks quits (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) (*.net *.split) |
| 00:00:05 | × | hellwolf quits (~hellwolf@7-41-50-84.sta.estpak.ee) (*.net *.split) |
| 00:00:05 | × | Ranhir quits (~Ranhir@157.97.53.139) (*.net *.split) |
| 00:00:05 | × | tom__ quits (~tom@host86-160-236-152.range86-160.btcentralplus.com) (*.net *.split) |
| 00:00:05 | × | malte quits (~malte@mal.tc) (*.net *.split) |
| 00:00:05 | × | thatcher quits (lp0@heathens.club) (*.net *.split) |
| 00:00:05 | × | darxun quits (sid504814@id-504814.tinside.irccloud.com) (*.net *.split) |
| 00:00:05 | × | megaTherion quits (~therion@unix.io) (*.net *.split) |
| 00:00:05 | × | crns quits (~netcrns@user/crns) (*.net *.split) |
| 00:00:05 | × | mjacob quits (~mjacob@adrastea.uberspace.de) (*.net *.split) |
| 00:00:05 | × | gawen quits (~gawen@user/gawen) (*.net *.split) |
| 00:00:05 | × | toby_ quits (~toby@137.220.84.171) (*.net *.split) |
| 00:00:05 | × | _xor quits (~xor@74.215.182.83) (*.net *.split) |
| 00:00:05 | × | xstill_ quits (xstill@fimu/xstill) (*.net *.split) |
| 00:00:05 | × | zachel quits (~zachel@user/zachel) (*.net *.split) |
| 00:00:05 | × | yahb2 quits (~yahb2@2a01:4f8:c0c:5c7b::2) (*.net *.split) |
| 00:00:05 | × | Putonlalla quits (~sapekiis@it-cyan.it.jyu.fi) (*.net *.split) |
| 00:00:05 | × | erisco quits (~erisco@d24-57-249-233.home.cgocable.net) (*.net *.split) |
| 00:00:05 | × | monochrom quits (~trebla@216.138.220.146) (*.net *.split) |
| 00:00:05 | × | Inoperable quits (~PLAYER_1@fancydata.science) (*.net *.split) |
| 00:00:05 | × | Taneb0 quits (~Taneb@runciman.hacksoc.org) (*.net *.split) |
| 00:00:05 | × | Me-me quits (~me-me@user/me-me) (*.net *.split) |
| 00:00:05 | × | Ram-Z quits (~Ram-Z@li1814-254.members.linode.com) (*.net *.split) |
| 00:00:05 | × | ajb_ quits (~ajb@mimas.whatbox.ca) (*.net *.split) |
| 00:00:05 | × | nerdypepper quits (~nerdypepp@user/nerdypepper) (*.net *.split) |
| 00:00:05 | × | GoldsteinQ quits (~goldstein@goldstein.rs) (*.net *.split) |
| 00:00:05 | × | shailangsa quits (~shailangs@host86-185-98-81.range86-185.btcentralplus.com) (*.net *.split) |
| 00:00:05 | × | son0p quits (~ff@181.136.122.143) (*.net *.split) |
| 00:00:18 | → | ajb_ joins (~ajb@mimas.whatbox.ca) |
| 00:00:18 | → | megaTherion joins (~therion@unix.io) |
| 00:00:22 | → | xff0x joins (~xff0x@2405:6580:b080:900:19d1:e58d:306e:9622) |
| 00:00:25 | → | econo joins (uid147250@user/econo) |
| 00:00:25 | → | Ranhir joins (~Ranhir@157.97.53.139) |
| 00:00:26 | → | darxun joins (sid504814@id-504814.tinside.irccloud.com) |
| 00:00:26 | → | tom__ joins (~tom@2a00:23c8:970c:4801:5b6a:e81b:79dc:f684) |
| 00:00:27 | → | bitmapper joins (uid464869@id-464869.lymington.irccloud.com) |
| 00:00:32 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 00:00:33 | → | pavonia joins (~user@ip5f5bf6ff.dynamic.kabel-deutschland.de) |
| 00:00:35 | → | ix joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) |
| 00:00:36 | → | lieven joins (~mal@ns2.wyrd.be) |
| 00:00:39 | → | immae joins (~immae@2a01:4f8:141:53e7::) |
| 00:00:43 | → | euandreh joins (~euandreh@179.214.113.107) |
| 00:00:46 | → | beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt) |
| 00:00:47 | → | whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com) |
| 00:00:48 | → | _xor joins (~xor@74.215.182.83) |
| 00:00:52 | → | Me-me joins (~me-me@tunnel690570-pt.tunnel.tserv12.mia1.ipv6.he.net) |
| 00:00:56 | × | pavonia quits (~user@ip5f5bf6ff.dynamic.kabel-deutschland.de) (Changing host) |
| 00:00:56 | → | pavonia joins (~user@user/siracusa) |
| 00:00:56 | → | gff joins (~gff@75-174-108-23.boid.qwest.net) |
| 00:01:00 | → | Putonlalla joins (~sapekiis@it-cyan.it.jyu.fi) |
| 00:01:01 | → | cyphase joins (~cyphase@user/cyphase) |
| 00:01:03 | → | polyphem_ joins (~rod@95.91.254.235) |
| 00:01:05 | → | Vajb joins (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) |
| 00:01:17 | × | jonathanx_ quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Read error: Connection reset by peer) |
| 00:01:19 | → | yahb2 joins (~yahb2@2a01:4f8:c0c:5c7b::2) |
| 00:01:20 | → | JimL joins (~quassel@89-162-2-132.fiber.signal.no) |
| 00:01:22 | → | rembo10 joins (~rembo10@main.remulis.com) |
| 00:01:24 | × | luffy quits (~chenqisu1@183.217.200.212) (Read error: Connection reset by peer) |
| 00:01:33 | → | son0p joins (~ff@181.136.122.143) |
| 00:01:34 | → | AlexNoo_ joins (~AlexNoo@178.34.150.204) |
| 00:01:38 | → | monochrom joins (trebla@216.138.220.146) |
| 00:01:39 | → | jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) |
| 00:01:40 | × | AlexNoo quits (~AlexNoo@178.34.150.204) (Read error: Connection reset by peer) |
| 00:01:40 | × | tcard quits (~tcard@p945242-ipngn9701hodogaya.kanagawa.ocn.ne.jp) (Read error: Connection reset by peer) |
| 00:01:43 | → | aeka joins (~aeka@184.75.221.107) |
| 00:01:50 | → | notzmv joins (~zmv@2804:431:c7f2:b0ff:e64c:216:881c:22ec) |
| 00:01:54 | → | tcard joins (~tcard@p945242-ipngn9701hodogaya.kanagawa.ocn.ne.jp) |
| 00:01:57 | × | aeka quits (~aeka@184.75.221.107) (Changing host) |
| 00:01:57 | → | aeka joins (~aeka@user/hiruji) |
| 00:02:03 | → | AlexZenon joins (~alzenon@178.34.150.204) |
| 00:02:11 | × | vglfr quits (~vglfr@145.224.94.199) (Ping timeout: 248 seconds) |
| 00:02:17 | → | Alex_test joins (~al_test@178.34.150.204) |
| 00:02:36 | → | leah_ joins (lp0@heathens.club) |
| 00:02:43 | × | fraznel quits (~fuag1@c-73-221-56-19.hsd1.wa.comcast.net) (Ping timeout: 248 seconds) |
| 00:02:44 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 00:02:46 | → | Ram-Z joins (~Ram-Z@li1814-254.members.linode.com) |
| 00:02:59 | → | stefan-_ joins (~cri@42dots.de) |
| 00:03:05 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 00:03:07 | → | Taneb joins (~Taneb@2001:41c8:51:10d:aaaa:0:aaaa:0) |
| 00:03:08 | → | zero joins (~z@user/zero) |
| 00:03:09 | → | lemonsnicks joins (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) |
| 00:03:10 | → | opqdonut joins (opqdonut@pseudo.fixme.fi) |
| 00:03:27 | → | remedan joins (~remedan@octo.cafe) |
| 00:03:30 | → | xstill_ joins (xstill@fimu/xstill) |
| 00:03:40 | → | luffy joins (~chenqisu1@183.217.200.212) |
| 00:03:43 | → | erisco joins (~erisco@d24-57-249-233.home.cgocable.net) |
| 00:03:44 | → | cheater joins (~Username@user/cheater) |
| 00:03:45 | → | GoldsteinQ joins (~goldstein@goldstein.rs) |
| 00:03:49 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 00:03:50 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 00:03:54 | → | zachel joins (~zachel@user/zachel) |
| 00:04:07 | → | malte joins (~malte@mal.tc) |
| 00:04:29 | → | gawen joins (~gawen@user/gawen) |
| 00:04:31 | × | AlexZenon quits (~alzenon@178.34.150.204) (Read error: Connection reset by peer) |
| 00:04:32 | → | motherfsck joins (~motherfsc@user/motherfsck) |
| 00:04:39 | → | gabriel_sevecek joins (~gabriel@188-167-229-200.dynamic.chello.sk) |
| 00:04:54 | → | AlexZenon joins (~alzenon@178.34.150.204) |
| 00:05:02 | → | califax joins (~califax@user/califx) |
| 00:05:13 | → | mjacob joins (~mjacob@adrastea.uberspace.de) |
| 00:05:13 | → | pragma- joins (~chaos@user/pragmatic-chaos) |
| 00:05:17 | → | toby joins (~toby@137.220.84.171) |
| 00:05:17 | → | crns joins (~netcrns@p5dc33362.dip0.t-ipconnect.de) |
| 00:05:19 | × | crns quits (~netcrns@p5dc33362.dip0.t-ipconnect.de) (Changing host) |
| 00:05:19 | → | crns joins (~netcrns@user/crns) |
| 00:05:27 | → | Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) |
| 00:05:35 | → | nerdypepper joins (~nerdypepp@user/nerdypepper) |
| 00:06:38 | → | jespada joins (~jespada@181.28.113.105) |
| 00:06:56 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 00:07:33 | → | finsternis joins (~X@23.226.237.192) |
| 00:09:09 | → | Inoperable joins (~PLAYER_1@fancydata.science) |
| 00:10:55 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds) |
| 00:11:23 | <qrpnxz> | does ghcup not work on macoss |
| 00:11:26 | <qrpnxz> | segfaultfizzbuzz: ? |
| 00:11:30 | <qrpnxz> | i thought it did |
| 00:11:57 | <segfaultfizzbuzz> | well if you scroll back i am getting some weird dylib error |
| 00:12:32 | <segfaultfizzbuzz> | i don't really know what i am doing here but i can usually make python and rust work fine and i have made stack work fine on other systems,... |
| 00:12:59 | <dsal> | segfaultfizzbuzz: I'm not in the in crowd. I use nix. |
| 00:13:21 | <dsal> | I also use stack. People tell me ghcup and cabal is better, but I've not been able to discover this yet. |
| 00:13:26 | <segfaultfizzbuzz> | dsal: is there a nix configuration file or something you can point me at which Just Work son macOS? |
| 00:13:43 | → | king_gs joins (~Thunderbi@2806:103e:29:da7a:1f74:531c:dec2:7aec) |
| 00:13:49 | <segfaultfizzbuzz> | or are you not on macOS |
| 00:13:54 | × | king_gs quits (~Thunderbi@2806:103e:29:da7a:1f74:531c:dec2:7aec) (Client Quit) |
| 00:14:03 | <dsal> | I'm on an M1 mac right now, but I also use it on NixOS. |
| 00:14:05 | → | fraznel joins (~fuag1@c-73-221-56-19.hsd1.wa.comcast.net) |
| 00:14:39 | <segfaultfizzbuzz> | dsal: ok so is there a guide or something,... and how well does it play alongside homebrew and whatnot |
| 00:14:41 | <dsal> | I'm not sure what to show you. I just install nix and go. I do use homemanager and have stack installed from there, but you don't need that. |
| 00:14:42 | <qrpnxz> | stack has downloaded like a billion copies of the toolchain on to my hard drive. Actually annoying. Sure, i guess there's something there about repeatable builds, but go has that and without a million toolchains. I guess go compile more stable though |
| 00:14:54 | <qrpnxz> | s/compile/compiler |
| 00:15:11 | <dsal> | segfaultfizzbuzz: Do you have nix up and running? |
| 00:15:14 | <segfaultfizzbuzz> | can nix conflict with other stuff like homebrew? i also use rustup to install rust |
| 00:15:25 | <segfaultfizzbuzz> | uh i am hesitating because i don't want to spend hours unborking/reinstalling things |
| 00:15:31 | <segfaultfizzbuzz> | so i'm trying to ask first ;-) |
| 00:15:48 | <dsal> | Maybe? I stopped using homebrew when I got nix working, but it's a different path. |
| 00:15:53 | <geekosaur> | I think nix and brew are at cross purposes |
| 00:15:56 | <dsal> | Some people at work have had confusion mixing nix and homebrew. |
| 00:16:05 | <qrpnxz> | nix installed for single user (which may be the only option on mac, if any) should be able to be uninstalled by just deleting a couple of directories |
| 00:16:08 | <geekosaur> | choose one and stick with it |
| 00:16:10 | <qrpnxz> | pretty self contained. try #nix |
| 00:16:38 | <dsal> | It's a little fancier on modern MacOS because of how filesystems work, but it just makes it that much easier to throw away. :) |
| 00:17:45 | × | euandreh quits (~euandreh@179.214.113.107) (Quit: WeeChat 3.6) |
| 00:18:03 | → | euandreh joins (~euandreh@179.214.113.107) |
| 00:19:10 | <jackdk> | There's a #nix? I only lurk #nixos |
| 00:20:08 | <qrpnxz> | #nix redirect to #nixos iirc |
| 00:20:53 | <jackdk> | I tried to join and got booted as "invite only chan" - maybe someone took it over when libera became a thing? |
| 00:20:53 | <qrpnxz> | which is a bit annoying since i don't necessarily care about the OS, but i guess it's okay |
| 00:21:02 | <segfaultfizzbuzz> | ok thanks i will look at that. i'm a bit nervous though. gosh i wish operating systems made all this straightforward, how hard can it be to sort out some dependencies lol |
| 00:21:52 | <geekosaur> | you'd be surprised |
| 00:21:58 | <qrpnxz> | jackdk: maybe i recall wrong? I remember trying to join that for nix help and getting moved to nixos (which i would not have joined to start with because i didn't really care about the OS part) , but i guess now you have to go there directly |
| 00:22:12 | <geekosaur> | (xmonad's #1 source of tickets is "Arch f*cked up again") |
| 00:23:19 | <jackdk> | I remember when Arch was the Haskell distro-of-choice because of cabal2arch, but that was before my time - I was merely aware of its existence but not using Haskell seriously |
| 00:24:04 | <dibblego> | I use arch, never used cabal2arch, I have my own xmonad build/install |
| 00:27:24 | × | zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!) |
| 00:31:31 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 248 seconds) |
| 00:32:58 | <qrpnxz> | segfaultfizzbuzz: linux based operating systems tend to do a great job compared to say mac, having a built-in system package manager, but certain niche communities many not have enough mind share in those systems to have really nice package story. Every distro packages gcc, for example, because that ubiquitous. C also doesn't have a website or anything like stack or cabal pulling mindshare, it's |
| 00:33:00 | <qrpnxz> | just up to that system. Haskell on the other hand has ghcup and cabal and stack. Also unlike C, ghc is fast moving (Rust too) so often you want the latest version of the thing, but operating system releases tend to do a version for a while so that it's sensibly managable. On Fedora you can easily dnf install ghc and a bunch of deps you'd find in hackage, but they won't be the absolute latest |
| 00:33:02 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 00:33:03 | <qrpnxz> | stuff, and stuff that nobody has volunteered to package won't be there of course. Because of hackage and cabal and so on, the dev will usually focus their attention there rather than try to make an RPM or DPKG package. If the project had been C, i'd say the author is more likely to have packaged it themselves for the OS directly. It's not even difficult to make an RPM of a cabal configured package |
| 00:33:04 | <qrpnxz> | actually. (easy even!). But someone has to actually do it and get it submitted to the distro and so on. So the infrastructure and process is there, you just need to use it, and it's great. |
| 00:36:35 | <qrpnxz> | one thing OS pkg managers suck at though is multiple versions of the same thing. Not even Nix apperently (I thought finally, but looks like no). |
| 00:37:13 | <qrpnxz> | nix does finally gives us a pkg manager that does per user install though, which to this day i'm baffled is not a thing in dnf and apt |
| 00:37:50 | <qrpnxz> | well, it's kind of a thing hypothetically in RPM, but not put to practice practically |
| 00:39:21 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 00:42:01 | → | shailangsa joins (~shailangs@host86-185-98-81.range86-185.btcentralplus.com) |
| 00:43:28 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 00:45:25 | → | nate4 joins (~nate@98.45.169.16) |
| 00:49:39 | × | fraznel quits (~fuag1@c-73-221-56-19.hsd1.wa.comcast.net) (Ping timeout: 248 seconds) |
| 00:50:35 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 255 seconds) |
| 00:51:14 | → | fraznel joins (~fuag1@c-73-221-56-19.hsd1.wa.comcast.net) |
| 00:52:09 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 00:52:17 | × | crns quits (~netcrns@user/crns) (Ping timeout: 268 seconds) |
| 00:52:42 | → | waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) |
| 00:53:11 | → | crns joins (~netcrns@p5dc33cc7.dip0.t-ipconnect.de) |
| 00:53:11 | × | crns quits (~netcrns@p5dc33cc7.dip0.t-ipconnect.de) (Changing host) |
| 00:53:11 | → | crns joins (~netcrns@user/crns) |
| 00:55:28 | <akegalj> | will /quit |
| 00:55:30 | <akegalj> | ups |
| 00:55:32 | × | akegalj quits (~akegalj@135-40.dsl.iskon.hr) (Quit: leaving) |
| 00:57:47 | → | Kaiepi joins (~Kaiepi@142.68.249.28) |
| 00:58:01 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 00:58:35 | × | mmhat quits (~mmh@p200300f1c70860b0ee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 3.6) |
| 00:59:45 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 01:00:29 | × | bitmapper quits (uid464869@id-464869.lymington.irccloud.com) (Quit: Connection closed for inactivity) |
| 01:01:12 | → | zebrag joins (~chris@user/zebrag) |
| 01:02:02 | <qrpnxz> | fedora modules might be a solution? I have yet to explore that. Noting now that there's a ghc 9.2 module stream i could be pulling from. Neat! |
| 01:02:13 | <qrpnxz> | solution to the multiple vers problem that is |
| 01:07:14 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds) |
| 01:07:51 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds) |
| 01:07:57 | × | perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.6) |
| 01:09:49 | × | xff0x quits (~xff0x@2405:6580:b080:900:19d1:e58d:306e:9622) (Ping timeout: 244 seconds) |
| 01:10:03 | × | jargon quits (~jargon@174-22-194-180.phnx.qwest.net) (Ping timeout: 252 seconds) |
| 01:10:05 | → | perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) |
| 01:12:24 | × | notzmv quits (~zmv@2804:431:c7f2:b0ff:e64c:216:881c:22ec) (Ping timeout: 244 seconds) |
| 01:12:37 | × | gurkenglas quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
| 01:15:35 | → | jargon joins (~jargon@184.101.169.20) |
| 01:19:37 | × | fraznel quits (~fuag1@c-73-221-56-19.hsd1.wa.comcast.net) (Quit: Leaving) |
| 01:20:19 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 01:22:12 | × | Rumham347 quits (~Rumham347@128-193-154-76.ptpg.oregonstate.edu) (Ping timeout: 252 seconds) |
| 01:26:33 | × | luffy quits (~chenqisu1@183.217.200.212) (Ping timeout: 252 seconds) |
| 01:30:30 | <Bulby[m]> | is there any example of a haskell gui app |
| 01:30:54 | <Bulby[m]> | desktop managers don't count |
| 01:31:26 | <maerwald[m]> | Bulby: https://github.com/hasufell/hsfm |
| 01:32:56 | <Bulby[m]> | hm it looks like high level libs don't get much use |
| 01:34:10 | → | vglfr joins (~vglfr@145.224.94.78) |
| 01:34:29 | <Bulby[m]> | at least what I can glean from the wiki page |
| 01:34:45 | <maerwald[m]> | High what? |
| 01:34:56 | <Bulby[m]> | high level gui libs |
| 01:35:00 | <maerwald[m]> | Like? |
| 01:35:14 | <Bulby[m]> | https://wiki.haskell.org/Applications_and_libraries/GUI_libraries |
| 01:35:20 | <maerwald[m]> | Yeah, which one |
| 01:35:38 | <Bulby[m]> | i don't really know ☹️ |
| 01:35:42 | <maerwald[m]> | Ok |
| 01:37:40 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 01:41:21 | <Axman6> | segfaultfizzbuzz: why not just share what your dylib issue is? you're almost certainly not the first pertson to run into it, and ghcup should work fine on m1 |
| 01:42:16 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds) |
| 01:44:38 | <jackdk> | Bulby[m]: https://github.com/owickstrom/komposition is built on gi-gtk-declarative |
| 01:45:03 | <jackdk> | Axman6: did you look up the Backwards applicative from transformers? |
| 01:45:05 | <Axman6> | zI scrolled back, and saw segfaultfizzbuzz's error - if they come back, can someone let them know it looks like a broken homebrew install? they should brew uninstall ghc, and then install using ghcup |
| 01:45:07 | × | beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Ping timeout: 248 seconds) |
| 01:45:36 | <Axman6> | yeah - it looks like what I'm after but I don't think it's actually that useful here, and reversing lists will probably be bet better option |
| 01:46:42 | → | jero98772 joins (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) |
| 01:46:50 | <[Leary]> | @help tell |
| 01:46:50 | <lambdabot> | tell <nick> <message>. When <nick> shows activity, tell them <message>. |
| 01:46:53 | <[Leary]> | Axman6: ^ |
| 01:47:45 | × | zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!) |
| 01:49:10 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 01:49:14 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 01:50:58 | <jackdk> | Axman6: even if you're in a strict dialect and have to rematerialise them before you start traversing? |
| 01:53:57 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 268 seconds) |
| 01:54:13 | → | xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) |
| 01:55:28 | → | Hillman joins (~Hillman@37.163.156.143) |
| 01:58:36 | <Hillman> | Hello! Anybody here? I have a problem with exporting SVG (or XML) stream (content type) from Yesod. Something with types and conversion confuse me. Any Yesod expert here? Thanks! |
| 02:01:29 | <jackdk> | I don't know how many people here are yesod people, or are willing to call themselves yesod experts. so you should try to pose your question (include error messages in a pastebin - I'll have a link for you in a sec), and see how you go? |
| 02:01:31 | <jackdk> | @where paste |
| 02:01:31 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 02:02:10 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 02:02:10 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 02:02:11 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection) |
| 02:02:11 | × | motersen quits (~motersen@user/motersen) (Remote host closed the connection) |
| 02:02:11 | × | ec quits (~ec@gateway/tor-sasl/ec) (Write error: Broken pipe) |
| 02:02:11 | × | azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 02:02:28 | → | motersen joins (~motersen@user/motersen) |
| 02:02:38 | <jackdk> | (It's also possible that your question is answerable by people who know Haskell but not Yesod, so see how you go) |
| 02:02:40 | → | califax joins (~califax@user/califx) |
| 02:02:48 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 02:02:50 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 02:02:52 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 02:03:18 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 02:03:31 | <Hillman> | OK. I think its trivial but I cannot get it. I need to export XML (alterady generated as a SVG image. I get the list of [Node] but don't know how to get the stream (for HTML there id Handler HTML), but for XML? |
| 02:04:15 | <Hillman> | I'd also like to export [Node] -> Text to see it rapidly dumped to the terminal, for testing purposes. |
| 02:04:16 | → | ScRamble joins (~S@na.altplay.net) |
| 02:04:55 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 02:05:39 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 02:05:52 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 02:05:52 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 02:09:51 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 02:12:38 | × | Hillman quits (~Hillman@37.163.156.143) (Quit: Leaving) |
| 02:14:10 | <jackdk> | What is the stream type that you need to return? |
| 02:14:18 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds) |
| 02:14:20 | × | Kaiepi quits (~Kaiepi@142.68.249.28) (Ping timeout: 268 seconds) |
| 02:15:58 | ← | ScRamble parts (~S@na.altplay.net) (Möbius strip) |
| 02:17:23 | × | td_ quits (~td@muedsl-82-207-238-030.citykom.de) (Ping timeout: 268 seconds) |
| 02:19:06 | → | td_ joins (~td@94.134.91.14) |
| 02:19:42 | → | nate4 joins (~nate@98.45.169.16) |
| 02:22:31 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 02:26:06 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 02:27:12 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 02:27:41 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 02:28:01 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 02:34:50 | → | Rumham347 joins (~Rumham347@128-193-154-76.ptpg.oregonstate.edu) |
| 02:37:59 | → | califax_ joins (~califax@user/califx) |
| 02:38:26 | × | califax quits (~califax@user/califx) (Ping timeout: 268 seconds) |
| 02:39:10 | califax_ | is now known as califax |
| 02:43:12 | × | [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection) |
| 02:49:14 | → | ddellacosta joins (~ddellacos@89.45.224.196) |
| 02:52:08 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 02:53:36 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 02:53:53 | × | waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 255 seconds) |
| 02:56:53 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds) |
| 02:57:01 | × | jamestmartin quits (~james@jtmar.me) (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) |
| 02:57:11 | → | jamestmartin joins (~james@jtmar.me) |
| 02:59:24 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 268 seconds) |
| 03:01:33 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 03:03:46 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds) |
| 03:06:48 | × | jero98772 quits (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) (Remote host closed the connection) |
| 03:07:23 | × | mima quits (mmh@gateway/vpn/airvpn/mima) (Ping timeout: 252 seconds) |
| 03:13:06 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 260 seconds) |
| 03:19:03 | × | aeka quits (~aeka@user/hiruji) (Ping timeout: 268 seconds) |
| 03:21:30 | → | notzmv joins (~zmv@user/notzmv) |
| 03:21:51 | × | vglfr quits (~vglfr@145.224.94.78) (Ping timeout: 260 seconds) |
| 03:24:37 | × | etra0 quits (~quassel@186-78-139-217.baf.movistar.cl) (Remote host closed the connection) |
| 03:27:46 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 268 seconds) |
| 03:28:41 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 03:32:19 | × | Vajb quits (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) (Read error: Connection reset by peer) |
| 03:33:31 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) |
| 03:36:51 | ← | pragma- parts (~chaos@user/pragmatic-chaos) (Bye!) |
| 03:42:46 | × | kimjetwav quits (~user@2607:fea8:235e:b600:156b:fb3:e0c0:ae2) (Remote host closed the connection) |
| 03:46:44 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 03:46:51 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 03:47:53 | → | vglfr joins (~vglfr@145.224.94.75) |
| 03:52:13 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 03:55:52 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 03:57:08 | → | nate4 joins (~nate@98.45.169.16) |
| 04:00:30 | → | instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net) |
| 04:02:51 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 04:03:31 | × | raym quits (~raym@user/raym) (Read error: Connection reset by peer) |
| 04:04:21 | → | raym joins (~raym@user/raym) |
| 04:05:02 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 04:07:22 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 04:09:41 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 04:10:01 | × | ardell quits (~ardell@user/ardell) (Quit: Leaving) |
| 04:11:44 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds) |
| 04:14:41 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 04:20:30 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 04:22:11 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer) |
| 04:23:27 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 04:23:47 | → | nate4 joins (~nate@98.45.169.16) |
| 04:25:26 | × | instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 260 seconds) |
| 04:27:10 | → | Vajb joins (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) |
| 04:28:29 | × | off^ quits (~off@96.70.11.181) (Remote host closed the connection) |
| 04:30:53 | → | mbuf joins (~Shakthi@122.165.55.71) |
| 04:32:26 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 260 seconds) |
| 04:50:24 | × | ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 268 seconds) |
| 04:55:34 | → | dsrt^ joins (~dsrt@96.70.11.181) |
| 04:57:24 | → | rbatty joins (~rbatty@2600:4041:1e8:4e00:e80b:87f2:9186:df18) |
| 05:02:16 | × | rbatty quits (~rbatty@2600:4041:1e8:4e00:e80b:87f2:9186:df18) (Excess Flood) |
| 05:03:01 | → | rbatty joins (~rbatty@2600:4041:1e8:4e00:e80b:87f2:9186:df18) |
| 05:04:45 | × | rbatty quits (~rbatty@2600:4041:1e8:4e00:e80b:87f2:9186:df18) (Excess Flood) |
| 05:05:04 | <tvandinther> | Can ghci run threaded? Are there specific options I need to set for that? |
| 05:05:41 | <Axman6> | I think it does by default, but you can also use ghci +RTS -N |
| 05:06:58 | × | Rumham347 quits (~Rumham347@128-193-154-76.ptpg.oregonstate.edu) (Ping timeout: 252 seconds) |
| 05:08:12 | <tvandinther> | I opened ghci with `stack ghci +RTS -N` and it doesn't appear to run the same as `stack run` with the ghc options set in the config |
| 05:08:18 | → | rbatty joins (~rbatty@2600:4041:1e8:4e00:e80b:87f2:9186:df18) |
| 05:08:29 | ← | rbatty parts (~rbatty@2600:4041:1e8:4e00:e80b:87f2:9186:df18) () |
| 05:08:40 | <tvandinther> | tbh the main thing I want from the ghci is the timer, but whats the easiest way to implement a run timer in the code itself? |
| 05:10:21 | × | jargon quits (~jargon@184.101.169.20) (Remote host closed the connection) |
| 05:11:01 | × | Putonlalla quits (~sapekiis@it-cyan.it.jyu.fi) (Quit: Leaving.) |
| 05:14:20 | <Axman6> | that wil tell stack to run using threads |
| 05:16:01 | <Axman6> | try: stack ghci --ghci-options "+RTS -N -RTS" |
| 05:22:43 | → | nate4 joins (~nate@98.45.169.16) |
| 05:23:32 | <tvandinther> | That did the trick, thanks |
| 05:26:53 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds) |
| 05:27:56 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 05:37:47 | → | famubu joins (~famubu@user/famubu) |
| 05:37:52 | <famubu> | I got two functions which are of different types. Would it be possible to have another function which based on an int input returns one of the other two functions? Something like: https://bpa.st/TLNA |
| 05:38:52 | <Axman6> | no |
| 05:39:09 | <Axman6> | a can't be both an Int and () |
| 05:40:26 | <famubu> | Could `forall` be of any help here. Just saw about it in haskell wiki book where it says ' are a way of 'squashing' a group of types into one, single type' |
| 05:40:32 | <famubu> | https://en.wikibooks.org/wiki/Haskell/Existentially_quantified_types |
| 05:42:11 | <Axman6> | no, if you used forall here, then you're saying that your function can work with absolutely any type at all, and the caller gets to decide what the type is - if you had bar :: forall a b c. Int -> a -> b -> c, you are saying "a can be absolutely anything, so can b and c" so I am allowed to call it with [Bool], make c Void, have b be a function, etc. |
| 05:42:28 | <famubu> | Oh.. okay. |
| 05:42:53 | <Axman6> | what you're looking for is related to dependent types, where the type of something can depend on runtime values. There are ways to do similar things, but if you are new to Haskell, you should assume the answer is a hard no right now |
| 05:43:42 | <famubu> | I'm sort of new to haskell, but just to know, what are those ways? |
| 05:44:25 | <Axman6> | I really don't think it would be helpful to your learning to tell you, because you need to unserstand the fundamentals of why this doesn't work first |
| 05:44:27 | <famubu> | And speaking of `forall`, is it really needed? The wikibook says `a -> a` and `forall a . a -> a` are the same. |
| 05:45:11 | <Axman6> | most functions have implicit foralls, but there are times where they need to be made explicit |
| 05:45:41 | <jackdk> | most _polymorphic_ functions have implicit `forall`s |
| 05:46:12 | <Axman6> | yeah I meant to write that but typed too fast |
| 05:46:45 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds) |
| 05:47:48 | <Axman6> | an example would be a natural transformation for a monad transformer: hoiseReaderT :: (forall a. m b -> n b) -> ReaderT r m a -> ReaderT r n a - that says that the function passed in explicitly cannot know anything at all about the type a, but gets to choose what the type n is |
| 05:48:05 | <Axman6> | (I guess it also gets to chose the type m) |
| 05:48:20 | <Axman6> | choose* |
| 05:48:23 | <jackdk> | you meant `(forall b. m b -> n b)`, I think |
| 05:48:49 | <Axman6> | uh yes, I went back to change a to be and forgot the forall |
| 05:48:53 | <Axman6> | b* |
| 05:51:05 | <Christoph[m]> | Axman6: But your bar should be the same as bar :: Int -> a -> b -> c with the implicit forall. |
| 05:55:33 | × | tomku quits (~tomku@user/tomku) (Ping timeout: 244 seconds) |
| 05:55:42 | → | tomku joins (~tomku@user/tomku) |
| 06:00:07 | → | mastarija joins (~mastarija@2a05:4f46:e03:6000:b0c6:6951:8666:c637) |
| 06:01:42 | <mastarija> | When working on multiple packages at once, is it possible to tell GHCi to load certain packages as interpreted and follow their updates? |
| 06:06:05 | <mastarija> | I can do something like `ghci -ipackage1:package2 path/to/package2/module.hs` however, it doesn't reinterpret changes from package1 on `:r` |
| 06:11:36 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Ping timeout: 260 seconds) |
| 06:21:40 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 06:21:40 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection) |
| 06:22:00 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 06:22:04 | <c_wraith> | no. Packages are considered to be static in the model ghci uses. |
| 06:22:28 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 06:24:44 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 06:24:49 | → | coot joins (~coot@213.134.176.158) |
| 06:29:31 | → | mmhat joins (~mmh@p200300f1c709e374ee086bfffe095315.dip0.t-ipconnect.de) |
| 06:32:46 | → | ccntrq joins (~Thunderbi@172.209.94.92.rev.sfr.net) |
| 06:33:23 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 268 seconds) |
| 06:35:06 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 06:38:52 | × | famubu quits (~famubu@user/famubu) (Quit: leaving) |
| 06:40:14 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 06:41:44 | × | inversed quits (~inversed@90.209.137.56) (Quit: Connection error?!) |
| 06:46:11 | → | inversed joins (~inversed@90.209.137.56) |
| 06:49:34 | → | alternateved joins (~user@staticline-31-183-146-203.toya.net.pl) |
| 06:53:38 | × | rembo10 quits (~rembo10@main.remulis.com) (Quit: ZNC 1.8.2 - https://znc.in) |
| 06:54:22 | → | rembo10 joins (~rembo10@main.remulis.com) |
| 06:56:01 | → | nate4 joins (~nate@98.45.169.16) |
| 06:56:27 | → | michalz joins (~michalz@185.246.204.75) |
| 06:59:12 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:49e3:1611:d095:6e42) |
| 07:00:56 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 255 seconds) |
| 07:03:02 | <mastarija> | Is there a package like `neat-interpolation` but for `Symbol`? |
| 07:03:48 | → | chele joins (~chele@user/chele) |
| 07:04:56 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 07:07:47 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 07:07:49 | → | kannon joins (~NK@135-180-47-54.fiber.dynamic.sonic.net) |
| 07:10:58 | × | biberu quits (~biberu@user/biberu) (Read error: Connection reset by peer) |
| 07:11:10 | → | acidjnk joins (~acidjnk@p200300d6e7137a36fd31d418e615b863.dip0.t-ipconnect.de) |
| 07:12:16 | × | kannon quits (~NK@135-180-47-54.fiber.dynamic.sonic.net) (Ping timeout: 260 seconds) |
| 07:13:07 | × | son0p quits (~ff@181.136.122.143) (Ping timeout: 248 seconds) |
| 07:13:32 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Ping timeout: 255 seconds) |
| 07:16:47 | → | biberu joins (~biberu@user/biberu) |
| 07:19:43 | → | mima joins (mmh@gateway/vpn/airvpn/mima) |
| 07:21:00 | → | jgeerds joins (~jgeerds@55d46bad.access.ecotel.net) |
| 07:21:01 | <Axman6> | I doubt it - what would you want it to look like? |
| 07:23:55 | <mastarija> | Axman6: type MyTypeLevelString = [tts| Imagine I'm a multiline string... |] |
| 07:25:29 | <mastarija> | It would be nice to have for writing the servant documentation. |
| 07:26:09 | <lortabac> | @hackage symbols -- mastarija |
| 07:26:09 | <lambdabot> | https://hackage.haskell.org/package/symbols -- mastarija |
| 07:27:48 | <lortabac> | I don't think it does interpolation, but I guess something can be built on top of it |
| 07:34:16 | → | lottaquestions_ joins (~nick@2607:fa49:503e:7100:8f8a:99be:1f79:fe99) |
| 07:35:46 | × | lottaquestions quits (~nick@2607:fa49:503e:7100:2f5e:d7ba:dfa9:c7a7) (Ping timeout: 244 seconds) |
| 07:35:57 | → | cfricke joins (~cfricke@user/cfricke) |
| 07:40:01 | <mastarija> | lortabac: hm... doesn't seem like that can help me with avoiding escape characters when building multiline strings, maybe the `concat` on type level lists can be helpful, but I think this needs to be QQ of some sort. |
| 07:46:01 | <Axman6> | symbols aren't type level strings btw |
| 07:47:41 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Quit: No Ping reply in 180 seconds.) |
| 07:48:39 | <Axman6> | I'd hoped that https://hackage.haskell.org/package/type-errors-0.2.0.0/docs/Type-Errors.html would have some helpful stuff, but annoyingly all the type level error stuff is fairly closed - it'd be nice if it let you build symbols and then pass that to an error constructor |
| 07:49:11 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 07:49:36 | <Axman6> | https://hackage.haskell.org/package/type-errors-pretty-0.0.1.2/docs/Type-Errors-Pretty.html is also really close |
| 07:50:35 | <mastarija> | Hm... yes. Using a type operator to denote a newline seems like a good compromise. |
| 07:50:59 | × | elkcl quits (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) (Ping timeout: 248 seconds) |
| 07:51:10 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 07:51:18 | <mastarija> | Thanks Axman6 |
| 07:52:36 | × | cfricke quits (~cfricke@user/cfricke) (Remote host closed the connection) |
| 07:52:46 | → | cfricke joins (~cfricke@user/cfricke) |
| 07:55:47 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 07:55:47 | × | wolfshappen quits (~waff@irc.furworks.de) (Ping timeout: 248 seconds) |
| 07:56:15 | → | wolfshappen joins (~waff@irc.furworks.de) |
| 07:59:28 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 08:00:01 | × | wolfshappen quits (~waff@irc.furworks.de) (Client Quit) |
| 08:01:59 | → | fserucas joins (~fserucas@89.214.149.93) |
| 08:03:03 | → | odnes joins (~odnes@5-203-171-254.pat.nym.cosmote.net) |
| 08:03:30 | → | gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de) |
| 08:03:51 | → | elkcl joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) |
| 08:05:20 | × | econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity) |
| 08:07:37 | × | albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 08:08:37 | → | Kaiepi joins (~Kaiepi@142.68.249.28) |
| 08:09:59 | → | wolfshappen joins (~waff@irc.furworks.de) |
| 08:10:11 | × | remedan quits (~remedan@octo.cafe) (Ping timeout: 248 seconds) |
| 08:10:41 | × | szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 08:13:45 | → | albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 08:14:31 | × | Inst quits (~Inst@2601:6c4:4080:3f80:d8ab:2e91:63f7:db6e) (Ping timeout: 244 seconds) |
| 08:14:37 | → | remedan joins (~remedan@octo.cafe) |
| 08:18:39 | → | toeffel joins (~toeffel@user/toeffel) |
| 08:22:22 | × | odnes quits (~odnes@5-203-171-254.pat.nym.cosmote.net) (Read error: Connection reset by peer) |
| 08:22:24 | → | odnes_ joins (~odnes@5-203-171-254.pat.nym.cosmote.net) |
| 08:23:18 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:6fbb:5547:6b96:ebdd) |
| 08:24:43 | → | elkcl_ joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) |
| 08:26:09 | × | elkcl quits (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru) (Ping timeout: 268 seconds) |
| 08:26:10 | elkcl_ | is now known as elkcl |
| 08:27:47 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 255 seconds) |
| 08:28:10 | × | dsrt^ quits (~dsrt@96.70.11.181) (Remote host closed the connection) |
| 08:28:27 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 08:33:12 | → | zava joins (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) |
| 08:35:56 | × | jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 08:36:07 | × | zava quits (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) (Client Quit) |
| 08:36:19 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
| 08:36:25 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 08:36:31 | → | jpds1 joins (~jpds@gateway/tor-sasl/jpds) |
| 08:36:46 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:6fbb:5547:6b96:ebdd) (Remote host closed the connection) |
| 08:36:50 | → | zava joins (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) |
| 08:37:05 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:9712:80e6:e4f2:63ae) |
| 08:37:45 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 08:37:48 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 08:40:20 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 08:42:56 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 08:50:48 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:9712:80e6:e4f2:63ae) (Remote host closed the connection) |
| 08:52:14 | × | zava quits (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.5) |
| 08:52:42 | → | zava joins (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) |
| 09:01:44 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
| 09:03:15 | → | wonko joins (~wjc@2a0e:1c80:2::130) |
| 09:03:30 | <absence> | the Alternative instance for ExceptT requires a Monoid instance for the error, but i don't want to aggregate the errors, i just need the last one. is there a less cumbersome way to express that than withExceptT getLast (withExceptT Last a <|> withExceptT Last b)? |
| 09:06:36 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 09:09:56 | AlexNoo_ | is now known as AlexNoo |
| 09:12:13 | <tomsmeding> | absence: I don't think so |
| 09:12:35 | × | odnes_ quits (~odnes@5-203-171-254.pat.nym.cosmote.net) (Ping timeout: 252 seconds) |
| 09:12:55 | <tomsmeding> | well, or give your error type a monoid instance that mimics Last :p |
| 09:13:19 | <tomsmeding> | though that only works if it's a custom type, not something like String which already has a Monoid instance |
| 09:13:39 | × | JimL quits (~quassel@89-162-2-132.fiber.signal.no) (Ping timeout: 248 seconds) |
| 09:14:30 | → | odnes joins (~odnes@5-203-171-254.pat.nym.cosmote.net) |
| 09:14:59 | ← | jgeerds parts (~jgeerds@55d46bad.access.ecotel.net) (Leaving) |
| 09:16:28 | → | JimL joins (~quassel@89-162-2-132.fiber.signal.no) |
| 09:17:06 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds) |
| 09:17:25 | × | azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 268 seconds) |
| 09:17:25 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds) |
| 09:17:54 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 09:22:21 | → | son0p joins (~ff@181.136.122.143) |
| 09:23:23 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 09:24:21 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 09:32:00 | → | __monty__ joins (~toonn@user/toonn) |
| 09:34:31 | → | lisbeths joins (uid135845@id-135845.lymington.irccloud.com) |
| 09:37:58 | → | CiaoSen joins (~Jura@p200300c95738a5002a3a4dfffe84dbd5.dip0.t-ipconnect.de) |
| 09:43:27 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 09:45:00 | × | shriekingnoise quits (~shrieking@186.137.167.202) (Quit: Quit) |
| 09:48:10 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds) |
| 09:48:55 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 09:51:15 | × | zava quits (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 09:58:12 | → | eikke joins (~NicolasT@88.126.78.98) |
| 09:58:24 | × | eikke quits (~NicolasT@88.126.78.98) (Quit: leaving) |
| 09:59:03 | → | eikke joins (~NicolasT@88.126.78.98) |
| 10:00:26 | × | alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection) |
| 10:00:43 | × | benin0 quits (~benin@183.82.205.66) (Quit: Ping timeout (120 seconds)) |
| 10:01:03 | → | benin0 joins (~benin@49.206.96.5) |
| 10:04:53 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 268 seconds) |
| 10:06:30 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 10:07:15 | → | akegalj joins (~akegalj@135-40.dsl.iskon.hr) |
| 10:10:36 | <akegalj> | Rust has profile guide optimization mechanism https://doc.rust-lang.org/1.41.1/rustc/profile-guided-optimization.html . Its like compile time JIT. Would something like this be possible and useful with haskell? RTS could generate some additional on multiple program runs and that could be feed back to GHC to guide better optimization |
| 10:11:02 | <akegalj> | additional info* |
| 10:14:51 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds) |
| 10:15:56 | × | xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 244 seconds) |
| 10:16:08 | → | alternateved joins (~user@staticline-31-183-146-203.toya.net.pl) |
| 10:18:24 | × | tvandinther quits (~tvandinth@2404:4408:8740:3800:950f:d0b3:e0d9:5195) (Quit: Client closed) |
| 10:20:06 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:35d:f0e7:df06:8eb4) |
| 10:20:12 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 10:30:02 | → | Franciman joins (~Franciman@mx1.fracta.dev) |
| 10:31:00 | → | merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) |
| 10:34:25 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 268 seconds) |
| 10:39:05 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 10:41:43 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 10:45:42 | × | CiaoSen quits (~Jura@p200300c95738a5002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 264 seconds) |
| 10:46:17 | × | odnes quits (~odnes@5-203-171-254.pat.nym.cosmote.net) (Ping timeout: 268 seconds) |
| 10:46:50 | × | zaquest quits (~notzaques@5.130.79.72) (Remote host closed the connection) |
| 10:48:34 | → | zaquest joins (~notzaques@5.130.79.72) |
| 10:53:22 | → | beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt) |
| 10:56:19 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:35d:f0e7:df06:8eb4) (Remote host closed the connection) |
| 10:57:33 | → | nate4 joins (~nate@98.45.169.16) |
| 10:58:48 | → | zeenk joins (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) |
| 11:02:49 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 11:09:51 | → | luffy joins (~chenqisu1@183.217.200.212) |
| 11:12:47 | × | jinsun quits (~jinsun@user/jinsun) (Ping timeout: 244 seconds) |
| 11:12:58 | × | JimL quits (~quassel@89-162-2-132.fiber.signal.no) (Ping timeout: 240 seconds) |
| 11:15:03 | × | eikke quits (~NicolasT@88.126.78.98) (Ping timeout: 252 seconds) |
| 11:17:18 | → | JimL joins (~quassel@89-162-2-132.fiber.signal.no) |
| 11:17:55 | → | bontaq joins (~user@ool-45779fe5.dyn.optonline.net) |
| 11:19:27 | × | polyphem_ quits (~rod@95.91.254.235) (Ping timeout: 252 seconds) |
| 11:20:22 | → | xff0x joins (~xff0x@2405:6580:b080:900:3788:1bc5:ebdd:8f54) |
| 11:20:53 | <dminuoso> | How would you express the property of near equivalence between "\0x48ello" and "Hello"? |
| 11:20:58 | <dminuoso> | They are isomorphic up to.. <what>? |
| 11:22:40 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 11:23:55 | <dminuoso> | In particular Im not talking about Haskell literals, but rather a string containing the that escape sequence as separate characters. |
| 11:24:50 | → | jinsun joins (~jinsun@user/jinsun) |
| 11:24:50 | → | CiaoSen joins (~Jura@p200300c95738a5002a3a4dfffe84dbd5.dip0.t-ipconnect.de) |
| 11:26:32 | <dminuoso> | Would "isomorphic up to escape sequence equivalence" be suitable? |
| 11:34:27 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 11:35:37 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 11:38:11 | <tomsmeding> | unescape() maps them to the same value |
| 11:38:24 | <tomsmeding> | (presumably) |
| 11:38:46 | <tomsmeding> | dminuoso: not sure how to word that nicely in English :p |
| 11:39:37 | <tomsmeding> | the relation defined by x ~ y <==> f x = f y is an equivalence relation for every total f |
| 11:40:18 | <merijn> | Hold up! |
| 11:40:27 | <tomsmeding> | did I go wrong there |
| 11:40:28 | <merijn> | Hackage supports packages with multiple public libs now? |
| 11:40:33 | <merijn> | :O |
| 11:40:41 | <tomsmeding> | wasn't that still in beta or something |
| 11:40:58 | <tomsmeding> | also if true then rip stack |
| 11:41:13 | <merijn> | tomsmeding: multiple public libs in cabal were experimental, but you couldn't upload them to hackage |
| 11:41:24 | <merijn> | but Cabal 3.8 release notes say it is no more: https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.8.1.0.md |
| 11:41:36 | <merijn> | tomsmeding: What's stack got to do with that? |
| 11:41:45 | <tomsmeding> | stack doesn't support that right? |
| 11:42:08 | <merijn> | Stack doesn't support tons of shit, tbh :p |
| 11:45:28 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 11:47:14 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 11:47:17 | <dminuoso> | Bah, hackage changelog is quite buggy when reuploading candidates with changed changelog. |
| 11:47:25 | <dminuoso> | Stale cache it seems, the changelog.md just wont update.. |
| 11:50:17 | <dminuoso> | Hah, even deleting the candidate and reuploading it wont update the CHANGELOG |
| 11:50:41 | <merijn> | Probably cache by the CDN |
| 11:50:43 | <merijn> | hmm |
| 11:50:50 | <merijn> | The Hackage Matrix builder died? |
| 11:53:17 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 11:54:37 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 11:56:41 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 11:56:56 | × | mima quits (mmh@gateway/vpn/airvpn/mima) (Ping timeout: 260 seconds) |
| 11:58:17 | × | luffy quits (~chenqisu1@183.217.200.212) (Ping timeout: 268 seconds) |
| 11:59:16 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 12:01:32 | × | motersen quits (~motersen@user/motersen) (Remote host closed the connection) |
| 12:03:19 | → | motersen joins (~motersen@user/motersen) |
| 12:05:12 | → | luffy joins (~chenqisu1@183.217.200.212) |
| 12:07:57 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 12:09:59 | × | coot quits (~coot@213.134.176.158) (Quit: coot) |
| 12:11:50 | → | nilradical joins (~nilradica@user/naso) |
| 12:21:06 | × | luffy quits (~chenqisu1@183.217.200.212) (Ping timeout: 268 seconds) |
| 12:22:18 | × | wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 240 seconds) |
| 12:29:36 | × | acidjnk quits (~acidjnk@p200300d6e7137a36fd31d418e615b863.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 12:31:18 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 244 seconds) |
| 12:33:29 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 12:35:30 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 12:41:01 | → | biberu\ joins (~biberu@user/biberu) |
| 12:45:09 | × | biberu quits (~biberu@user/biberu) (Ping timeout: 268 seconds) |
| 12:45:09 | biberu\ | is now known as biberu |
| 12:46:30 | → | jero98772 joins (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) |
| 12:47:50 | → | eikke joins (~NicolasT@88.126.78.98) |
| 12:49:19 | → | instantaphex joins (~jb@c-73-171-252-84.hsd1.fl.comcast.net) |
| 12:49:36 | → | wonko joins (~wjc@2a0e:1c80:2::130) |
| 12:51:08 | → | odnes joins (~odnes@5-203-171-254.pat.nym.cosmote.net) |
| 12:56:54 | × | benin0 quits (~benin@49.206.96.5) (Quit: The Lounge - https://thelounge.chat) |
| 12:58:47 | → | szkl joins (uid110435@id-110435.uxbridge.irccloud.com) |
| 13:00:52 | → | acidjnk joins (~acidjnk@p200300d6e7137a365c791966a49af494.dip0.t-ipconnect.de) |
| 13:01:50 | × | wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 255 seconds) |
| 13:05:11 | → | benin0 joins (~benin@49.206.96.5) |
| 13:05:26 | × | Alex_test quits (~al_test@178.34.150.204) (Quit: ;-) |
| 13:05:43 | × | AlexZenon quits (~alzenon@178.34.150.204) (Quit: ;-) |
| 13:06:26 | × | AlexNoo quits (~AlexNoo@178.34.150.204) (Quit: Leaving) |
| 13:06:31 | × | Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 252 seconds) |
| 13:07:33 | → | ardell joins (~ardell@user/ardell) |
| 13:08:22 | → | Maxdamantus joins (~Maxdamant@user/maxdamantus) |
| 13:09:36 | → | mima joins (~mmh@dhcp-138-246-3-43.dynamic.eduroam.mwn.de) |
| 13:20:04 | × | GoldsteinQ quits (~goldstein@goldstein.rs) (Quit: ZNC 1.8.2 - https://znc.in) |
| 13:20:27 | × | ddellacosta quits (~ddellacos@89.45.224.196) (Ping timeout: 268 seconds) |
| 13:23:03 | → | AlexNoo joins (~AlexNoo@178.34.150.204) |
| 13:24:22 | → | AlexZenon joins (~alzenon@178.34.150.204) |
| 13:27:30 | → | Alex_test joins (~al_test@178.34.150.204) |
| 13:28:30 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 13:28:36 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 13:31:59 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 255 seconds) |
| 13:32:21 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 13:33:45 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 13:33:46 | × | instantaphex quits (~jb@c-73-171-252-84.hsd1.fl.comcast.net) (Ping timeout: 260 seconds) |
| 13:34:24 | → | wonko joins (~wjc@2a0e:1c80:2::130) |
| 13:35:34 | → | coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) |
| 13:38:11 | × | bliminse quits (~bliminse@user/bliminse) (Ping timeout: 248 seconds) |
| 13:38:24 | × | ardell quits (~ardell@user/ardell) (Quit: Leaving) |
| 13:39:58 | → | bliminse joins (~bliminse@user/bliminse) |
| 13:44:49 | → | Pickchea joins (~private@user/pickchea) |
| 13:47:12 | × | Vajb quits (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) (Read error: Connection reset by peer) |
| 13:47:46 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) |
| 13:59:22 | × | jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 13:59:48 | → | jpds1 joins (~jpds@gateway/tor-sasl/jpds) |
| 14:00:56 | × | benin0 quits (~benin@49.206.96.5) (Quit: The Lounge - https://thelounge.chat) |
| 14:02:32 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:49e3:1611:d095:6e42) (Quit: WeeChat 2.8) |
| 14:02:45 | × | odnes quits (~odnes@5-203-171-254.pat.nym.cosmote.net) (Ping timeout: 244 seconds) |
| 14:03:25 | jpds1 | is now known as jpds |
| 14:04:19 | × | ubert quits (~Thunderbi@178.165.182.158.wireless.dyn.drei.com) (Ping timeout: 248 seconds) |
| 14:04:21 | → | shriekingnoise joins (~shrieking@186.137.167.202) |
| 14:05:16 | × | wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 260 seconds) |
| 14:05:31 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 14:05:53 | → | odnes joins (~odnes@5-203-171-254.pat.nym.cosmote.net) |
| 14:06:01 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds) |
| 14:07:33 | → | zebrag joins (~chris@user/zebrag) |
| 14:08:31 | → | img joins (~img@user/img) |
| 14:11:05 | → | stef204 joins (~stef204@user/stef204) |
| 14:14:53 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 14:14:59 | × | Pickchea quits (~private@user/pickchea) (Quit: Leaving) |
| 14:18:57 | → | GoldsteinQ joins (~goldstein@goldstein.rs) |
| 14:18:58 | × | mmhat quits (~mmh@p200300f1c709e374ee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 3.6) |
| 14:20:58 | → | zava joins (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) |
| 14:23:30 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.6) |
| 14:24:44 | × | cheater quits (~Username@user/cheater) (Read error: Connection reset by peer) |
| 14:25:24 | → | cheater joins (~Username@user/cheater) |
| 14:26:49 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 14:27:19 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 14:29:43 | → | img joins (~img@user/img) |
| 14:35:05 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 14:35:51 | × | akegalj quits (~akegalj@135-40.dsl.iskon.hr) (Quit: leaving) |
| 14:37:12 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:43db:419a:3d2f:4053) |
| 14:38:09 | × | odnes quits (~odnes@5-203-171-254.pat.nym.cosmote.net) (Read error: Connection reset by peer) |
| 14:38:34 | → | odnes joins (~odnes@5-203-171-254.pat.nym.cosmote.net) |
| 14:40:18 | × | beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Read error: Connection reset by peer) |
| 14:40:28 | <merijn> | Man...don't you hate finishing a simple feature and then realising...shit, I gotta write tests... |
| 14:40:40 | → | beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt) |
| 14:42:15 | → | beteigeuze1 joins (~Thunderbi@bl11-28-222.dsl.telepac.pt) |
| 14:42:15 | × | beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Read error: Connection reset by peer) |
| 14:42:16 | beteigeuze1 | is now known as beteigeuze |
| 14:42:39 | × | stef204 quits (~stef204@user/stef204) (Quit: WeeChat 3.6) |
| 14:44:21 | × | acidjnk quits (~acidjnk@p200300d6e7137a365c791966a49af494.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 14:45:00 | <segfaultfizzbuzz> | just model it in coq instead |
| 14:47:02 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:43db:419a:3d2f:4053) (Ping timeout: 252 seconds) |
| 14:51:27 | → | shapr joins (~user@2601:7c0:c383:70:5395:f9cf:31e7:c609) |
| 14:52:30 | × | causal quits (~user@2001:470:ea0f:3:329c:23ff:fe3f:1e0e) (Quit: WeeChat 3.6) |
| 14:53:41 | × | zava quits (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds) |
| 14:58:41 | → | fef joins (~thedawn@user/thedawn) |
| 14:59:04 | → | nate4 joins (~nate@98.45.169.16) |
| 14:59:35 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds) |
| 14:59:40 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:125:afdc:8393:2327) |
| 15:03:56 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 15:07:35 | × | hgolden quits (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) (Remote host closed the connection) |
| 15:08:59 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 15:10:29 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 15:12:13 | → | rustisafungus joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 15:13:23 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 252 seconds) |
| 15:14:14 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 15:23:06 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds) |
| 15:24:01 | × | CiaoSen quits (~Jura@p200300c95738a5002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 15:24:07 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 15:25:07 | → | acidjnk joins (~acidjnk@p200300d6e7137a442d4bcc663cf92581.dip0.t-ipconnect.de) |
| 15:25:25 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:125:afdc:8393:2327) (Remote host closed the connection) |
| 15:25:44 | → | yvan-sraka joins (~yvan-srak@2a02:2788:224:71c:eac3:a8e7:41c2:1556) |
| 15:26:42 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 15:27:20 | × | beteigeuze quits (~Thunderbi@bl11-28-222.dsl.telepac.pt) (Ping timeout: 268 seconds) |
| 15:32:21 | → | haskell_ joins (~haskell@65-102-32-32.ptld.qwest.net) |
| 15:32:41 | × | haskell_ quits (~haskell@65-102-32-32.ptld.qwest.net) (Remote host closed the connection) |
| 15:33:34 | × | waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 268 seconds) |
| 15:33:36 | → | wonko joins (~wjc@2a0e:1c80:2::130) |
| 15:35:13 | × | lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity) |
| 15:37:59 | × | ccntrq quits (~Thunderbi@172.209.94.92.rev.sfr.net) (Quit: ccntrq) |
| 15:40:55 | × | merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 244 seconds) |
| 15:42:02 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 15:42:41 | × | nilradical quits (~nilradica@user/naso) () |
| 15:43:18 | → | gustik joins (~gustik@2a01:c844:2457:2220:475d:34f:d571:996f) |
| 15:46:27 | × | rustisafungus quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds) |
| 15:47:46 | × | motersen quits (~motersen@user/motersen) (Ping timeout: 268 seconds) |
| 15:48:58 | → | motersen joins (~motersen@user/motersen) |
| 15:51:12 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 15:51:52 | → | vysn joins (~vysn@user/vysn) |
| 15:54:25 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 15:54:43 | → | hgolden joins (~hgolden2@cpe-172-251-233-141.socal.res.rr.com) |
| 15:55:49 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 16:00:41 | × | gustik quits (~gustik@2a01:c844:2457:2220:475d:34f:d571:996f) (Quit: Leaving) |
| 16:02:44 | → | ccntrq joins (~Thunderbi@172.209.94.92.rev.sfr.net) |
| 16:04:39 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 16:08:49 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 16:11:28 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 16:11:38 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 16:12:29 | → | merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) |
| 16:15:36 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection) |
| 16:15:48 | → | zxx7529 joins (~Thunderbi@user/zxx7529) |
| 16:16:07 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds) |
| 16:22:24 | × | ccntrq quits (~Thunderbi@172.209.94.92.rev.sfr.net) (Remote host closed the connection) |
| 16:27:28 | × | yvan-sraka quits (~yvan-srak@2a02:2788:224:71c:eac3:a8e7:41c2:1556) (Remote host closed the connection) |
| 16:30:11 | × | eikke quits (~NicolasT@88.126.78.98) (Ping timeout: 255 seconds) |
| 16:30:35 | → | lyle joins (~lyle@104.246.145.85) |
| 16:31:50 | → | MajorBiscuit joins (~MajorBisc@62-71-185.netrun.cytanet.com.cy) |
| 16:35:25 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 16:35:26 | × | zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection) |
| 16:36:46 | → | slack1256 joins (~slack1256@191.126.227.212) |
| 16:37:17 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) |
| 16:38:36 | → | Tuplanolla joins (~Tuplanoll@91-159-69-12.elisa-laajakaista.fi) |
| 16:40:42 | <slack1256> | I got a module that compiles correctly but loads slowly (or doesn't event load) on ghci. How would I diagnose what is happening? the `--verbose` flag doesn't print per module output. |
| 16:41:05 | × | fserucas quits (~fserucas@89.214.149.93) (Quit: Leaving) |
| 16:41:28 | <Rembane_> | slack1256: Remove half of it and see if it suddenly is fast. <- stupid way, I bet there are better ones. |
| 16:41:44 | <sm> | slack1256: watch memory usage with top or ghci +RTS -s, maybe |
| 16:41:56 | sm | likes Rembane_'s way |
| 16:43:06 | <danso> | is there a name for flip at the type level? |
| 16:43:31 | <danso> | e. g. something that turns [(Maybe(a)] into Maybe([a]) |
| 16:43:56 | × | merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds) |
| 16:44:35 | × | hays quits (rootvegeta@fsf/member/hays) () |
| 16:44:45 | <geekosaur> | there is type level Flip somewhere |
| 16:44:58 | × | vysn quits (~vysn@user/vysn) (Quit: WeeChat 3.5) |
| 16:45:04 | <geekosaur> | it's not especially friendly iirc |
| 16:45:10 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 16:45:35 | → | hays joins (rootvegeta@fsf/member/hays) |
| 16:47:30 | <geekosaur> | https://hackage.haskell.org/package/bifunctors/docs/Data-Bifunctor-Flip.html |
| 16:48:16 | → | econo joins (uid147250@user/econo) |
| 16:51:07 | <geekosaur> | at least I think that's it. if not, try https://hackage.haskell.org/package/TypeCompose/docs/Control-Compose.html#t:Flip |
| 16:51:11 | <albet70> | what's the different between 'return' and 'cont' in Cont |
| 16:51:35 | <slack1256> | sm: Memory usage is constant. |
| 16:52:26 | <albet70> | cont :: (a->r)->r :: Cont r a |
| 16:52:42 | <sm> | try a different ghc version / check ghc changelog for compilation bugs your code might trigger ? |
| 16:53:16 | <sm> | s/compilation// |
| 16:53:17 | <albet70> | return :: a -> Cont r a |
| 16:54:14 | <geekosaur> | albet70, looks to me from that that return lifts a value into a continuation, while cont defines one? |
| 16:54:21 | <geekosaur> | @unmtl Cont r a |
| 16:54:21 | <lambdabot> | (a -> r) -> r |
| 16:55:54 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 16:55:56 | <geekosaur> | (`cont` would be the same as wrapping a `(a -> r) -> r` in a constructor, except that the actual constructor is `ContT` in `ContT r Identity a`. similarly there's `state` for `State s a`.) |
| 16:57:05 | <geekosaur> | (so back in mtl1 it would have been `Cont ((a -> r) -> r)`m but there's no `Cont` constructor any more) |
| 16:59:55 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 16:59:58 | × | ryantrinkle quits (~ryan@2607:f00:3:14c0:7c6b:7160:d1ff:3f7) (Ping timeout: 244 seconds) |
| 17:01:16 | <shapr> | @quote |
| 17:01:16 | <lambdabot> | SnackThunder says: I told my actual dog I loved him and I was like it's gay marrige fault |
| 17:01:23 | <shapr> | uh, what? |
| 17:01:32 | <shapr> | ok then |
| 17:01:44 | <shapr> | good morning? |
| 17:01:47 | <Rembane_> | I wonder if there's a context there |
| 17:01:49 | <Rembane_> | Hi shapr ! |
| 17:01:57 | <shapr> | hi Rembane_ ! How's code treating you? |
| 17:02:27 | <shapr> | I'm probably the one who added that quote, I just don't remember the context |
| 17:03:08 | <Rembane_> | shapr: Code is fine, but a bit too much, I'm hacking Elixir at daytime and Python at night time! :D |
| 17:03:12 | <Rembane_> | shapr: How's code treating you? |
| 17:03:43 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 17:04:13 | <Rembane_> | shapr: I find that quote slightly offensive, so deleting it might not be a bad idea. :) |
| 17:04:36 | <albet70> | k = (return $ \x -> x+3) <*> (return 3); runCont k id == 6 |
| 17:05:26 | <albet70> | k = (cont $ \x -> x+3) <*> (cont $ \x -> x 3) is wrong |
| 17:05:44 | <albet70> | return 3 == cont $ \x -> x 3? |
| 17:08:29 | <shapr> | @forget SnackThunder I told my actual dog I loved him and I was like it's gay marrige fault |
| 17:08:29 | <lambdabot> | Done. |
| 17:08:38 | <shapr> | Rembane_: I also find it offensive, good idea |
| 17:08:53 | <shapr> | Have I mentioned that I'm trying to rename cabal packages to CABBAGES? |
| 17:09:02 | <shapr> | I think that needs to be the official name. |
| 17:09:07 | <Rembane_> | shapr: Yay! |
| 17:09:31 | <Rembane_> | shapr: That is the best idea! :D |
| 17:09:45 | shapr | bounces cheerfully |
| 17:09:46 | <shapr> | I think so too |
| 17:09:56 | sm | 's head explodes at the alternate Haskell universe that just popped into the multiverse |
| 17:10:05 | <shapr> | hi sm! How's code? |
| 17:10:38 | → | gmg joins (~user@user/gehmehgeh) |
| 17:10:55 | <sm> | hi shapr! 5 days to find a name shadowing bug, but it's fine |
| 17:11:00 | → | merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) |
| 17:11:05 | <shapr> | sm: wow, that sounds challenging |
| 17:11:46 | <shapr> | sm: how'd you track it down? |
| 17:12:03 | <sm> | but seriously.. if they had been called cabbages from the beginning, imagine the alternate timeline.. we'd have had cute logos, mascots, a whole different audience |
| 17:12:16 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 17:12:53 | <shapr> | we can chance it now? |
| 17:13:04 | <shapr> | lots of avatar memes about cabbages? |
| 17:13:19 | <geekosaur[m]> | albet70: I'd say `cont` creates a continuation while `return` lifts a value into it, and trying to relate them that way is going to cause problems |
| 17:13:52 | <geekosaur[m]> | But I'm not an expert on Cont |
| 17:14:00 | <sm> | shapr: dimly, doggedly! did a bunch of work to add more debug logging to a brick application, used the new breakpoint library, inspected all kinds of things, studied brick internals.. finally noticed a refactor that had gone wrong |
| 17:14:21 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 17:14:28 | <geekosaur[m]> | Every so often I rediscover how Cont works and then forget it again |
| 17:14:40 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 268 seconds) |
| 17:15:36 | <shapr> | sm: do you think git bisect would have helped? |
| 17:15:46 | <albet70> | geekosaur[m] , me too |
| 17:16:03 | <albet70> | too difficult to use |
| 17:16:31 | <sm> | too painful, as usual - at the very least it would have required installing a ton of ghc versions and deps. The bug was actually introduced 4 years ago |
| 17:18:11 | × | MajorBiscuit quits (~MajorBisc@62-71-185.netrun.cytanet.com.cy) (Quit: WeeChat 3.5) |
| 17:18:25 | × | gmg quits (~user@user/gehmehgeh) (Ping timeout: 268 seconds) |
| 17:19:14 | × | wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 255 seconds) |
| 17:20:03 | → | gmg joins (~user@user/gehmehgeh) |
| 17:21:03 | × | chele quits (~chele@user/chele) (Remote host closed the connection) |
| 17:21:10 | <sm> | o well some lessons learned ? 1. enable the name-shadowing warning everywhere; 2. always test PRs, use a manual test script if necessary; 3. debug logging to a file is important for brick apps 4. breakpoint lib is good 5. debug with a fresh mind 6. try to make git bisect easier.. |
| 17:21:49 | × | mbuf quits (~Shakthi@122.165.55.71) (Quit: Leaving) |
| 17:22:33 | <dolio> | #1 just encourages the opposite bug. |
| 17:23:13 | <sm> | yes git bisect would have been quicker, but I didn't know that then :) |
| 17:23:23 | <sm> | how's that dolio ? |
| 17:24:49 | <sm> | it creates some code noise, seems a bit ugly sometimes, but safer |
| 17:24:50 | <dolio> | The opposite bug is where you reference something after it should not longer be used, because you didn't shadow it with the new, current value. |
| 17:25:01 | <dolio> | Those bugs aren't uncommon, either. |
| 17:25:03 | <sm> | hrm |
| 17:26:16 | <pareto-optimal-d> | dolio: If it shouldn't be used, why is it in scope? |
| 17:26:50 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec) |
| 17:26:52 | <geekosaur> | because there's no convenient way to "de-scope" something |
| 17:26:55 | <pareto-optimal-d> | * If it shouldn't be used, why is it in scope? |
| 17:26:55 | <pareto-optimal-d> | Having a hard time imaging an example is all. |
| 17:26:59 | <pareto-optimal-d> | * If it shouldn't be used, why is it in scope? |
| 17:26:59 | <pareto-optimal-d> | Having a hard time imagining an example is all. |
| 17:27:04 | sm | thinks the intent will be clearer and bugs easier to spot with distinct names.. will have to find out |
| 17:27:21 | <geekosaur> | except to exit a scope and lose everything in that scope, not just the one value that is now out of date |
| 17:27:21 | × | Kaiepi quits (~Kaiepi@142.68.249.28) (Ping timeout: 244 seconds) |
| 17:27:31 | <dolio> | \x -> do x1 <- ... x ... ; e |
| 17:27:50 | <dolio> | `x` doesn't go out of scope in `e` just because `x1` exists. |
| 17:28:50 | <pareto-optimal-d> | Ah, I see. Thanks. Now to think on it for a bit... |
| 17:28:54 | → | Kaiepi joins (~Kaiepi@142.68.249.28) |
| 17:31:26 | <pareto-optimal-d> | x1 <- do ...; pure x; e x1 |
| 17:31:26 | <pareto-optimal-d> | Descope like this? It can be tedious sometimes but is usually fine. |
| 17:31:46 | <pareto-optimal-d> | s/;// |
| 17:32:52 | <pareto-optimal-d> | * (x1,..., y4) <- do... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/d3f38b0e1419eec79ab4ce6aa26501024b4d4313) |
| 17:33:25 | <pareto-optimal-d> | * (x1,..., y4) <- do... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/bc6fa274cce75a25641b493132e4b4d8bdc3087c) |
| 17:33:48 | <pareto-optimal-d> | * (x1,..., y4) <- do... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/a13e39d5abf082bd8d266adcd9857855099467c9) |
| 17:34:15 | <dolio> | Are you sending multiple messages, or is the matrix bridge just freaking out? |
| 17:34:17 | <pareto-optimal-d> | Or I guess factoring into a function at that point might also work. |
| 17:34:30 | <geekosaur> | that's the matrix bridge handling edits and code blocks poorly |
| 17:34:40 | <pareto-optimal-d> | I edited the one 5 times |
| 17:35:04 | <pareto-optimal-d> | Sorry, wasn't aware but will try avoiding that in the future. |
| 17:36:13 | → | Midjak joins (~Midjak@82.66.147.146) |
| 17:39:21 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Ping timeout: 260 seconds) |
| 17:42:25 | → | Vajb joins (~Vajb@2001:999:705:3c86:e7ea:442b:1e01:22d8) |
| 17:42:28 | → | slac65557 joins (~slack1256@186.11.101.181) |
| 17:44:23 | × | merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds) |
| 17:44:36 | × | slack1256 quits (~slack1256@191.126.227.212) (Ping timeout: 260 seconds) |
| 17:45:00 | × | slac65557 quits (~slack1256@186.11.101.181) (Remote host closed the connection) |
| 17:48:45 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Quit: WeeChat 3.6) |
| 17:49:44 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 17:50:39 | × | motersen quits (~motersen@user/motersen) (Remote host closed the connection) |
| 17:51:22 | → | motersen joins (~motersen@user/motersen) |
| 17:53:44 | → | PiDelport joins (uid25146@id-25146.lymington.irccloud.com) |
| 17:59:05 | × | odnes quits (~odnes@5-203-171-254.pat.nym.cosmote.net) (Read error: Connection reset by peer) |
| 17:59:18 | → | odnes joins (~odnes@5-203-171-254.pat.nym.cosmote.net) |
| 18:02:36 | × | hays quits (rootvegeta@fsf/member/hays) () |
| 18:06:35 | × | mima quits (~mmh@dhcp-138-246-3-43.dynamic.eduroam.mwn.de) (Ping timeout: 268 seconds) |
| 18:08:13 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 18:08:22 | → | hays joins (rootvegeta@fsf/member/hays) |
| 18:12:07 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 18:13:02 | → | ardell joins (~ardell@user/ardell) |
| 18:30:23 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds) |
| 18:32:53 | → | Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915) |
| 18:33:13 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 252 seconds) |
| 18:33:36 | × | fef quits (~thedawn@user/thedawn) (Remote host closed the connection) |
| 18:34:08 | Lord_of_Life_ | is now known as Lord_of_Life |
| 18:36:13 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 18:41:48 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:b83b:5caf:dd47:72d1) |
| 18:42:17 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 18:43:16 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 18:48:21 | → | ryantrinkle joins (~ryan@2607:f00:3:14c0:7c6b:7160:d1ff:3f7) |
| 18:50:42 | → | ardell_ joins (~ardell@user/ardell) |
| 18:51:10 | → | azimut joins (~azimut@gateway/tor-sasl/azimut) |
| 18:53:26 | × | ardell quits (~ardell@user/ardell) (Ping timeout: 260 seconds) |
| 18:56:14 | → | shapr` joins (~user@68.54.166.125) |
| 18:57:38 | → | merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) |
| 18:57:46 | × | shapr quits (~user@2601:7c0:c383:70:5395:f9cf:31e7:c609) (Ping timeout: 244 seconds) |
| 18:59:32 | × | odnes quits (~odnes@5-203-171-254.pat.nym.cosmote.net) (Remote host closed the connection) |
| 18:59:39 | → | odnes_ joins (~odnes@5-203-171-254.pat.nym.cosmote.net) |
| 19:00:37 | → | nate4 joins (~nate@98.45.169.16) |
| 19:01:51 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 19:05:29 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 252 seconds) |
| 19:13:57 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 19:14:59 | → | akegalj joins (~akegalj@135-40.dsl.iskon.hr) |
| 19:19:38 | → | waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) |
| 19:22:31 | → | notzmv joins (~zmv@user/notzmv) |
| 19:22:51 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:b83b:5caf:dd47:72d1) (Quit: WeeChat 2.8) |
| 19:23:03 | × | justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 268 seconds) |
| 19:25:59 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 19:26:45 | × | merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 252 seconds) |
| 19:35:05 | × | ardell_ quits (~ardell@user/ardell) (Quit: Leaving) |
| 19:35:48 | shapr` | is now known as shapr |
| 19:37:39 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 19:38:23 | → | kenran joins (~kenran@200116b82befa500a901b287fe01061a.dip.versatel-1u1.de) |
| 19:38:23 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds) |
| 19:39:37 | → | Pickchea joins (~private@user/pickchea) |
| 19:40:14 | → | Feuermagier joins (~Feuermagi@user/feuermagier) |
| 19:41:38 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 19:42:44 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 19:48:12 | × | odnes_ quits (~odnes@5-203-171-254.pat.nym.cosmote.net) (Quit: Leaving) |
| 19:52:40 | × | alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Read error: Connection reset by peer) |
| 19:54:42 | × | toeffel quits (~toeffel@user/toeffel) (Quit: quit) |
| 19:57:05 | × | econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity) |
| 20:02:22 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 20:04:13 | → | pavonia joins (~user@user/siracusa) |
| 20:05:51 | → | econo joins (uid147250@user/econo) |
| 20:07:46 | → | acarrico joins (~acarrico@dhcp-68-142-48-19.greenmountainaccess.net) |
| 20:07:53 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 20:07:54 | → | merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) |
| 20:12:35 | × | merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 252 seconds) |
| 20:14:15 | × | g quits (x@libera/staff/glguy) (Quit: done) |
| 20:15:24 | × | califax quits (~califax@user/califx) (Ping timeout: 268 seconds) |
| 20:15:47 | → | califax joins (~califax@user/califx) |
| 20:18:17 | × | jespada quits (~jespada@181.28.113.105) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 20:18:56 | → | wonko joins (~wjc@2a0e:1c80:2::130) |
| 20:22:00 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 20:22:09 | <lyle> | geekosaur, monochrom, qrpnxz: I solved my problem. If you're interested, https://paste.tomsmeding.com/CucAJwLP |
| 20:22:15 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 20:22:50 | <lyle> | It uses Conduit now instead of Pipes, but the solution is nearly identical for Pipes. |
| 20:23:36 | <qrpnxz> | have you checked if it's better to lift conduit into state and then eval state from the outside? |
| 20:23:41 | <qrpnxz> | congrats tho |
| 20:23:50 | → | jargon joins (~jargon@184.101.169.20) |
| 20:23:59 | <qrpnxz> | (i think it would be better but it'd be nice to know for sure) |
| 20:24:28 | <qrpnxz> | lyle: |
| 20:26:09 | → | merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) |
| 20:28:03 | → | jespada joins (~jespada@181.28.113.105) |
| 20:28:04 | × | jespada quits (~jespada@181.28.113.105) (Client Quit) |
| 20:28:14 | → | bilegeek joins (~bilegeek@2600:1008:b007:f584:c94c:3ef8:b0dd:8e8e) |
| 20:30:43 | <lyle> | qrpnxz: I'm too much of a beginner in Haskell to judge whether that approach would be better, sorry. |
| 20:31:33 | <qrpnxz> | dw even i'm not sure. Was hoping you had a benchmark ready and you could try both approaches, but if you don't wanna bother no problem. |
| 20:33:09 | <qrpnxz> | the thing with hoist is that it has to reify the conduit pipe and then rebuild into CPS, but if you did it the other way then the conduit is never rebuilt unless i missed something |
| 20:33:57 | <qrpnxz> | and you wouldn't be lifting your state operations, instead only liftIO and then lifting the yield |
| 20:36:53 | <sshine> | the readme example from 'bincode' wraps a vector in a struct; is that so derived Serialize/Deserialize work better? |
| 20:38:26 | × | wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 260 seconds) |
| 20:46:53 | → | nuh^ joins (~nuh@96.70.11.181) |
| 20:48:48 | × | kenran quits (~kenran@200116b82befa500a901b287fe01061a.dip.versatel-1u1.de) (Quit: WeeChat info:version) |
| 20:53:23 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 248 seconds) |
| 20:59:58 | × | lyle quits (~lyle@104.246.145.85) (Quit: WeeChat 3.6) |
| 21:00:57 | × | merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds) |
| 21:01:35 | <akegalj> | what is the runtime complexity of Data.Vector.Unboxed.modify https://hackage.haskell.org/package/vector-0.13.0.0/docs/Data-Vector-Unboxed.html#v:modify . Is it O(n) as it has to copy the vector? |
| 21:02:28 | × | bilegeek quits (~bilegeek@2600:1008:b007:f584:c94c:3ef8:b0dd:8e8e) (Remote host closed the connection) |
| 21:02:54 | → | bilegeek joins (~bilegeek@2600:1008:b007:f584:c94c:3ef8:b0dd:8e8e) |
| 21:03:07 | <akegalj> | "The operation will be performed in place if it is safe to do so" - when is it safe to do so? |
| 21:03:26 | × | nuh^ quits (~nuh@96.70.11.181) (Remote host closed the connection) |
| 21:05:18 | × | Tuplanolla quits (~Tuplanoll@91-159-69-12.elisa-laajakaista.fi) (Ping timeout: 268 seconds) |
| 21:05:22 | → | zava joins (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) |
| 21:06:00 | → | nate4 joins (~nate@98.45.169.16) |
| 21:08:10 | → | Tuplanolla joins (~Tuplanoll@91-159-69-12.elisa-laajakaista.fi) |
| 21:08:17 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 21:08:43 | <geekosaur[m]> | When nothing else is holding a reference to it |
| 21:08:45 | <qrpnxz> | ah nice. So looking at the implementation, it looks like in the worse case it will just make a copy, but in a streaming context it could be able to fuse with other operations or as it's consumed? |
| 21:11:15 | <akegalj> | geekosaur[m]: my understanding that nothing is holding a reference at the end of the function, when it goes out of scope |
| 21:11:26 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 268 seconds) |
| 21:11:33 | <geekosaur[m]> | I think so |
| 21:12:19 | <qrpnxz> | vector has no way to know that though |
| 21:18:39 | → | mima joins (mmh@gateway/vpn/airvpn/mima) |
| 21:20:06 | justache | is now known as justDeez |
| 21:21:20 | × | bilegeek quits (~bilegeek@2600:1008:b007:f584:c94c:3ef8:b0dd:8e8e) (Quit: Leaving) |
| 21:27:28 | <qrpnxz> | oh, here is one example where it won't copy. If you created a new vector using `new`, then fed that into `modify`, the `clone . new` would fuse and never clone, simply feeding the vec directly into modify. akegalj |
| 21:28:54 | <qrpnxz> | i think (clone (new p)) = p is the only rule that would get rid of the clone (but idk 100%) |
| 21:42:47 | <qrpnxz> | oh i found a key place were `new` shows up: unstream! So yeah, if you have are doing a modify into a streamed vector, the rule will delete the clone |
| 21:43:06 | <dolio> | Yes, it is a static phenomenon. |
| 21:45:51 | × | pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5) |
| 21:48:22 | <qrpnxz> | so for example reverse = unstream . streamR, unstream = new . New.unstream, so reverse = new . New.unstream . streamR. Then New.unstream . streamR . new = New.modify M.reverse. So reverse . new turns into new . New.modify M.reverse. So if you say created a new vector, then reversed it, then did G.modify on it, you'd end up with new . New.modify p . New.modify M.reverse. You create the vector once |
| 21:48:24 | <qrpnxz> | modify twice in place. |
| 21:48:26 | <qrpnxz> | pretty neat |
| 21:50:10 | → | eikke joins (~NicolasT@88.126.78.98) |
| 21:51:22 | <qrpnxz> | so you'll get fusion with `reverse`, `update`, `scanl`, this kind of thing |
| 21:51:44 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 21:51:58 | → | nate4 joins (~nate@98.45.169.16) |
| 21:53:37 | × | zeenk quits (~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!) |
| 21:53:46 | × | Tuplanolla quits (~Tuplanoll@91-159-69-12.elisa-laajakaista.fi) (Quit: Leaving.) |
| 21:57:11 | × | nate4 quits (~nate@98.45.169.16) (Ping timeout: 260 seconds) |
| 22:00:06 | × | acidjnk quits (~acidjnk@p200300d6e7137a442d4bcc663cf92581.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 22:10:57 | → | beteigeuze joins (~Thunderbi@bl11-28-222.dsl.telepac.pt) |
| 22:16:14 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 22:21:06 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 260 seconds) |
| 22:22:20 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 22:23:12 | × | motersen quits (~motersen@user/motersen) (Remote host closed the connection) |
| 22:23:12 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
| 22:23:13 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 22:23:27 | → | wonko joins (~wjc@2a0e:1c80:2::130) |
| 22:24:06 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 22:24:08 | → | segfaultfizzbuzz joins (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) |
| 22:24:11 | → | motersen joins (~motersen@user/motersen) |
| 22:25:10 | × | hays quits (rootvegeta@fsf/member/hays) () |
| 22:25:30 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 22:25:50 | → | [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470) |
| 22:26:28 | → | hays joins (~rootveget@fsf/member/hays) |
| 22:26:56 | × | zava quits (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds) |
| 22:31:01 | × | wonko quits (~wjc@2a0e:1c80:2::130) (Ping timeout: 260 seconds) |
| 22:31:12 | <akegalj> | qrpnxz: you got all that from reading rewrite rules? I guess `streamR` `unstream` from above are implementation details, not something for end user? |
| 22:32:55 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec) |
| 22:35:53 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 22:36:26 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 22:37:54 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 22:38:16 | × | coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot) |
| 22:38:58 | → | coot joins (~coot@213.134.176.158) |
| 22:39:34 | → | zava joins (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) |
| 22:39:49 | × | michalz quits (~michalz@185.246.204.75) (Remote host closed the connection) |
| 22:39:58 | × | coot quits (~coot@213.134.176.158) (Client Quit) |
| 22:40:04 | → | aeka joins (~aeka@user/hiruji) |
| 22:42:41 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 22:43:31 | → | coot joins (~coot@213.134.176.158) |
| 22:48:25 | × | coot quits (~coot@213.134.176.158) (Ping timeout: 252 seconds) |
| 22:48:52 | × | Pickchea quits (~private@user/pickchea) (Quit: Leaving) |
| 22:55:06 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 22:56:33 | × | zava quits (~zava@ip5f5bdf97.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.5) |
| 22:56:43 | → | merijn joins (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) |
| 22:58:21 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 22:58:49 | × | motersen quits (~motersen@user/motersen) (Ping timeout: 268 seconds) |
| 22:59:15 | → | motersen joins (~motersen@user/motersen) |
| 23:01:07 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds) |
| 23:03:06 | × | xff0x quits (~xff0x@2405:6580:b080:900:3788:1bc5:ebdd:8f54) (Ping timeout: 260 seconds) |
| 23:03:36 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
| 23:04:05 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 23:05:14 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 23:10:26 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 23:11:55 | → | dsrt^ joins (~dsrt@96.70.11.181) |
| 23:12:23 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 23:14:50 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 23:17:14 | × | Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep) |
| 23:18:37 | × | bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 268 seconds) |
| 23:20:50 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 23:25:16 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds) |
| 23:25:24 | <johnw> | is there any tool to extracts a rather plain BNF from a happy grammar? |
| 23:25:27 | × | dsrt^ quits (~dsrt@96.70.11.181) (Ping timeout: 252 seconds) |
| 23:27:12 | <Axman6> | @check \l -> unlines (lines l) == l |
| 23:27:13 | <lambdabot> | *** Failed! Falsifiable (after 2 tests and 1 shrink): |
| 23:27:13 | <lambdabot> | "\1076642" |
| 23:28:16 | <qrpnxz> | akegalj: yeah, i just looked at the source. stream and unstream and such aren't exposed i think (I'll check real quick), but looks like Stream, Bundle, New, are public API at the moment. |
| 23:28:26 | <geekosaur> | > generalCategory '\1076642' |
| 23:28:27 | <lambdabot> | PrivateUse |
| 23:29:46 | <qrpnxz> | actually, even stream and stuff is exposed now at Data.Vector.Generic |
| 23:30:52 | <qrpnxz> | basically when you go to a module like Unboxed, all the functions there look like `modify = G.modify` it unlines the generic version right there, then the generic version will be made up of a different special functions based on New, Bundle and such, and there's a lot of RULES that fuse these |
| 23:31:06 | <qrpnxz> | s/unlines/inlines |
| 23:31:25 | × | merijn quits (~merijn@c-001-001-007.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds) |
| 23:31:51 | → | codaraxis joins (~codaraxis@user/codaraxis) |
| 23:32:17 | × | crns quits (~netcrns@user/crns) (Quit: wawawooie) |
| 23:32:26 | <qrpnxz> | forget about Stream, the relevant type here is Bundle. stream :: Vector v a => v a -> Bundle v a |
| 23:32:34 | → | crns joins (~netcrns@p5dc33cc7.dip0.t-ipconnect.de) |
| 23:32:35 | × | crns quits (~netcrns@p5dc33cc7.dip0.t-ipconnect.de) (Changing host) |
| 23:32:35 | → | crns joins (~netcrns@user/crns) |
| 23:34:40 | → | xff0x joins (~xff0x@ap007189.d.east.v6connect.net) |
| 23:35:02 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 23:36:11 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
| 23:36:18 | → | matthewmosior joins (~matthewmo@173.170.253.91) |
| 23:36:23 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 23:38:53 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 23:39:52 | <qrpnxz> | oh i see what bundle is doing. Okay so what bundle does is it captures a vector as just a vector, or a stream of `a`, or a stream of chunks and so on. As your operations get fused, some of them will work with all representations, some with only a few, some only with vector. At some point the optimal representation will be inline and the rest thrown away. This is how Conduit fusion works as well. |
| 23:40:06 | <qrpnxz> | s/or/and |
| 23:40:17 | × | jero98772 quits (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) (Remote host closed the connection) |
| 23:40:26 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds) |
| 23:40:56 | <qrpnxz> | rather sophisticated lib |
| 23:42:49 | ChanServ | sets mode +o litharge |
| 23:42:49 | litharge | sets mode -bo riverside!~riverside@213.205.241.143 litharge |
| 23:45:04 | × | califax quits (~califax@user/califx) (Ping timeout: 268 seconds) |
| 23:45:35 | → | califax joins (~califax@user/califx) |
| 23:45:41 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds) |
| 23:51:41 | <akegalj> | qrpnxz: thanks, will look into that |
| 23:51:42 | <qrpnxz> | it's nice that it's exposed because in a lib you could have a function that returns what looks like a vector, but when you inline it it's actually an unstreamed Bundle with optimized stream of items, stream of chunks, vector. Then if the user was streaming your result, the vector never gets created, but if they actually wanted a vector, they'd have it. Not that that's the best way to do it. |
| 23:51:45 | <qrpnxz> | Perhaps explicitly returning a Bundle would be better, but hey if you wanted a simple Vector only API, but still optimization, that's an option. |
| 23:52:14 | <qrpnxz> | 👍 |
| 23:54:53 | × | mastarija quits (~mastarija@2a05:4f46:e03:6000:b0c6:6951:8666:c637) (Ping timeout: 268 seconds) |
| 23:56:11 | × | gurkenglas quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 23:57:27 | × | segfaultfizzbuzz quits (~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds) |
| 23:57:51 | → | luffy joins (~chenqisu1@183.217.200.212) |
| 23:59:42 | → | bilegeek joins (~bilegeek@2600:1008:b068:5637:7ab9:a362:c68d:9416) |
| 23:59:45 | → | nilradical joins (~nilradica@user/naso) |
| 23:59:52 | × | matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection) |
All times are in UTC on 2022-08-24.