Logs on 2021-05-17 (freenode/#haskell)
| 00:01:33 | <pavonia> | In this function definition <https://hackage.haskell.org/package/JuicyPixels-3.3.5/docs/src/Codec.Picture.Types.html#pixelBaseIndex>, why does (undefined :: a) refer to the class variable? Shouldn't there be an explicit forall? |
| 00:01:37 | × | atk quits (~Arch-TK@ircpuzzles/staff/Arch-TK) (Quit: Well this is unexpected.) |
| 00:01:58 | → | atk joins (~Arch-TK@ircpuzzles/staff/Arch-TK) |
| 00:04:06 | × | geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 240 seconds) |
| 00:04:15 | <geekosaur> | not as part of a class definition, iirc, all types declared in the class head are available inside the class definition even without explicit forall or ScopedTypeVariables |
| 00:04:41 | <geekosaur> | otherwise it'd be hard to associate them properly with the class head |
| 00:06:24 | <pavonia> | Yeah, seems to be different for classes indeed https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/scoped_type_variables.html#class-and-instance-declarations |
| 00:06:37 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:b0b3:4831:47cc:ab06) |
| 00:07:44 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:b0b3:4831:47cc:ab06) (Remote host closed the connection) |
| 00:07:59 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:b0b3:4831:47cc:ab06) |
| 00:08:59 | × | dmytrish_ quits (~mitra@2a02:8084:a82:d900:5051:16e0:8e89:e082) (Ping timeout: 260 seconds) |
| 00:09:12 | → | geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) |
| 00:10:55 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 00:12:41 | → | bennofs__ joins (~quassel@dynamic-077-013-032-144.77.13.pool.telefonica.de) |
| 00:15:11 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 00:16:14 | × | bennofs_ quits (~quassel@dynamic-078-055-014-180.78.55.pool.telefonica.de) (Ping timeout: 252 seconds) |
| 00:16:38 | → | poljar1 joins (~poljar@78-1-50-185.adsl.net.t-com.hr) |
| 00:16:43 | × | boxscape quits (54a350dc@gateway/web/cgi-irc/kiwiirc.com/ip.84.163.80.220) (Quit: Connection closed) |
| 00:16:57 | → | cpape` joins (~user@static.180.18.203.116.clients.your-server.de) |
| 00:16:59 | → | Merfont joins (~Kaiepi@47.54.252.148) |
| 00:17:10 | → | chris___ joins (~chris@81.96.113.213) |
| 00:17:22 | × | cpape quits (~user@static.180.18.203.116.clients.your-server.de) (Read error: Connection reset by peer) |
| 00:17:23 | × | raoul quits (~raoulhida@nomnomnomnom.co.uk) (Quit: Ping timeout (120 seconds)) |
| 00:17:23 | × | MidAutumnHotaru quits (~MidAutumn@unaffiliated/midautumnhotaru) (Quit: Ping timeout (120 seconds)) |
| 00:17:23 | × | concept2 quits (~concept2@unaffiliated/tubo) (Quit: Ping timeout (120 seconds)) |
| 00:17:26 | × | mozzarella quits (~sam@unaffiliated/sam113101) (Remote host closed the connection) |
| 00:17:26 | × | poljar quits (~poljar@93-139-93-177.adsl.net.t-com.hr) (Remote host closed the connection) |
| 00:17:26 | × | chris__ quits (~chris@81.96.113.213) (Read error: Connection reset by peer) |
| 00:17:26 | × | kristijonas_ quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection) |
| 00:17:26 | × | Kaeipi quits (~Kaiepi@47.54.252.148) (Remote host closed the connection) |
| 00:17:26 | × | Natch quits (~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se) (Read error: Connection reset by peer) |
| 00:17:26 | × | SquidDev quits (~SquidDev@autoclave.squiddev.cc) (Quit: Ping timeout (120 seconds)) |
| 00:17:26 | × | jhuizy quits (~jhuizy@static.241.188.216.95.clients.your-server.de) (Quit: Ping timeout (120 seconds)) |
| 00:17:26 | × | Katarushisu quits (~Katarushi@cpc152083-finc20-2-0-cust170.4-2.cable.virginm.net) (Quit: Ping timeout (120 seconds)) |
| 00:17:29 | → | mozzarel1 joins (~sam@unaffiliated/sam113101) |
| 00:17:31 | → | SquidDev9 joins (~SquidDev@autoclave.squiddev.cc) |
| 00:17:36 | → | MidAutumnHotaru joins (~MidAutumn@unaffiliated/midautumnhotaru) |
| 00:17:37 | mozzarel1 | is now known as mozzarella |
| 00:17:37 | → | raoul joins (~raoulhida@nomnomnomnom.co.uk) |
| 00:17:41 | → | jhuizy joins (~jhuizy@static.241.188.216.95.clients.your-server.de) |
| 00:17:45 | → | Katarushisu joins (~Katarushi@cpc152083-finc20-2-0-cust170.4-2.cable.virginm.net) |
| 00:17:46 | → | concept2 joins (~concept2@unaffiliated/tubo) |
| 00:17:54 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 245 seconds) |
| 00:17:59 | → | kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt) |
| 00:18:18 | × | dwt quits (~dwt@c-98-200-58-177.hsd1.tx.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 00:19:03 | <hpc> | Axman6: the best you can do is essentially |
| 00:19:11 | × | leah2 quits (~leah@vuxu.org) (Read error: Connection reset by peer) |
| 00:19:26 | <hpc> | Axman6: er, is essentially "if bottom then crash" with seq or whatever |
| 00:22:04 | × | kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection) |
| 00:22:25 | → | Natch joins (~Natch@c-e070e255.014-297-73746f25.bbcust.telenor.se) |
| 00:23:05 | → | boxscape joins (54a350dc@p54a350dc.dip0.t-ipconnect.de) |
| 00:23:21 | → | kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt) |
| 00:23:29 | × | geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 265 seconds) |
| 00:23:59 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 00:24:36 | × | elliott_ quits (~elliott_@pool-108-18-30-46.washdc.fios.verizon.net) (Ping timeout: 260 seconds) |
| 00:25:06 | × | usr25 quits (~usr25@unaffiliated/usr25) (Quit: Leaving) |
| 00:25:08 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 00:25:37 | → | geowiesnot joins (~user@87-89-181-157.abo.bbox.fr) |
| 00:26:16 | <boxscape> | join #ghc |
| 00:26:21 | <boxscape> | whoops |
| 00:26:38 | <Axman6> | Urgh, I'm so sick of compiler spam on freenode :P |
| 00:28:00 | → | elliott_ joins (~elliott_@pool-108-18-30-46.washdc.fios.verizon.net) |
| 00:28:55 | × | Chai-T-Rex quits (~ChaiTRex@gateway/tor-sasl/chaitrex) (Remote host closed the connection) |
| 00:29:11 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 240 seconds) |
| 00:29:21 | → | Chai-T-Rex joins (~ChaiTRex@gateway/tor-sasl/chaitrex) |
| 00:30:26 | × | geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 260 seconds) |
| 00:31:41 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 00:31:41 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 240 seconds) |
| 00:36:11 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds) |
| 00:36:39 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 00:37:54 | <monochrom> | C's void is not to be confused with Haskel's () in the first place. |
| 00:38:07 | <Axman6> | yeah I did think that was a bit of an odd statement |
| 00:38:19 | <Axman6> | you can't have a value of type void in C right? |
| 00:38:34 | <monochrom> | There is a general theme. People also confuse Java interface with Haskell type class. |
| 00:39:03 | <monochrom> | Generally, when two different solutions solve the same problem, people will conflate the two solutions. |
| 00:39:25 | <monochrom> | You can't even declare a variable of type void. "void x". |
| 00:41:30 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 00:42:51 | → | dwt joins (~dwt@c-98-200-58-177.hsd1.tx.comcast.net) |
| 00:43:10 | → | falafel joins (~falafel@2603-8001-ca00-f555-b4a5-fa93-bc1a-b3d6.res6.spectrum.com) |
| 00:43:27 | <monochrom> | I can argue that void is not even a type. With that, "does void have values?" is not even a valid question. |
| 00:43:44 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 00:43:44 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 00:43:49 | → | CrazyPython joins (~crazypyth@206.214.238.6) |
| 00:44:58 | <monochrom> | Reason being void cannot be used at most places where all other types can be used. "void x;", "int f(void y, void z)", "struct S { void a; };" |
| 00:45:34 | → | rajivr joins (uid269651@gateway/web/irccloud.com/x-eilhkhwsqqonwkqr) |
| 00:46:50 | <olligobber> | % data Void |
| 00:46:50 | <yahb> | olligobber: |
| 00:46:57 | <olligobber> | % :t undefined :: Void |
| 00:46:57 | <yahb> | olligobber: Void |
| 00:47:07 | <olligobber> | I made something of type Void, yay |
| 00:47:13 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 00:47:20 | <monochrom> | % data Voila |
| 00:47:20 | <yahb> | monochrom: |
| 00:47:22 | <Axman6> | prove it |
| 00:47:36 | <pjb> | Yes, in C, void is just a keyword that means different things depending on the context. |
| 00:47:38 | <monochrom> | You made Void a type. Voila! |
| 00:47:48 | <pjb> | void f(); means f doesn't return a value. |
| 00:47:52 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 00:48:13 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 00:48:16 | <pjb> | f(void); means f doesn't take any argument (vs f() which means that f can take any number of arguments). |
| 00:48:33 | <pjb> | void* denotes a type of pointer to anything. |
| 00:48:42 | <olligobber> | Axman6, the compiler said the type of my thing is Void, so it is |
| 00:48:43 | <monochrom> | Let's be semantic. "void f()" means that the function analogy really breaks down, f is a procedure not a function. |
| 00:48:52 | <pjb> | exactly. |
| 00:50:13 | <monochrom> | It is somewhat cute that with void you can get rid of two verbose reserved words "function" and "procedure" from Pascal. There is credit for that. |
| 00:51:21 | <monochrom> | This is also where Dunning-Kruger is right about syntax doing brainwashing. |
| 00:53:11 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 240 seconds) |
| 00:53:58 | → | geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) |
| 00:54:14 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 00:54:24 | <pjb> | monochrom: it's just an after the fact kludge. |
| 00:55:49 | <pjb> | It took about ten years for void to appear in C. |
| 00:55:53 | <monochrom> | The road to hell is paved with well-intended kludges >:) |
| 00:56:14 | × | ericsagn1 quits (~ericsagne@2405:6580:0:5100:b6b3:41e:9821:2954) (Ping timeout: 245 seconds) |
| 00:59:38 | <boxscape> | what did C do before void? |
| 00:59:52 | <boxscape> | ..just have int as return type I guess? |
| 00:59:53 | <geekosaur> | not bother to return int |
| 00:59:59 | <boxscape> | okay |
| 01:00:12 | <boxscape> | right return is optional.. |
| 01:00:47 | × | hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:c2b0:caa:38f9:fe49) (Ping timeout: 260 seconds) |
| 01:01:24 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Remote host closed the connection) |
| 01:01:32 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 01:02:12 | → | bearcarl joins (716a6a62@113.106.106.98) |
| 01:02:18 | <pjb> | boxscape: yes, by default f(); returns an int. But if you don't use return n; the result is just what is in the register. |
| 01:02:25 | <boxscape> | I see |
| 01:02:50 | <Axman6> | what id you don't have registers |
| 01:02:52 | <Axman6> | if* |
| 01:02:55 | <pjb> | boxscape: of course, it would be bad style to int r=f(); if f doesn't contain a return n; … Some compilers started to issue warning. |
| 01:03:02 | <pjb> | then AT& introduced void. |
| 01:03:13 | <pjb> | Axman6: whatever there was on the stack then. |
| 01:03:46 | <monochrom> | I don't know whether I should also ask "what if there is no stack" :) |
| 01:03:47 | <pjb> | It's was just kludges upon kludges really. |
| 01:04:03 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Excess Flood) |
| 01:04:05 | <monochrom> | I agree. |
| 01:04:24 | <pjb> | Eg. the declaration matches use form, was just a kludge to use the same parsing code for both, in early compilers that had to run with 4kw of RAM… |
| 01:04:43 | <monochrom> | generally s/register/whatever default place the caller expects to find return values/ |
| 01:05:13 | <geekosaur> | which was memory on some IBM CPUs iirc |
| 01:05:44 | <pjb> | or on the PDP-7 they started unix on. |
| 01:06:03 | <monochrom> | Yeah. Recall that before Peter Naur taught the world how to support recursion, ... |
| 01:06:13 | <pjb> | Mind you, at the time, unix sources contained in general a single function per source file! Check them in git! |
| 01:06:40 | <pjb> | Well, it was already implemented in lisp in 1959… |
| 01:06:43 | <monochrom> | Each procedure is given a static memory area for being passed parameters and passing return values. |
| 01:06:58 | <monochrom> | and is exactly why people couldn't support recursion. |
| 01:07:41 | <pjb> | https://github.com/dspinellis/unix-history-repo |
| 01:08:06 | → | sheepduck joins (~sheepduck@2607:fea8:2a60:b700::cafd) |
| 01:09:02 | × | malumore quits (~malumore@151.62.113.85) (Ping timeout: 268 seconds) |
| 01:09:40 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 01:09:45 | → | ericsagn1 joins (~ericsagne@2405:6580:0:5100:e36f:f64f:f933:dd5f) |
| 01:13:00 | → | hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:896b:c6c8:9998:8716) |
| 01:13:33 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Remote host closed the connection) |
| 01:14:19 | <boxscape> | pretty weird to see "52 years ago" in a github repo |
| 01:14:55 | <monochrom> | and don't forget https://github.com/dmr-1941-2011 :) |
| 01:15:09 | <monochrom> | "wow you can do that?!" |
| 01:15:18 | → | DTZUZU_ joins (~DTZUZO@207.81.119.43) |
| 01:15:26 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 240 seconds) |
| 01:17:08 | × | CrazyPython quits (~crazypyth@206.214.238.6) () |
| 01:17:18 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 01:17:40 | × | DTZUZU quits (~DTZUZO@205.ip-149-56-132.net) (Ping timeout: 268 seconds) |
| 01:17:41 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 01:18:03 | × | hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:896b:c6c8:9998:8716) (Ping timeout: 260 seconds) |
| 01:18:25 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 252 seconds) |
| 01:19:15 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 01:19:32 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Excess Flood) |
| 01:20:07 | × | perrier-jouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.1) |
| 01:20:36 | → | perrier-jouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) |
| 01:20:46 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 01:21:22 | × | geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 268 seconds) |
| 01:21:53 | → | DTZUZU joins (~DTZUZO@205.ip-149-56-132.net) |
| 01:23:01 | × | whataday quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 01:23:55 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 252 seconds) |
| 01:24:08 | → | whataday joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 01:24:27 | → | patlv joins (~patlv@unaffiliated/patlv) |
| 01:24:52 | × | DTZUZU_ quits (~DTZUZO@207.81.119.43) (Ping timeout: 265 seconds) |
| 01:25:01 | × | whataday quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Read error: Connection reset by peer) |
| 01:26:08 | → | whataday joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 01:26:11 | notzmv- | is now known as notzmv |
| 01:27:01 | × | whataday quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection) |
| 01:28:09 | → | whataday joins (~xxx@2400:8902::f03c:92ff:fe60:98d8) |
| 01:29:58 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 01:30:51 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 01:31:04 | → | stree joins (~stree@68.36.8.116) |
| 01:31:10 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 01:31:52 | × | perrier-jouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.1) |
| 01:31:56 | <Axman6> | if anyone was wondering what prompted my question about Void and (), it was https://counterexamples.org/, which is doing a great reaffirming how I feel about Java and Scala |
| 01:34:47 | <monochrom> | :) |
| 01:35:27 | <Axman6> | Not that Haskell's type system comes out unscathed |
| 01:36:12 | <monochrom> | Java has instanceof which breaks parametricity in the first place. |
| 01:36:31 | <monochrom> | To be sure, most people don't actually use it to troll. |
| 01:37:31 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 01:37:36 | <Axman6> | if(obj isinstanceof JimsObject) { throw GodIHateJimException(); } |
| 01:37:47 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 01:37:59 | <Axman6> | uh, -is |
| 01:38:23 | × | patlv quits (~patlv@unaffiliated/patlv) (Remote host closed the connection) |
| 01:38:49 | → | patlv joins (~patlv@unaffiliated/patlv) |
| 01:39:41 | → | a6a45081-2b83 joins (~aditya@171.76.17.86) |
| 01:40:07 | × | xcmw quits (~textual@2603-6011-2200-f103-1090-4073-ea46-f74d.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 01:42:30 | <a6a45081-2b83> | :t \v -> case v of Error e -> error "Error"; Success v -> insert_ v |
| 01:42:31 | <lambdabot> | error: |
| 01:42:31 | <lambdabot> | Not in scope: data constructor ‘Error’ |
| 01:42:32 | <lambdabot> | Perhaps you meant variable ‘error’ (imported from Prelude) |
| 01:42:39 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) |
| 01:43:11 | × | patlv quits (~patlv@unaffiliated/patlv) (Ping timeout: 240 seconds) |
| 01:46:44 | × | hyiltiz quits (~quassel@unaffiliated/hyiltiz) (Ping timeout: 246 seconds) |
| 01:46:47 | <Axman6> | The note at the end of https://counterexamples.org/distinctness-options.html is reassuring |
| 01:47:09 | × | ThinkPad quits (~user@2603-8080-4904-7592-f1d1-497c-8bbd-901a.res6.spectrum.com) (Ping timeout: 250 seconds) |
| 01:48:44 | → | drbean_ joins (~drbean@TC210-63-209-71.static.apol.com.tw) |
| 01:48:45 | → | geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) |
| 01:49:02 | <a6a45081-2b83> | Axman6: perhaps this is relevant to me...? |
| 01:49:55 | → | vsssa joins (bade4a4f@186.222.74.79) |
| 01:49:56 | <Axman6> | It's relevant to anyone using programming languages, but as far as I can see from your code above, it's not immediately relevant to your problem |
| 01:50:43 | × | xff0x quits (~xff0x@2001:1a81:5322:8600:89e1:ee88:e1af:1ae6) (Ping timeout: 260 seconds) |
| 01:50:50 | <Axman6> | a6a45081-2b83: are you having a problem wiht that code that we can help you with? |
| 01:51:04 | <Axman6> | with* |
| 01:51:06 | <a6a45081-2b83> | that would be great |
| 01:51:32 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 01:51:53 | <a6a45081-2b83> | error branch infers as String, success branch infers as ReaderT a b |
| 01:52:17 | → | xff0x joins (~xff0x@2001:1a81:535b:1600:c038:9b40:2a0a:496d) |
| 01:52:18 | <Axman6> | what is the type of insert_? |
| 01:52:40 | <Axman6> | and I assume that there's something like data Result e a = Error e | Success a? |
| 01:53:17 | <a6a45081-2b83> | got it, I was having (error "error" ++ e) instead of (error $ "error" ++ e) |
| 01:53:18 | <a6a45081-2b83> | :(( |
| 01:53:34 | <Axman6> | That'll do it :) |
| 01:53:40 | <a6a45081-2b83> | hence it was expecting error :: String -> String |
| 01:55:38 | → | hyiltiz joins (~quassel@31.220.5.250) |
| 01:55:39 | × | hyiltiz quits (~quassel@31.220.5.250) (Changing host) |
| 01:55:39 | → | hyiltiz joins (~quassel@unaffiliated/hyiltiz) |
| 01:55:51 | × | vsssa quits (bade4a4f@186.222.74.79) (Quit: Connection closed) |
| 01:56:02 | <a6a45081-2b83> | I wasted lot of time after it |
| 01:56:21 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 260 seconds) |
| 01:56:26 | <a6a45081-2b83> | on another note, I planned to write a side project to scrape some sites and cache in sqlite database, learned a lot of things |
| 01:57:02 | <a6a45081-2b83> | although this'd be easier in python, i got to know lenses, transformers, persistant, http-conduit, aeson |
| 01:57:03 | <Axman6> | I've been programming in Haskell for over a decade and still make exactly that error pretty frequently |
| 01:57:12 | <a6a45081-2b83> | :) |
| 01:57:40 | <Axman6> | nice, that's sounds like an exceppent project, particularly if you get to learn to many useful libraries |
| 01:58:47 | <a6a45081-2b83> | still wrapping my head around so many lens operators and template haskell |
| 01:58:58 | → | deviantfero joins (~deviantfe@190.150.27.58) |
| 01:59:35 | × | jiribenes quits (~jiribenes@rosa.jiribenes.com) (Ping timeout: 260 seconds) |
| 01:59:38 | × | petersen quits (~petersen@redhat/juhp) (Quit: petersen) |
| 02:02:05 | × | geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 265 seconds) |
| 02:02:06 | → | hololeap joins (~hololeap@gateway/tor-sasl/hololeap) |
| 02:05:53 | × | m0rphism quits (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de) (Ping timeout: 240 seconds) |
| 02:08:04 | <a6a45081-2b83> | any idea how can i rate limit my requests, will I have to record time and have a custom wait logic? |
| 02:09:04 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:b0b3:4831:47cc:ab06) (Remote host closed the connection) |
| 02:09:10 | → | ThinkPad joins (~user@2603-8080-4904-7592-f519-f3d1-64ae-4f99.res6.spectrum.com) |
| 02:09:25 | × | bearcarl quits (716a6a62@113.106.106.98) (Quit: Connection closed) |
| 02:09:45 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:b0b3:4831:47cc:ab06) |
| 02:09:50 | → | parabolize joins (~paraboliz@98.43.173.221) |
| 02:10:32 | × | conal quits (~conal@64.71.133.70) (Ping timeout: 240 seconds) |
| 02:10:46 | × | viluon quits (uid453725@gateway/web/irccloud.com/x-ldrzezyrskjdiqmn) (Quit: Connection closed for inactivity) |
| 02:11:05 | → | conal joins (~conal@64.71.133.70) |
| 02:11:07 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 02:11:09 | × | urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna) |
| 02:11:10 | → | incertia joins (~incertia@d4-50-26-103.nap.wideopenwest.com) |
| 02:11:28 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 02:14:53 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:b0b3:4831:47cc:ab06) (Ping timeout: 250 seconds) |
| 02:15:04 | <a6a45081-2b83> | I think I can use Control.thread.Concurrent.delay |
| 02:15:10 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving) |
| 02:17:01 | → | xcmw joins (~textual@2603-6011-2200-f103-1907-5406-5646-5d03.res6.spectrum.com) |
| 02:17:32 | → | ddellacosta joins (~ddellacos@83.143.246.105) |
| 02:18:58 | × | ixlun quits (~user@109.249.184.235) (Read error: Connection reset by peer) |
| 02:22:25 | × | ddellacosta quits (~ddellacos@83.143.246.105) (Ping timeout: 268 seconds) |
| 02:22:31 | <Axman6> | searching for rate limit on hackage is likely to find some good results |
| 02:23:33 | finn_elija | is now known as Guest86616 |
| 02:23:33 | → | finn_elija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) |
| 02:24:34 | × | conal quits (~conal@64.71.133.70) (Ping timeout: 245 seconds) |
| 02:25:39 | <Axman6> | such as the rate-limit package: https://hackage.haskell.org/package/rate-limit-1.4.2/docs/Control-RateLimit.html |
| 02:25:49 | × | sheepduck quits (~sheepduck@2607:fea8:2a60:b700::cafd) (Ping timeout: 245 seconds) |
| 02:26:21 | × | Guest86616 quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Ping timeout: 240 seconds) |
| 02:26:26 | → | ixlun joins (~user@109.249.184.235) |
| 02:30:24 | → | conal joins (~conal@64.71.133.70) |
| 02:31:59 | → | wei2912 joins (~wei2912@unaffiliated/wei2912) |
| 02:31:59 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 02:33:25 | <cdsmith> | Wondering if there's an answer I'm missing here: http://hackage.haskell.org/package/doctest works, but hpc doesn't show the resulting test coverage. The alternative of testing everything twice isn't very appealing either. Anyone know a way to extract the doctests at build time instead of at runtime? |
| 02:37:11 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds) |
| 02:39:38 | <Axman6> | does adding -fhpc do the testsuite's compiler flags do anything? |
| 02:40:01 | <Axman6> | "Alternatively you can pass any GHC options to Doctest, e.g.: |
| 02:40:01 | <Axman6> | doctest -XCPP Foo.hs" |
| 02:40:17 | <geekosaur> | @hackage cabal-doctest ? |
| 02:40:17 | <lambdabot> | https://hackage.haskell.org/package/cabal-doctest ? |
| 02:41:51 | <cdsmith> | Hmm, I didn't try that. I will. |
| 02:42:14 | <Axman6> | looks like hpc .tix files can be combined too |
| 02:43:31 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 02:45:24 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 245 seconds) |
| 02:45:27 | <Axman6> | while searching I came across a page listing the compilers available on a Queensland university's HPC environment, and was surprised to see GHC at the top of the list (though, the description of "GHC is a state-of-the-art, open source, compiler" and "Available versions: 7.6.2" made me chuckle a bit). I wonder who got that installed on there |
| 02:45:33 | <cdsmith> | Just adding -fhpc didn't fix it. That's not too surprising, since I think cabal does a bunch of work to decide where to write the tix files and then generate an HTML report with the right ones. |
| 02:45:49 | × | theDon quits (~td@94.134.91.128) (Ping timeout: 245 seconds) |
| 02:46:47 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 02:47:56 | → | theDon joins (~td@94.134.91.15) |
| 02:48:19 | × | conal quits (~conal@64.71.133.70) (Ping timeout: 245 seconds) |
| 02:48:58 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 265 seconds) |
| 02:49:13 | × | plutoniix quits (~q@node-ufy.pool-125-24.dynamic.totinternet.net) (Quit: Leaving) |
| 02:49:59 | × | aVikingTrex quits (~aVikingTr@2001:8003:340d:d00:b2de:b98:7a93:b0ea) (Ping timeout: 250 seconds) |
| 02:50:24 | → | conal joins (~conal@64.71.133.70) |
| 02:51:13 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 02:51:44 | × | conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer) |
| 02:52:55 | → | mayleesia joins (~mayleesia@dynamic-077-013-233-125.77.13.pool.telefonica.de) |
| 02:53:48 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 265 seconds) |
| 02:55:46 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 252 seconds) |
| 02:56:06 | × | maylee quits (~mayleesia@x4dbf5c18.dyn.telefonica.de) (Ping timeout: 252 seconds) |
| 03:01:54 | → | conal joins (~conal@64.71.133.70) |
| 03:01:55 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 03:05:36 | × | conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer) |
| 03:06:13 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 252 seconds) |
| 03:06:21 | × | letmein quits (~ircclient@2601:1c1:4200:938f:cd8d:4e48:d5b9:4929) (Quit: letmein) |
| 03:06:41 | → | letmein joins (~ircclient@2601:1c1:4200:938f:cd8d:4e48:d5b9:4929) |
| 03:07:19 | × | letmein quits (~ircclient@2601:1c1:4200:938f:cd8d:4e48:d5b9:4929) (Client Quit) |
| 03:09:26 | → | conal joins (~conal@64.71.133.70) |
| 03:09:39 | → | patlv joins (~patlv@unaffiliated/patlv) |
| 03:09:48 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 03:10:21 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 03:10:23 | × | conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer) |
| 03:10:24 | × | electricityZZZZ quits (~electrici@157-131-250-97.fiber.dynamic.sonic.net) (Ping timeout: 252 seconds) |
| 03:11:44 | × | xkapastel quits (uid17782@gateway/web/irccloud.com/x-vnzmonwkhmlwwzsx) (Quit: Connection closed for inactivity) |
| 03:12:38 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 03:13:03 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:b0b3:4831:47cc:ab06) |
| 03:14:38 | → | tromp_ joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 03:15:38 | ← | justsomeguy parts (~justsomeg@unaffiliated/--/x-3805311) ("WeeChat 3.0.1") |
| 03:16:07 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 03:16:27 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 03:16:28 | × | wei2912 quits (~wei2912@unaffiliated/wei2912) (Remote host closed the connection) |
| 03:16:41 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 240 seconds) |
| 03:16:43 | × | tromp_ quits (~tromp@dhcp-077-249-230-040.chello.nl) (Read error: Connection reset by peer) |
| 03:17:08 | → | wei2912 joins (~wei2912@unaffiliated/wei2912) |
| 03:17:13 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 03:17:29 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:b0b3:4831:47cc:ab06) (Ping timeout: 245 seconds) |
| 03:17:33 | → | conal joins (~conal@64.71.133.70) |
| 03:18:17 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 03:20:13 | → | tromp_ joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 03:20:14 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Read error: Connection reset by peer) |
| 03:21:11 | × | olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Ping timeout: 240 seconds) |
| 03:23:42 | → | olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber) |
| 03:24:41 | × | tromp_ quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 240 seconds) |
| 03:26:58 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 03:28:47 | → | guest517 joins (~user@49.5.6.87) |
| 03:30:22 | <guest517> | how to quickly check if a string contain several strings by order? like "I want to eat chicken for lunch" contain ["eat", "chicken", "lunch"] |
| 03:31:04 | <guest517> | I could use splitOn or splitAt to check and match, but that's ugly |
| 03:31:11 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 240 seconds) |
| 03:31:15 | <monochrom> | Not sure "quickly" means "code up quickly" or "runs quickly" |
| 03:31:17 | <guest517> | I wonder is there an elegent way |
| 03:31:41 | → | ddellacosta joins (~ddellacos@86.106.143.178) |
| 03:31:52 | <guest517> | monochrom: runs quickly |
| 03:31:59 | <Axman6> | @hoogle [a] -> [a] -> ([a],[a]) |
| 03:32:00 | <lambdabot> | Data.List.Match splitAt :: [b] -> [a] -> ([a], [a]) |
| 03:32:00 | <lambdabot> | Util splitAtList :: [b] -> [a] -> ([a], [a]) |
| 03:32:00 | <lambdabot> | Util zipAndUnzip :: [a] -> [b] -> ([a], [b]) |
| 03:32:04 | × | conal quits (~conal@64.71.133.70) (Ping timeout: 245 seconds) |
| 03:32:11 | <monochrom> | I don't know of the most efficient algorithm. |
| 03:32:42 | <Axman6> | looks like splitAt and a recursive call over the list of wanted words would work - I doubt there's amore efficient way without using Text |
| 03:33:18 | <monochrom> | Or rather, I suspect that efficient algorithms are ugly. |
| 03:33:59 | <Axman6> | compile a regex =) |
| 03:34:24 | <Axman6> | "eat.+chicken.+lunch" |
| 03:34:27 | <monochrom> | This is worse than most people's idea of regex, since this is "and" rather than "or". |
| 03:34:50 | <guest517> | check if the string contain all the elements, then check if the index elements in the string sequenced by order |
| 03:35:08 | <monochrom> | Also I don't think the intention is as easy as "verify that eat, check, lunch occur in that order" |
| 03:35:50 | <monochrom> | Anyway, since this is "and", you are looking at constructing a product automaton. |
| 03:35:58 | <monochrom> | Ugly as f**k. |
| 03:36:24 | <Axman6> | I mean, as much as I hate to suggest it, a regex would let you get that information out directly. "(eat|are).+(chicken|beef|tofu).+(lunch|dinner|breakfast)" would give you the information that it matched, and the ability to inspect each match |
| 03:36:26 | × | ddellacosta quits (~ddellacos@86.106.143.178) (Ping timeout: 252 seconds) |
| 03:36:52 | <Axman6> | s/are/ate |
| 03:37:03 | × | geekosaur quits (45870322@069-135-003-034.biz.spectrum.com) (Ping timeout: 240 seconds) |
| 03:38:58 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:bc:57f7:8c4d:37b8) |
| 03:39:30 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 268 seconds) |
| 03:40:42 | → | conal joins (~conal@64.71.133.70) |
| 03:41:45 | <boxscape> | I'm reasonably sure that this isn't the fastest implementation due to the length call https://paste.tomsmeding.com/5uOrS3bT |
| 03:41:55 | <boxscape> | but it's something I guess |
| 03:42:39 | <boxscape> | I guess it might be worse than splitAt variants though... |
| 03:43:19 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:bc:57f7:8c4d:37b8) (Ping timeout: 245 seconds) |
| 03:43:19 | × | hypercube quits (~hypercube@2603-6011-f901-9e5b-0000-0000-0000-08cf.res6.spectrum.com) (Ping timeout: 245 seconds) |
| 03:47:58 | × | boxscape quits (54a350dc@p54a350dc.dip0.t-ipconnect.de) (Quit: Connection closed) |
| 03:48:19 | × | patlv quits (~patlv@unaffiliated/patlv) (Ping timeout: 245 seconds) |
| 03:48:45 | × | conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer) |
| 03:52:13 | → | stree joins (~stree@68.36.8.116) |
| 03:53:18 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) |
| 03:59:01 | <a6a45081-2b83> | how to embed the state monad inside another monad using stateT? will I have to add lift everywhere? |
| 04:00:33 | → | geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) |
| 04:00:46 | <davean> | if your operations are based on class, no. But otherwise maybe |
| 04:00:51 | <monochrom> | That's a very broad question so I have a very broad answer. Just take a look at any StateT tutorial? They have examples. |
| 04:01:06 | <Axman6> | containsAll [] _ = True; containsAll (needle:needles) haystack = case T.breakOn needle haystack of (_,"") -> False; (_,rest) -> containsAll needles (T.drop (T.length needle) rest) |
| 04:01:34 | <a6a45081-2b83> | monochrom: looking at https://wiki.haskell.org/Simple_StateT_use, brb |
| 04:01:54 | × | waleee-cl quits (uid373333@gateway/web/irccloud.com/x-vunmjolaodtynkaq) (Quit: Connection closed for inactivity) |
| 04:05:08 | → | ddellacosta joins (~ddellacos@86.106.143.139) |
| 04:07:24 | → | conal joins (~conal@64.71.133.70) |
| 04:08:43 | → | aVikingTrex joins (~aVikingTr@2001:8003:340d:d00:b2de:b98:7a93:b0ea) |
| 04:09:06 | <a6a45081-2b83> | ok so I have a ReaderT monad wrapping an IO monad. I want to wrap this with a stateT monad, which lift operations do I need? |
| 04:09:12 | × | conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer) |
| 04:09:49 | × | ddellacosta quits (~ddellacos@86.106.143.139) (Ping timeout: 260 seconds) |
| 04:10:15 | × | xcmw quits (~textual@2603-6011-2200-f103-1907-5406-5646-5d03.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 04:14:12 | <aVikingTrex> | a6a45081-2b83: what about RWS monad? |
| 04:18:57 | × | ixlun quits (~user@109.249.184.235) (Read error: Connection reset by peer) |
| 04:19:19 | → | ixlun joins (~user@109.249.184.235) |
| 04:19:50 | <a6a45081-2b83> | what is that? |
| 04:20:07 | <a6a45081-2b83> | let me look that up |
| 04:20:29 | <aVikingTrex> | Its a transformer that handles Reader, Writer and State |
| 04:20:39 | <aVikingTrex> | https://hackage.haskell.org/package/transformers-0.5.6.2/docs/Control-Monad-Trans-RWS-CPS.html#g:1 |
| 04:20:58 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 04:22:44 | → | ania123 joins (5e89ad7c@94.137.173.124) |
| 04:25:11 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 240 seconds) |
| 04:27:11 | × | Lucci0 quits (~Lucci0@modemcable159.116-21-96.mc.videotron.ca) (Ping timeout: 240 seconds) |
| 04:28:27 | → | conal joins (~conal@64.71.133.70) |
| 04:30:45 | → | DTZUZU_ joins (~DTZUZO@207.81.119.43) |
| 04:32:52 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 04:33:16 | × | DTZUZU quits (~DTZUZO@205.ip-149-56-132.net) (Ping timeout: 252 seconds) |
| 04:35:19 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Quit: leaving) |
| 04:35:37 | × | Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer) |
| 04:36:03 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:c83:5be8:790f:a4a3) |
| 04:37:41 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds) |
| 04:38:02 | × | drbean_ quits (~drbean@TC210-63-209-71.static.apol.com.tw) (Ping timeout: 252 seconds) |
| 04:40:29 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:c83:5be8:790f:a4a3) (Ping timeout: 250 seconds) |
| 04:41:41 | → | Tario joins (~Tario@201.192.165.173) |
| 04:43:46 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 04:45:36 | → | ddellac__ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 04:47:27 | → | idhugo joins (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) |
| 04:48:50 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 265 seconds) |
| 04:49:26 | → | drbean_ joins (~drbean@TC210-63-209-25.static.apol.com.tw) |
| 04:50:25 | × | ddellac__ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 268 seconds) |
| 04:54:13 | × | geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 240 seconds) |
| 04:54:30 | × | ania123 quits (5e89ad7c@94.137.173.124) (Quit: Connection closed) |
| 04:55:13 | × | idhugo quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Quit: Leaving) |
| 04:56:35 | × | Tario quits (~Tario@201.192.165.173) (Ping timeout: 268 seconds) |
| 05:05:54 | × | conal quits (~conal@64.71.133.70) (Ping timeout: 252 seconds) |
| 05:06:52 | → | libertyprime joins (~libertypr@118.149.80.101) |
| 05:08:22 | × | alx741 quits (~alx741@186.178.108.105) (Quit: alx741) |
| 05:12:01 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 05:12:03 | <libertyprime> | haskell tooling makes me want to tear my hair out sometimes. how to set a different rc file for ghci when there is only the option -ignore-dot-ghci to disable it? .ghci should be called .ghcirc because its name makes it appear like it could be a directory. what happens when you combine -ghci-script with -ignore-dot-ghci? the man page will keep you guessing. why does it use -ignore-dot-ghci instead |
| 05:12:09 | <libertyprime> | of --ignore-dot-ghci. double dash is ... |
| 05:12:11 | <libertyprime> | ... standard. etc. it makes me feel unwell to use haskell tooling sometimes |
| 05:12:14 | <libertyprime> | ^^ rant. sorry |
| 05:12:30 | × | a6a45081-2b83 quits (~aditya@171.76.17.86) (Remote host closed the connection) |
| 05:13:47 | <libertyprime> | actually. im sorry for raging here. that type of conversation belongs in a reddit or a blog post. |
| 05:13:49 | → | Tario joins (~Tario@201.192.165.173) |
| 05:15:02 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 05:15:04 | × | kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection) |
| 05:18:47 | → | ddellacosta joins (~ddellacos@86.106.143.10) |
| 05:18:50 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 05:19:14 | → | jijimofo joins (~cmo@S010610561191f5d6.lb.shawcable.net) |
| 05:19:28 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 252 seconds) |
| 05:21:39 | × | berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 245 seconds) |
| 05:22:12 | → | kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt) |
| 05:22:34 | <mniip> | libertyprime, there is only one ghc option that uses a double dash |
| 05:22:40 | <mniip> | everything else is consistently single dash |
| 05:22:58 | <mniip> | well ok maybe not one |
| 05:23:19 | × | ddellacosta quits (~ddellacos@86.106.143.10) (Ping timeout: 245 seconds) |
| 05:23:31 | <mniip> | double-dashed options generally tell ghc to do something else other than compile a file |
| 05:23:46 | <mniip> | be it --help, or --show-iface |
| 05:23:56 | → | domini joins (~domini@2a03:f680:fe00:129e:61e9:eb52:68ca:6e8f) |
| 05:24:15 | × | domini quits (~domini@2a03:f680:fe00:129e:61e9:eb52:68ca:6e8f) (Remote host closed the connection) |
| 05:24:19 | → | wallymathieu joins (~wallymath@81-234-151-21-no94.tbcn.telia.com) |
| 05:24:24 | → | ozzymcduff joins (~ozzymcduf@81-234-151-21-no94.tbcn.telia.com) |
| 05:25:09 | × | dustinm quits (~dustinm@static.38.6.217.95.clients.your-server.de) (Quit: Leaving) |
| 05:29:14 | → | plutoniix joins (~q@ppp-58-8-148-189.revip2.asianet.co.th) |
| 05:29:36 | → | rayyyy joins (~nanoz@gateway/tor-sasl/nanoz) |
| 05:30:54 | → | berberman joins (~berberman@unaffiliated/berberman) |
| 05:32:42 | → | alexander joins (~alexander@2a02:587:dc19:ab00:49f:5b0e:f658:23e8) |
| 05:33:10 | alexander | is now known as Guest37858 |
| 05:36:07 | → | dustinm joins (~dustinm@static.38.6.217.95.clients.your-server.de) |
| 05:45:24 | × | mounty quits (~mounty@236.216.214.218.sta.wbroadband.net.au) (Ping timeout: 245 seconds) |
| 05:45:25 | → | DTZUZU joins (~DTZUZO@205.ip-149-56-132.net) |
| 05:46:58 | × | pav5088 quits (~pav5088@138.199.47.158) (Remote host closed the connection) |
| 05:47:03 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 05:47:41 | × | DTZUZU_ quits (~DTZUZO@207.81.119.43) (Ping timeout: 240 seconds) |
| 05:51:11 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 240 seconds) |
| 05:51:29 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 05:51:54 | → | pmj joins (~pmj@p4fe156fa.dip0.t-ipconnect.de) |
| 05:53:39 | × | MidAutumnHotaru quits (~MidAutumn@unaffiliated/midautumnhotaru) (Quit: Quit 啾) |
| 05:54:11 | × | jao quits (~jao@pdpc/supporter/professional/jao) (Ping timeout: 260 seconds) |
| 05:54:13 | → | MidAutumnHotaru joins (~MidAutumn@unaffiliated/midautumnhotaru) |
| 05:55:11 | × | vk3wtf quits (~doc@61.68.250.44) (Quit: WeeChat 3.0.1) |
| 05:55:28 | → | Lycurgus joins (~niemand@cpe-45-46-140-49.buffalo.res.rr.com) |
| 05:55:34 | → | vk3wtf joins (~doc@61.68.250.44) |
| 05:57:07 | × | SquidDev9 quits (~SquidDev@autoclave.squiddev.cc) (Quit: Bye!) |
| 05:57:20 | → | SquidDev joins (~SquidDev@autoclave.squiddev.cc) |
| 05:58:06 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 05:59:53 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds) |
| 06:00:36 | → | Putonlalla joins (~sapekiis@it-cyan.it.jyu.fi) |
| 06:00:58 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 06:01:26 | × | parabolize quits (~paraboliz@98.43.173.221) (Quit: leaving) |
| 06:02:47 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 265 seconds) |
| 06:02:53 | → | nigel_c joins (~nigel_c@37.120.211.190) |
| 06:03:42 | × | vk3wtf quits (~doc@61.68.250.44) (Quit: WeeChat 3.0.1) |
| 06:04:13 | → | vk3wtf joins (~doc@61.68.250.44) |
| 06:05:07 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Remote host closed the connection) |
| 06:05:11 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 240 seconds) |
| 06:05:26 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 06:05:53 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 06:06:11 | × | cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 240 seconds) |
| 06:13:04 | → | _ht joins (~quassel@82-169-194-8.biz.kpn.net) |
| 06:13:43 | → | stree joins (~stree@68.36.8.116) |
| 06:14:15 | × | ozzymcduff quits (~ozzymcduf@81-234-151-21-no94.tbcn.telia.com) (Quit: Textual IRC Client: www.textualapp.com) |
| 06:17:02 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 252 seconds) |
| 06:18:54 | → | danvet joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) |
| 06:19:12 | × | Sgeo quits (~Sgeo@ool-18b9875e.dyn.optonline.net) (Quit: Leaving) |
| 06:19:36 | × | forell quits (~forell@unaffiliated/forell) (Ping timeout: 252 seconds) |
| 06:20:38 | × | undvrainbowvita8 quits (~egp_@128-71-13-3.broadband.corbina.ru) (Quit: EXIT) |
| 06:21:53 | → | undvrainbowvita8 joins (~egp_@128-71-13-3.broadband.corbina.ru) |
| 06:22:19 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 250 seconds) |
| 06:22:34 | × | Tario quits (~Tario@201.192.165.173) (Ping timeout: 252 seconds) |
| 06:23:00 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 06:24:52 | → | forell joins (~forell@unaffiliated/forell) |
| 06:25:00 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 06:26:36 | × | ThinkPad quits (~user@2603-8080-4904-7592-f519-f3d1-64ae-4f99.res6.spectrum.com) (Remote host closed the connection) |
| 06:28:58 | → | michalz joins (~user@185.246.204.59) |
| 06:31:35 | → | Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas) |
| 06:32:14 | × | kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection) |
| 06:32:27 | → | Aquazi joins (uid312403@gateway/web/irccloud.com/x-fneayqvblanweaap) |
| 06:32:41 | → | kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt) |
| 06:33:03 | × | gzj quits (~gzj@unaffiliated/gzj) (Quit: Leaving) |
| 06:33:44 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 06:34:00 | × | kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection) |
| 06:34:21 | → | kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt) |
| 06:34:44 | → | shiraeeshi joins (~shiraeesh@46.34.206.196) |
| 06:34:54 | → | oish joins (~charlie@228.25.169.217.in-addr.arpa) |
| 06:36:53 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 06:37:30 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:c83:5be8:790f:a4a3) |
| 06:38:00 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 06:39:02 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds) |
| 06:39:48 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 06:41:11 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 06:41:39 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:c83:5be8:790f:a4a3) (Ping timeout: 245 seconds) |
| 06:42:14 | → | hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:5e81:b1cb:3120:4542) |
| 06:47:43 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 06:47:58 | → | vchlup joins (~vchlup@nat.brnet.cz) |
| 06:48:02 | → | geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) |
| 06:52:18 | × | zaquest quits (~notzaques@5.128.210.178) (Read error: Connection reset by peer) |
| 06:53:11 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 06:53:13 | → | kristijonas_ joins (~kristijon@78-56-32-39.static.zebra.lt) |
| 06:53:40 | × | kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Read error: Connection reset by peer) |
| 06:54:08 | → | jiribenes joins (~jiribenes@rosa.jiribenes.com) |
| 06:55:26 | × | vchlup quits (~vchlup@nat.brnet.cz) (Ping timeout: 260 seconds) |
| 07:02:10 | × | mcglk quits (~textual@131.191.49.120) (Ping timeout: 252 seconds) |
| 07:05:47 | → | TK__ joins (~cinch@2601:1c0:5201:2100:9992:f75f:4988:2a3c) |
| 07:08:15 | × | falafel quits (~falafel@2603-8001-ca00-f555-b4a5-fa93-bc1a-b3d6.res6.spectrum.com) (Ping timeout: 250 seconds) |
| 07:08:46 | × | shiraeeshi quits (~shiraeesh@46.34.206.196) (Ping timeout: 252 seconds) |
| 07:08:47 | → | leah2 joins (~leah@vuxu.org) |
| 07:09:32 | → | Sixtine joins (~Sixtine@97e577ed.skybroadband.com) |
| 07:10:57 | <dminuoso> | Mmm, why does inRange have a seemingly flipped argument order? |
| 07:11:19 | <dminuoso> | This seems more natural to me: 1 `inRange` (1,3) |
| 07:12:08 | <opqdonut> | maybe it's meant to be partially applied in prefix form |
| 07:12:20 | <opqdonut> | like `filter (inRange (1,3)) xs` |
| 07:12:22 | → | chele joins (~chele@ip5b40237d.dynamic.kabel-deutschland.de) |
| 07:12:48 | <dminuoso> | Ah yeah, perhaps. |
| 07:13:43 | <Putonlalla> | How often the "more constant argument first" convention is violated in Haskell is one of the most annoying things in it for me. |
| 07:13:51 | × | nineonin_ quits (~nineonine@2604:3d08:777e:900:6098:71ed:d0b:952b) (Remote host closed the connection) |
| 07:14:26 | × | ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection) |
| 07:14:44 | <Putonlalla> | Functions and operators not being distinct language features is one of the reasons it happens so often. |
| 07:15:06 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 07:15:20 | → | ukari joins (~ukari@unaffiliated/ukari) |
| 07:15:29 | <dminuoso> | Is this realistically a problem? As long as its just two arguments, you can fit it on either side with ticks. |
| 07:15:44 | <dminuoso> | i.e. filter (`inRange` (1,3)) |
| 07:16:41 | <Putonlalla> | Not in this case, but you usually want `x / y` to be `div y x`, `x == y` to be `eqb y x` and so on... |
| 07:16:55 | × | ericsagn1 quits (~ericsagne@2405:6580:0:5100:e36f:f64f:f933:dd5f) (Ping timeout: 250 seconds) |
| 07:17:08 | → | kuribas joins (~user@ptr-25vy0i7nzwn8pwwmwkq.18120a2.ip6.access.telenet.be) |
| 07:17:44 | <Putonlalla> | That and some other unfortunate parts of the syntax is why we have functions like `subtract`. |
| 07:18:47 | mayleesia | is now known as maylee |
| 07:19:58 | <Putonlalla> | This problem is compounded in proof assistants, where functions that are structurally recursive on the first parameter only reduce when the head of that particular argument is a constructor. If you violate the "more constant argument first" convention, unfolding becomes much more tedious. |
| 07:20:16 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 268 seconds) |
| 07:21:58 | → | Varis joins (~Tadas@unaffiliated/varis) |
| 07:22:53 | × | libertyprime quits (~libertypr@118.149.80.101) (Read error: Connection reset by peer) |
| 07:26:51 | × | jijimofo quits (~cmo@S010610561191f5d6.lb.shawcable.net) (Quit: Leaving) |
| 07:29:30 | → | ericsagn1 joins (~ericsagne@2405:6580:0:5100:aeb:7147:cca0:e8ac) |
| 07:32:36 | × | Unhammer quits (~Unhammer@gateway/tor-sasl/unhammer) (Remote host closed the connection) |
| 07:32:41 | × | geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 240 seconds) |
| 07:32:53 | → | zariuq joins (~zar@fw1.ciirc.cvut.cz) |
| 07:33:22 | → | Unhammer joins (~Unhammer@gateway/tor-sasl/unhammer) |
| 07:35:41 | × | zargoertzel quits (~zar@fw1.ciirc.cvut.cz) (Ping timeout: 260 seconds) |
| 07:35:53 | → | zargoertzel joins (~zar@fw1.ciirc.cvut.cz) |
| 07:37:26 | × | zariuq quits (~zar@fw1.ciirc.cvut.cz) (Ping timeout: 240 seconds) |
| 07:38:48 | → | acidjnk_new joins (~acidjnk@p200300d0c72b9554e88f3d58cc93ff66.dip0.t-ipconnect.de) |
| 07:39:10 | → | libertyprime joins (~libertypr@118.149.80.101) |
| 07:43:31 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 07:43:48 | × | libertyprime quits (~libertypr@118.149.80.101) (Ping timeout: 265 seconds) |
| 07:44:44 | → | nyd joins (~nyd@unaffiliated/elysian) |
| 07:48:16 | × | nyd quits (~nyd@unaffiliated/elysian) (Client Quit) |
| 07:48:27 | → | guriya joins (a0ee4af6@unaffiliated/guriya) |
| 07:48:33 | → | nyd joins (~nyd@unaffiliated/elysian) |
| 07:48:42 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 07:53:21 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 260 seconds) |
| 07:53:29 | → | m0rphism joins (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de) |
| 07:53:47 | × | guriya quits (a0ee4af6@unaffiliated/guriya) (Quit: Connection closed) |
| 07:54:57 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 07:55:09 | → | oxide joins (~lambda@unaffiliated/mclaren) |
| 07:55:39 | → | DTZUZU_ joins (~DTZUZO@207.81.119.43) |
| 07:57:33 | × | DTZUZU quits (~DTZUZO@205.ip-149-56-132.net) (Ping timeout: 240 seconds) |
| 07:59:28 | → | fendor joins (~fendor@178.115.130.102.wireless.dyn.drei.com) |
| 08:00:09 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 08:01:52 | × | evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Read error: Connection reset by peer) |
| 08:03:07 | → | LKoen joins (~LKoen@2a01cb0407597a00ac2f91280bdd769f.ipv6.abo.wanadoo.fr) |
| 08:03:33 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds) |
| 08:06:05 | → | evanjs joins (~evanjs@075-129-098-007.res.spectrum.com) |
| 08:06:19 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 08:07:20 | → | kritzefitz joins (~kritzefit@212.86.56.80) |
| 08:07:57 | → | poljar joins (~poljar@93-139-93-177.adsl.net.t-com.hr) |
| 08:08:11 | → | gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh) |
| 08:09:57 | × | hendursaga quits (~weechat@gateway/tor-sasl/hendursaga) (Ping timeout: 240 seconds) |
| 08:11:16 | × | poljar1 quits (~poljar@78-1-50-185.adsl.net.t-com.hr) (Ping timeout: 260 seconds) |
| 08:12:12 | × | Codaraxis_ quits (~Codaraxis@ip68-5-90-227.oc.oc.cox.net) (Quit: Leaving) |
| 08:13:13 | × | ixlun quits (~user@109.249.184.235) (Ping timeout: 240 seconds) |
| 08:14:13 | → | bitmagie joins (~Thunderbi@200116b80619af0038b023e60a9f8697.dip.versatel-1u1.de) |
| 08:14:32 | × | kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 268 seconds) |
| 08:14:51 | → | kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49) |
| 08:14:58 | × | bitmagie quits (~Thunderbi@200116b80619af0038b023e60a9f8697.dip.versatel-1u1.de) (Client Quit) |
| 08:15:12 | → | hendursaga joins (~weechat@gateway/tor-sasl/hendursaga) |
| 08:17:29 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 08:21:49 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 260 seconds) |
| 08:24:35 | → | vchlup joins (~vchlup@nat.brnet.cz) |
| 08:26:43 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 08:27:09 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 08:28:47 | → | libertyprime joins (~libertypr@124.197.60.232) |
| 08:32:08 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 265 seconds) |
| 08:34:45 | → | stree joins (~stree@68.36.8.116) |
| 08:38:12 | → | shiraeeshi joins (~shiraeesh@46.34.206.196) |
| 08:40:16 | → | newdeal joins (~root@185.234.208.208.r.toneticgroup.pl) |
| 08:45:11 | × | drbean_ quits (~drbean@TC210-63-209-25.static.apol.com.tw) (Ping timeout: 240 seconds) |
| 08:45:34 | × | sqrt2 quits (~ben@unaffiliated/sqrt2) (Ping timeout: 252 seconds) |
| 08:47:46 | → | __monty__ joins (~toonn@unaffiliated/toonn) |
| 08:49:01 | → | sqrt2 joins (~ben@unaffiliated/sqrt2) |
| 08:49:42 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 08:50:06 | → | Schrostfutz joins (~Schrostfu@schettlerdck.tkn.tu-berlin.de) |
| 08:55:28 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds) |
| 08:59:59 | × | aVikingTrex quits (~aVikingTr@2001:8003:340d:d00:b2de:b98:7a93:b0ea) (Ping timeout: 245 seconds) |
| 09:00:52 | → | viluon joins (uid453725@gateway/web/irccloud.com/x-zdmcjlqqmfcybklj) |
| 09:02:34 | → | rootmolloch joins (~lokitrall@2a02:3038:406:61a7:a13b:9b98:12ef:11db) |
| 09:03:10 | <rootmolloch> | bellman : let l = lambda in lambda = foldr (l) [+,-,*,/] |
| 09:03:26 | <rootmolloch> | :-) |
| 09:04:10 | <Axman6> | o.O |
| 09:07:00 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 09:07:22 | <rootmolloch> | http://whats-the-while.de.cool |
| 09:07:27 | × | nigel_c quits (~nigel_c@37.120.211.190) (Remote host closed the connection) |
| 09:07:29 | × | kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Ping timeout: 245 seconds) |
| 09:07:29 | <rootmolloch> | ?? |
| 09:07:48 | → | kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49) |
| 09:09:39 | <[exa]> | phishy. |
| 09:09:49 | <Axman6> | agreed |
| 09:09:55 | <Axman6> | @where ops |
| 09:09:55 | <lambdabot> | byorgey Cale conal copumpkin dcoutts dibblego dolio edwardk geekosaur glguy jmcarthur johnw mniip monochrom quicksilver shachaf shapr ski |
| 09:10:09 | ChanServ | sets mode +o dcoutts |
| 09:11:06 | → | biglama joins (b0a5a711@gateway/web/thelounge/ip.176.165.167.17) |
| 09:11:46 | × | LKoen quits (~LKoen@2a01cb0407597a00ac2f91280bdd769f.ipv6.abo.wanadoo.fr) (Remote host closed the connection) |
| 09:11:56 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 260 seconds) |
| 09:12:37 | ChanServ | sets mode -o dcoutts |
| 09:14:28 | → | nineonine joins (~nineonine@2604:3d08:777e:900:e4fe:87c8:c43b:fc90) |
| 09:15:39 | × | biglama quits (b0a5a711@gateway/web/thelounge/ip.176.165.167.17) (Client Quit) |
| 09:16:04 | → | biglama joins (~alex@static-176-165-167-17.ftth.abo.bbox.fr) |
| 09:16:38 | Lycurgus | wundert wenn er Richard meint |
| 09:17:21 | <dminuoso> | Axman6: Who knows, or they used a proper shadyurl tool. |
| 09:17:30 | <dminuoso> | Imagine, when people asking about monad and you just give them http://www.5z8.info/blackmarket_a1r3qh_stalin |
| 09:17:42 | → | DavidEichmann joins (~david@156.59.147.147.dyn.plus.net) |
| 09:17:53 | → | sz0 joins (uid110435@gateway/web/irccloud.com/x-fpfeimeqtceiorln) |
| 09:18:08 | <Axman6> | I should use shadyurl more often |
| 09:18:44 | × | nineonine quits (~nineonine@2604:3d08:777e:900:e4fe:87c8:c43b:fc90) (Ping timeout: 245 seconds) |
| 09:18:53 | → | jespada joins (~jespada@90.254.244.151) |
| 09:27:15 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 09:27:40 | <biglama> | Hi guys, is there a way to convert an ascii code stored in a Data.Text to the corresponding Data.Text, without using Char as an intermediary ? |
| 09:27:58 | <biglama> | My current solution : T.pack [toEnum (read "65") :: Char] |
| 09:28:24 | <dminuoso> | biglama: Any particular reason you dislike the Char as intermediary? |
| 09:29:25 | → | Johann_Petrak joins (~johann@2a02:8388:2740:3d00:841b:6448:2f3e:281f) |
| 09:29:28 | <biglama> | dminuoso: I wanted a shorter code :p |
| 09:29:41 | <wrunt> | biglama: maybe use Data.Text.singleton to go from Char -> Text? |
| 09:30:00 | <wrunt> | (still uses Char though) |
| 09:30:00 | <merijn> | That's now what he's doing |
| 09:30:04 | <Axman6> | @src Char |
| 09:30:04 | <lambdabot> | data Char = C# Char# |
| 09:30:11 | <Axman6> | Use Char# =) |
| 09:30:31 | <merijn> | that doesn't work |
| 09:30:46 | <merijn> | Pretty sure you can't read Char# |
| 09:31:39 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 245 seconds) |
| 09:31:52 | → | Qwerky joins (~qwerky@178.197.228.14) |
| 09:32:54 | <biglama> | I wanted to do ascii conversion in pure Data.Text but it does not seem possible :( |
| 09:33:14 | <dminuoso> | biglama: sure it is, just tap into the internals of text.. |
| 09:34:33 | <dminuoso> | Look at the implementation of `singleton` |
| 09:35:18 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 09:35:25 | <Axman6> | There's not going to be much you can do that isn't essentially doing exactly what toEnum . read does though |
| 09:36:53 | <dminuoso> | Though.. the more I look at text, you'll have to go through `Char`, unless you want to break it up internally so far that you're meddling with the internal MutableByteArray's. |
| 09:36:54 | × | Qwerky quits (~qwerky@178.197.228.14) (Ping timeout: 265 seconds) |
| 09:37:12 | <dminuoso> | At some point you should ask yourself whether that's really worth saving that single roundtrip through Char |
| 09:37:27 | <biglama> | There is an `ord2` function it Data.Text.Internal.Encoding.Utf8 but it says "Use at your own risk!" |
| 09:37:50 | <biglama> | dminuoso: That's not super important, I was just curious. Thanks :) |
| 09:38:04 | <dminuoso> | biglama: The key function to look at is: https://hackage.haskell.org/package/text-1.2.4.1/docs/src/Data.Text.Internal.Unsafe.Char.html#unsafeWrite |
| 09:38:17 | <dminuoso> | Essentially you'd have to adapt this to work without a Char |
| 09:38:24 | <dminuoso> | (unsafeWrite) |
| 09:40:11 | <biglama> | Looks complicated :/ |
| 09:40:26 | × | Schrostfutz quits (~Schrostfu@schettlerdck.tkn.tu-berlin.de) (Quit: Leaving) |
| 09:40:52 | → | ddellacosta joins (~ddellacos@86.106.143.35) |
| 09:40:56 | → | boxscape joins (54a350dc@p54a350dc.dip0.t-ipconnect.de) |
| 09:42:14 | <biglama> | Another question : since Data.Text implements Read, why can't I do : |
| 09:42:14 | <biglama> | read (T.pack "66") :: Int |
| 09:42:29 | <dminuoso> | % :t read |
| 09:42:29 | <yahb> | dminuoso: Read a => String -> a |
| 09:42:46 | <dminuoso> | biglama: You're thinking of `Read` the wrong way |
| 09:43:09 | <dminuoso> | The fact that Data.Text implements Read means, we can read a String as Text |
| 09:43:39 | <biglama> | Oh, I see. So can an Int be read to a Text ? I could not find anything on Hoogle |
| 09:43:47 | <dminuoso> | That is `show` |
| 09:43:50 | <dminuoso> | rather |
| 09:43:58 | <dminuoso> | And no, you have to roundtrip through String |
| 09:44:06 | <dminuoso> | this sort of accident is an unfortunate one |
| 09:44:19 | <dminuoso> | Several packages on hackage exist to provide read/show using text instead |
| 09:44:25 | <biglama> | Ok. I'm trying to use one type of string representation but it's hard to avoid String |
| 09:44:34 | <dminuoso> | https://hackage.haskell.org/package/text-show |
| 09:44:45 | <dminuoso> | biglama: Is this user-facing output? |
| 09:44:48 | <dminuoso> | Or just for debugging |
| 09:45:03 | <biglama> | Debugging. And a side project :p |
| 09:45:20 | <dminuoso> | there's several options |
| 09:45:26 | → | pera_ joins (~pera_@94.0.111.239) |
| 09:45:26 | × | ddellacosta quits (~ddellacos@86.106.143.35) (Ping timeout: 240 seconds) |
| 09:45:29 | → | elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) |
| 09:45:40 | × | xwvvvvwx quits (xwvvvvwx@gateway/vpn/mullvad/xwvvvvwx) (Quit: ZNC 1.8.2 - https://znc.in) |
| 09:45:40 | <dminuoso> | As a quick drop-in solution, I usually write `showT = T.pack . show`, put it into some Utils module and use it |
| 09:46:16 | <dminuoso> | Other more elaborate options rely on using prettyprinter rather than text |
| 09:47:52 | → | xwvvvvwx joins (xwvvvvwx@gateway/vpn/mullvad/xwvvvvwx) |
| 09:49:29 | <kuribas> | biglama: for debugging you shouldn't care |
| 09:49:37 | → | LKoen joins (~LKoen@lfbn-idf2-1-1523-141.w92-169.abo.wanadoo.fr) |
| 09:49:52 | <biglama> | dminuoso: The concept of prettyprinter is interesting |
| 09:50:24 | × | kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Ping timeout: 245 seconds) |
| 09:54:03 | → | kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49) |
| 09:57:13 | <biglama> | Thanks a lot anyway ! |
| 09:57:41 | × | acidjnk_new quits (~acidjnk@p200300d0c72b9554e88f3d58cc93ff66.dip0.t-ipconnect.de) (Ping timeout: 250 seconds) |
| 10:01:18 | × | boxscape quits (54a350dc@p54a350dc.dip0.t-ipconnect.de) (Quit: Connection closed) |
| 10:01:35 | → | boxscape joins (54a350dc@p54a350dc.dip0.t-ipconnect.de) |
| 10:03:07 | × | sqrt2 quits (~ben@unaffiliated/sqrt2) (Ping timeout: 252 seconds) |
| 10:04:46 | → | sqrt2 joins (~ben@unaffiliated/sqrt2) |
| 10:06:02 | → | acidjnk_new joins (~acidjnk@p200300d0c72b9554e88f3d58cc93ff66.dip0.t-ipconnect.de) |
| 10:08:11 | × | rootmolloch quits (~lokitrall@2a02:3038:406:61a7:a13b:9b98:12ef:11db) (Quit: Leaving) |
| 10:10:53 | × | Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 240 seconds) |
| 10:12:30 | → | ddellacosta joins (~ddellacos@86.106.143.243) |
| 10:17:16 | × | ddellacosta quits (~ddellacos@86.106.143.243) (Ping timeout: 260 seconds) |
| 10:26:05 | → | malumore joins (~malumore@151.62.127.105) |
| 10:37:24 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:9c6b:b655:282d:e6b6) |
| 10:40:18 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 10:40:38 | × | Guest36185 quits (~textual@2603-7000-3040-0000-a930-38e4-f357-846f.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 10:41:53 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:9c6b:b655:282d:e6b6) (Ping timeout: 250 seconds) |
| 10:43:07 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 265 seconds) |
| 10:44:26 | × | LKoen quits (~LKoen@lfbn-idf2-1-1523-141.w92-169.abo.wanadoo.fr) (Remote host closed the connection) |
| 10:45:49 | → | enoq joins (~textual@194-208-146-143.lampert.tv) |
| 10:49:56 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 10:51:53 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 10:52:09 | <tdammers> | IME, you usually want an application-specific notion of "stringification" anyway; `show` is really only appropriate for trace debugging IMO |
| 10:54:43 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 265 seconds) |
| 10:56:07 | → | stree joins (~stree@68.36.8.116) |
| 10:56:19 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 10:56:34 | → | Qwerky joins (~qwerky@178.197.228.14) |
| 10:56:39 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 265 seconds) |
| 11:00:41 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds) |
| 11:01:18 | × | hyiltiz-M quits (hyiltizkde@gateway/shell/kde/matrix/x-zxgylrwrlsislond) (Quit: Bridge terminating on SIGTERM) |
| 11:01:19 | × | anandprabhu-M quits (anandprabh@gateway/shell/kde/matrix/x-bvhldoupnbmlqysg) (Quit: Bridge terminating on SIGTERM) |
| 11:01:30 | → | Benzi-Junior joins (~BenziJuni@88-149-64-251.du.xdsl.is) |
| 11:01:39 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 11:02:29 | × | Qwerky quits (~qwerky@178.197.228.14) (Remote host closed the connection) |
| 11:02:56 | → | hyiltiz-M joins (hyiltizkde@gateway/shell/kde/matrix/x-owzkkkzddiktgsbs) |
| 11:03:10 | → | zaquest joins (~notzaques@5.128.210.178) |
| 11:04:25 | → | xenon- joins (~bc817c21@217.29.117.252) |
| 11:04:29 | → | anandprabhu-M joins (anandprabh@gateway/shell/kde/matrix/x-nrjhpucozlnoitze) |
| 11:05:08 | <xenon-> | dminuoso how do they do it, they just convert String to Text? or they create new typeclasses |
| 11:08:08 | <boxscape> | is there a version of error that takes an instance of Show instead of a String? |
| 11:08:45 | <xenon-> | I don't think so |
| 11:08:48 | <boxscape> | ok |
| 11:08:53 | <xenon-> | @hoogle Show a => a -> b |
| 11:08:54 | <lambdabot> | Protolude show :: (Show a, ConvertText String b) => a -> b |
| 11:08:54 | <lambdabot> | SPARC.Base largeOffsetError :: Show a => a -> b |
| 11:08:54 | <lambdabot> | Intro show :: (Show a, ConvertString String s) => a -> s |
| 11:09:21 | <xenon-> | @hoogle String -> a |
| 11:09:22 | <lambdabot> | Text.Printf perror :: String -> a |
| 11:09:22 | <lambdabot> | GHC.Enum succError :: String -> a |
| 11:09:22 | <lambdabot> | GHC.Enum predError :: String -> a |
| 11:09:29 | → | davros joins (~davros@host86-185-126-190.range86-185.btcentralplus.com) |
| 11:09:49 | <SoF> | % Text.Printf "test" |
| 11:09:49 | <yahb> | SoF: ; <interactive>:113:1: error:; Not in scope: data constructor `Text.Printf'; No module named `Text' is imported. |
| 11:10:25 | <boxscape> | % Data.Text.Printf "test" |
| 11:10:26 | <yahb> | boxscape: ; <interactive>:114:1: error:; Not in scope: data constructor `Data.Text.Printf'; No module named `Data.Text' is imported. |
| 11:10:40 | <boxscape> | % Data.Text.Printf.perror "test" |
| 11:10:40 | <yahb> | boxscape: ; <interactive>:115:1: error:; Not in scope: `Data.Text.Printf.perror'; Perhaps you meant `Text.Printf.perror' (imported from Text.Printf); No module named `Data.Text.Printf' is imported. |
| 11:10:42 | <boxscape> | meh |
| 11:10:47 | → | sheepduck joins (~sheepduck@2607:fea8:2a60:b700::5d55) |
| 11:10:48 | × | pmj quits (~pmj@p4fe156fa.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 11:10:51 | <boxscape> | I guess that is what I meant |
| 11:11:36 | <dminuoso> | xenon-: you mean prettyprinter? |
| 11:13:41 | × | Lycurgus quits (~niemand@cpe-45-46-140-49.buffalo.res.rr.com) (Ping timeout: 252 seconds) |
| 11:14:11 | → | Alleria joins (~textual@zrcout.mskcc.org) |
| 11:14:36 | Alleria | is now known as Guest35141 |
| 11:15:41 | × | biglama quits (~alex@static-176-165-167-17.ftth.abo.bbox.fr) (Ping timeout: 240 seconds) |
| 11:15:50 | → | nineonine joins (~nineonine@2604:3d08:777e:900:44b9:dfd8:3ef5:78e4) |
| 11:16:01 | → | biglama joins (~alex@static-176-165-167-17.ftth.abo.bbox.fr) |
| 11:18:29 | <xenon-> | dminuoso, Read/Show that works with Text |
| 11:20:01 | × | nineonine quits (~nineonine@2604:3d08:777e:900:44b9:dfd8:3ef5:78e4) (Ping timeout: 250 seconds) |
| 11:22:41 | × | biglama quits (~alex@static-176-165-167-17.ftth.abo.bbox.fr) (Ping timeout: 240 seconds) |
| 11:22:50 | <dminuoso> | xenon-: for one direction, there's text-show |
| 11:23:47 | <dminuoso> | The other direction is, roughly, encapsulated by attoparsec |
| 11:24:31 | → | biglama joins (~alex@static-176-165-167-17.ftth.abo.bbox.fr) |
| 11:27:58 | <dminuoso> | I guess ultimately its not the same thing |
| 11:28:29 | → | ddellacosta joins (~ddellacos@83.143.246.105) |
| 11:28:30 | <dminuoso> | (and read in generally is a weird thing, if we look at the semantics of deriving generated instances - it doesnt seem that useful) |
| 11:28:38 | → | henninb joins (~henninb@63-226-190-31.mpls.qwest.net) |
| 11:28:45 | <dminuoso> | it's rather a poor mans serialization/deserialization format |
| 11:29:02 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 265 seconds) |
| 11:29:04 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 11:29:59 | × | henninb quits (~henninb@63-226-190-31.mpls.qwest.net) (Client Quit) |
| 11:30:26 | → | urodna joins (~urodna@unaffiliated/urodna) |
| 11:30:36 | → | henninb joins (~henninb@63-226-190-31.mpls.qwest.net) |
| 11:33:03 | × | biglama quits (~alex@static-176-165-167-17.ftth.abo.bbox.fr) (Remote host closed the connection) |
| 11:33:43 | × | ddellacosta quits (~ddellacos@83.143.246.105) (Ping timeout: 268 seconds) |
| 11:34:03 | × | Johann_Petrak quits (~johann@2a02:8388:2740:3d00:841b:6448:2f3e:281f) (Quit: Konversation terminated!) |
| 11:34:20 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds) |
| 11:34:59 | × | oish quits (~charlie@228.25.169.217.in-addr.arpa) (Quit: leaving) |
| 11:35:57 | → | Sh4un joins (~Sh4un@modemcable159.116-21-96.mc.videotron.ca) |
| 11:41:02 | × | nyd quits (~nyd@unaffiliated/elysian) (Ping timeout: 246 seconds) |
| 11:42:09 | → | nyd joins (~nyd@unaffiliated/elysian) |
| 11:48:33 | → | bitmagie joins (~Thunderbi@200116b80619af0038b023e60a9f8697.dip.versatel-1u1.de) |
| 11:49:59 | × | ericsagn1 quits (~ericsagne@2405:6580:0:5100:aeb:7147:cca0:e8ac) (Ping timeout: 245 seconds) |
| 11:51:26 | × | olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Ping timeout: 252 seconds) |
| 11:55:21 | → | xcmw joins (~textual@2603-6011-2200-f103-1907-5406-5646-5d03.res6.spectrum.com) |
| 11:56:57 | × | pavonia quits (~user@unaffiliated/siracusa) (Quit: Bye!) |
| 11:57:53 | → | Qwerky joins (~qwerky@178.197.228.14) |
| 11:59:18 | × | stree quits (~stree@68.36.8.116) (Quit: Caught exception) |
| 11:59:41 | → | stree joins (~stree@68.36.8.116) |
| 11:59:56 | × | shiraeeshi quits (~shiraeesh@46.34.206.196) (Remote host closed the connection) |
| 11:59:58 | → | ddellacosta joins (~ddellacos@86.106.143.178) |
| 12:00:19 | → | shiraeeshi joins (~shiraeesh@46.34.206.196) |
| 12:01:58 | → | ericsagn1 joins (~ericsagne@2405:6580:0:5100:bb87:2466:bc3c:d7f9) |
| 12:04:38 | × | ddellacosta quits (~ddellacos@86.106.143.178) (Ping timeout: 252 seconds) |
| 12:06:02 | × | plutoniix quits (~q@ppp-58-8-148-189.revip2.asianet.co.th) (Quit: Leaving) |
| 12:06:27 | ← | falsifian parts (~falsifian@exoco.falsifian.org) () |
| 12:06:56 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 260 seconds) |
| 12:07:50 | × | mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Quit: Leaving) |
| 12:07:55 | × | stree quits (~stree@68.36.8.116) (Quit: Caught exception) |
| 12:08:18 | → | stree joins (~stree@68.36.8.116) |
| 12:08:24 | → | mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh) |
| 12:11:58 | → | guriya joins (a0ee4a50@unaffiliated/guriya) |
| 12:12:47 | → | malumore_ joins (~malumore@151.62.127.105) |
| 12:13:06 | × | chris___ quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 12:14:14 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 12:15:06 | × | malumore quits (~malumore@151.62.127.105) (Ping timeout: 240 seconds) |
| 12:15:54 | → | xkapastel joins (uid17782@gateway/web/irccloud.com/x-sydhbolmzgdlxhuf) |
| 12:18:00 | → | chris___ joins (~chris@81.96.113.213) |
| 12:22:11 | × | chris___ quits (~chris@81.96.113.213) (Ping timeout: 240 seconds) |
| 12:23:37 | × | Qwerky quits (~qwerky@178.197.228.14) (Remote host closed the connection) |
| 12:24:34 | × | sheepduck quits (~sheepduck@2607:fea8:2a60:b700::5d55) (Ping timeout: 245 seconds) |
| 12:27:39 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 12:33:48 | × | pera_ quits (~pera_@94.0.111.239) (Quit: leaving) |
| 12:33:53 | × | ezzieyguywuf quits (~Unknown@unaffiliated/ezzieyguywuf) (Remote host closed the connection) |
| 12:35:47 | → | ezzieyguywuf joins (~Unknown@unaffiliated/ezzieyguywuf) |
| 12:35:48 | → | jao joins (~jao@pdpc/supporter/professional/jao) |
| 12:35:52 | → | patlv joins (~patlv@unaffiliated/patlv) |
| 12:36:21 | → | patlv_ joins (~patlv@unaffiliated/patlv) |
| 12:36:37 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 268 seconds) |
| 12:38:51 | → | Qwerky joins (~qwerky@178.197.228.14) |
| 12:39:39 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 12:40:11 | × | patlv quits (~patlv@unaffiliated/patlv) (Ping timeout: 240 seconds) |
| 12:41:57 | → | machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca) |
| 12:43:36 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 12:44:38 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 268 seconds) |
| 12:45:01 | × | Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 260 seconds) |
| 12:46:23 | × | guriya quits (a0ee4a50@unaffiliated/guriya) (Ping timeout: 240 seconds) |
| 12:49:06 | × | Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 240 seconds) |
| 12:49:48 | → | Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362) |
| 12:51:42 | → | roconnor joins (~roconnor@host-23-91-186-24.dyn.295.ca) |
| 12:52:10 | × | Sh4un quits (~Sh4un@modemcable159.116-21-96.mc.videotron.ca) (Ping timeout: 265 seconds) |
| 12:53:27 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Excess Flood) |
| 12:53:53 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 12:54:26 | × | patlv_ quits (~patlv@unaffiliated/patlv) (Quit: Leaving) |
| 12:54:27 | → | drbean_ joins (~drbean@TC210-63-209-188.static.apol.com.tw) |
| 12:55:07 | → | patlv joins (~patlv@unaffiliated/patlv) |
| 12:55:19 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 12:55:23 | → | biglama joins (~alex@static-176-165-167-17.ftth.abo.bbox.fr) |
| 12:56:09 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 12:58:10 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds) |
| 12:58:25 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 13:03:18 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:f135:532c:2de6:afae) |
| 13:04:42 | × | henninb quits (~henninb@63-226-190-31.mpls.qwest.net) (Quit: Lost terminal) |
| 13:07:19 | × | RusAlex quits (~Chel@unaffiliated/rusalex) (Quit: WeeChat 3.0) |
| 13:07:29 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:f135:532c:2de6:afae) (Ping timeout: 245 seconds) |
| 13:07:36 | → | Sgeo joins (~Sgeo@ool-18b9875e.dyn.optonline.net) |
| 13:11:49 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 13:12:04 | × | patlv quits (~patlv@unaffiliated/patlv) (Ping timeout: 245 seconds) |
| 13:13:45 | → | geekosaur joins (45870322@069-135-003-034.biz.spectrum.com) |
| 13:14:42 | → | N4lt joins (~N4lt@modemcable159.116-21-96.mc.videotron.ca) |
| 13:16:14 | → | bahamas joins (~lucian@86.125.184.64) |
| 13:16:15 | × | bahamas quits (~lucian@86.125.184.64) (Changing host) |
| 13:16:15 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 13:16:22 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:f135:532c:2de6:afae) |
| 13:16:42 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 268 seconds) |
| 13:18:28 | × | xenon- quits (~bc817c21@217.29.117.252) (Quit: http://www.okay.uz/) |
| 13:19:03 | → | Lycurgus joins (~niemand@cpe-45-46-140-49.buffalo.res.rr.com) |
| 13:19:31 | × | Guest37858 quits (~alexander@2a02:587:dc19:ab00:49f:5b0e:f658:23e8) (Ping timeout: 260 seconds) |
| 13:20:34 | → | guest517` joins (~user@49.5.6.87) |
| 13:20:35 | × | guest517 quits (~user@49.5.6.87) (Read error: Connection reset by peer) |
| 13:20:55 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 252 seconds) |
| 13:22:11 | × | xsperry quits (~as@unaffiliated/xsperry) () |
| 13:23:58 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 13:24:46 | → | jamm_ joins (~jamm@unaffiliated/jamm) |
| 13:25:33 | → | xsperry joins (~as@unaffiliated/xsperry) |
| 13:28:06 | → | alx741 joins (~alx741@186.178.108.105) |
| 13:30:51 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 13:33:11 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:f135:532c:2de6:afae) (Remote host closed the connection) |
| 13:33:49 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:f135:532c:2de6:afae) |
| 13:34:13 | × | jao quits (~jao@pdpc/supporter/professional/jao) (Ping timeout: 265 seconds) |
| 13:34:40 | → | knupfer joins (~Thunderbi@200116b822d01a00f69634fffef0b45f.dip.versatel-1u1.de) |
| 13:35:40 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds) |
| 13:37:18 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) |
| 13:37:36 | × | kjak quits (~kjak@pool-108-45-56-21.washdc.fios.verizon.net) (Ping timeout: 265 seconds) |
| 13:37:36 | × | Qwerky quits (~qwerky@178.197.228.14) (Remote host closed the connection) |
| 13:37:55 | → | kjak joins (~kjak@pool-108-45-56-21.washdc.fios.verizon.net) |
| 13:39:05 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Client Quit) |
| 13:44:27 | × | drbean_ quits (~drbean@TC210-63-209-188.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in) |
| 13:44:36 | → | mikoto-chan joins (~mikoto-ch@gateway/tor-sasl/mikoto-chan) |
| 13:48:32 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 13:49:18 | → | moth1 joins (~moth@37.120.211.190) |
| 13:50:11 | × | sagax quits (~sagax_nb@213.138.71.146) (Ping timeout: 246 seconds) |
| 13:52:00 | → | willardthor joins (d4ed87cf@c-xd4ed87cf.cust.hiper.dk) |
| 13:52:58 | → | Qwerky joins (~qwerky@178.197.228.14) |
| 13:53:09 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 260 seconds) |
| 13:56:47 | → | waleee-cl joins (uid373333@gateway/web/irccloud.com/x-lpmljnscttdlzszw) |
| 13:57:39 | → | hypercube joins (~hypercube@2603-6011-f901-9e5b-78b5-8b2f-cdb2-4171.res6.spectrum.com) |
| 13:57:46 | × | Qwerky quits (~qwerky@178.197.228.14) (Ping timeout: 260 seconds) |
| 13:58:21 | × | Merfont quits (~Kaiepi@47.54.252.148) (Ping timeout: 260 seconds) |
| 14:00:06 | → | st8less joins (~st8less@2603:a060:11fd:0:475f:7ec2:20c6:ac2c) |
| 14:03:13 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 14:03:36 | × | jamm_ quits (~jamm@unaffiliated/jamm) (Remote host closed the connection) |
| 14:04:27 | → | Sheilong joins (uid293653@gateway/web/irccloud.com/x-pmhdkeusnrjysucn) |
| 14:05:44 | × | undvrainbowvita8 quits (~egp_@128-71-13-3.broadband.corbina.ru) (Quit: EXIT) |
| 14:08:29 | → | xenon- joins (~bc817c21@217.29.117.252) |
| 14:10:08 | × | shiraeeshi quits (~shiraeesh@46.34.206.196) (Ping timeout: 246 seconds) |
| 14:10:21 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 14:10:46 | × | Rudd0^ quits (~Rudd0@185.189.115.103) (Ping timeout: 252 seconds) |
| 14:11:35 | → | Tario joins (~Tario@201.192.165.173) |
| 14:14:54 | <boxscape> | I keep thinking the extension is called OverloadedRecordFields instead of DuplicateRecordFields |
| 14:15:10 | <boxscape> | Duplicate kind of seems to imply 2, maybe it should be n-plicateRecordFields |
| 14:16:26 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 260 seconds) |
| 14:17:37 | → | undvrainbowvita8 joins (~egp_@128-71-13-3.broadband.corbina.ru) |
| 14:17:58 | <Cale> | RamifiedRecordFields, lol |
| 14:20:23 | × | guest517` quits (~user@49.5.6.87) (Read error: Connection reset by peer) |
| 14:20:32 | → | guest517` joins (~user@49.5.6.87) |
| 14:20:39 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:f135:532c:2de6:afae) (Remote host closed the connection) |
| 14:20:55 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:f135:532c:2de6:afae) |
| 14:21:31 | → | jamm_ joins (~jamm@unaffiliated/jamm) |
| 14:23:45 | × | xff0x quits (~xff0x@2001:1a81:535b:1600:c038:9b40:2a0a:496d) (Ping timeout: 250 seconds) |
| 14:24:16 | → | Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 14:24:19 | <willardthor> | Hi folks, can any of you help me understand an error that I am getting? (I am still learning) (If this is the wrong place to ask, then let me know, and I'll ask elsewhere). See https://paste.tomsmeding.com/emRl2ySZ . I've created a type class for "types with a default value". Its single operation is `def`, which yields said default value. However, |
| 14:24:19 | <willardthor> | when I use it when defining functions with a polymorphic type, GHCI cannot figure out which type `def` should be, and it won't let me coerce `def` to the (polymorphic) type that I want it to have. Any ideas? |
| 14:25:36 | → | xff0x joins (xff0x@gateway/vpn/mullvad/xff0x) |
| 14:25:53 | <geekosaur> | going through this in order, ghci assumes Integer because of defaulting |
| 14:25:53 | <Cale> | willardthor: What happens if you remove the annotation? Just write def and not def :: v? |
| 14:26:06 | <Cale> | The problem is that you're not using ScopedTypeVariables, I think |
| 14:26:25 | <geekosaur> | you'd also need an explicit forall in that case |
| 14:26:44 | <geekosaur> | basically the scope of v does not extend to the definition, only to the declaration |
| 14:26:48 | <Cale> | You can do so by adding {-# LANGUAGE ScopedTypeVariables #-} to the top of your file, and adding a forall like thedef :: forall v. Def v => v |
| 14:27:07 | × | mrchampion quits (~mrchampio@206.186.171.254) (Ping timeout: 252 seconds) |
| 14:27:09 | <Cale> | and then you'll be able to use v to refer to the actual type that v was bound to, in the definition of thedef |
| 14:27:30 | <Cale> | Without that extension, type variables only scope over a single type signature |
| 14:27:48 | <boxscape> | stupid question: Is there a (possibly hacky) way to call local bindings of a function in ghci? |
| 14:27:54 | <Cale> | So when you say def :: v GHC has no way of knowing that it's the same v |
| 14:28:03 | <Cale> | boxscape: nope |
| 14:28:04 | <geekosaur> | boxscape, no |
| 14:28:06 | <boxscape> | okay |
| 14:28:20 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 14:28:21 | <Cale> | Well, maybe *really* hacky |
| 14:28:44 | <Cale> | If you happened to know where GHC put them in memory (and they hadn't been inlined) |
| 14:28:49 | → | UTENTE joins (~Username@176.32.27.9) |
| 14:28:54 | → | alexander joins (~alexander@athedsl-351794.home.otenet.gr) |
| 14:28:56 | <boxscape> | heh okay that sounds fragile |
| 14:28:59 | <Cale> | But that's not going to be easy at all |
| 14:29:02 | <Cale> | yeah |
| 14:29:23 | alexander | is now known as Guest77094 |
| 14:29:24 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 14:29:31 | × | UTENTE quits (~Username@176.32.27.9) (Read error: Connection reset by peer) |
| 14:29:34 | → | mrchampion joins (~mrchampio@206.186.171.254) |
| 14:29:43 | × | Lycurgus quits (~niemand@cpe-45-46-140-49.buffalo.res.rr.com) (Quit: Exeunt) |
| 14:29:50 | → | stree joins (~stree@68.36.8.116) |
| 14:32:02 | <willardthor> | Thank you for the responses so far. @Cale What happens if you remove the annotation? : As evidenced by `Example0.hs` vs. `Example1.hs`, removing the `:: v` produces a type error. @Cale You're not using ScopedTypeVariables : I'll look into this; thanks for the tip! |
| 14:34:13 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 260 seconds) |
| 14:34:25 | <boxscape> | does the star in `:m *<modulename>` simply mean that non-exported bindings can be used or does it also mean that the module is forced to be loaded interpreted instead of compiled? |
| 14:34:28 | <boxscape> | (in ghci) |
| 14:35:06 | <willardthor> | geekosaur "The scope of v does not extend to the definition, only to the declaration" : Can you clarify? Is the fact that I coerced at the right-hand-side of '=' not taken into account when typing the whole function definition? |
| 14:35:36 | <Cale> | willardthor: oh, I see, yeah, you didn't have the type error in Example0.hs |
| 14:35:48 | <Cale> | It seems like removing it fixes the problem? |
| 14:36:07 | <Cale> | willardthor: It's just that it's not the same v |
| 14:36:20 | <Cale> | willardthor: So it's as though you'd written thedef :: w there |
| 14:36:44 | <Cale> | and then GHC doesn't know that w is supposed to be equal to the v from the type signature for the function |
| 14:37:09 | <Cale> | (or definition, rather) |
| 14:37:27 | <boxscape> | % :m + *Data.Monoid |
| 14:37:27 | <yahb> | boxscape: module 'Data.Monoid' is from another package;; this command requires an interpreted module |
| 14:37:33 | <boxscape> | I suppose that answers my question |
| 14:37:38 | <willardthor> | Cale "Removing it fixes the problem": Yeah, but I kind of need it later :-P (Unless there's another way to do what I am trying to, of course). I'm writing a polymorphic function, where the only thing I know about the input type, is that it's a member of `Def` . I would then like to obtain the default value of the input type, in the function |
| 14:37:39 | <willardthor> | body. |
| 14:38:01 | × | nyd quits (~nyd@unaffiliated/elysian) (Ping timeout: 265 seconds) |
| 14:38:33 | <willardthor> | Cale "It's just that it's not the same v" : That's what GHCI is saying, and that's what I'm not getting. Why is it not the same, or how do I make clear that it's the same? |
| 14:38:49 | <geekosaur> | you use ScopedTypeZVZariables |
| 14:38:51 | <geekosaur> | er |
| 14:38:58 | <geekosaur> | you use ScopedTypeVariables |
| 14:39:01 | <Cale> | willardthor: Without turning on extensions, type variables never scope over anything larger than a single type signature |
| 14:39:36 | → | nyd joins (nyd@gateway/vpn/protonvpn/elysian) |
| 14:40:48 | <Cale> | So yeah, you have to turn on ScopedTypeVariables if you want to be able to refer to the same v |
| 14:41:11 | × | xff0x quits (xff0x@gateway/vpn/mullvad/xff0x) (Ping timeout: 268 seconds) |
| 14:41:11 | × | benin quits (~benin@183.82.177.199) (Ping timeout: 268 seconds) |
| 14:41:13 | <Cale> | I don't think there's another way, apart from doing trickery that would complicate the type of def |
| 14:41:35 | <willardthor> | Cale geekosaur I just tried turning on `ScopedTypeVariables` (adding `{-# LANGUAGE ScopedTypeVariables #-}` to the start of `Example1.hs` and `Example2.hs` ), without success; the same errors get reported. |
| 14:42:06 | <Cale> | Yep, to use ScopedTypeVariables, you have to explicitly bind the variables using forall |
| 14:42:18 | <willardthor> | ... ah. Let me do that real quick. |
| 14:42:50 | → | xff0x joins (~xff0x@2001:1a81:535b:1600:c038:9b40:2a0a:496d) |
| 14:46:21 | <willardthor> | Cale geekosaur I added `forall v .` at the start of the type declaration of `thedef` . This fixes the problem in `Example1.hs` . I did the same in `Example2.hs` , yet the problem remains there. |
| 14:47:17 | <Cale> | Did you also add a signature to clarify the type of the usage of def? |
| 14:47:24 | <willardthor> | waitwait, I then coerced the `def` and /that/ worked |
| 14:47:29 | <Cale> | yep |
| 14:47:31 | → | parabolize joins (~paraboliz@98.43.173.221) |
| 14:47:34 | <willardthor> | :-) Thanks guys |
| 14:47:38 | → | romesrf joins (~romesrf@44.190.189.46.rev.vodafone.pt) |
| 14:47:41 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 265 seconds) |
| 14:48:29 | <romesrf> | hey everyone, if I do a StateT Maybe monad, and return (Element) normally, how can I lift the StateT to return Nothing instead of a Just something ? |
| 14:49:21 | <[exa]> | romesrf: how did the Maybe get there? |
| 14:49:30 | <[exa]> | ah sorry I can't read |
| 14:49:43 | <romesrf> | perhaps i should make a small example, but i thought it might be a common issue |
| 14:50:01 | <[exa]> | for returning nothing I'd just try failing, e.g. with `empty` |
| 14:50:01 | <romesrf> | some function has type Something -> StateT SomeState Maybe Something |
| 14:50:13 | <[exa]> | (possibly: lift empty) |
| 14:50:19 | <romesrf> | Oh! Okay, i'll try that. |
| 14:50:37 | × | acidjnk_new quits (~acidjnk@p200300d0c72b9554e88f3d58cc93ff66.dip0.t-ipconnect.de) (Ping timeout: 250 seconds) |
| 14:51:08 | <[exa]> | :t lift empty |
| 14:51:09 | <lambdabot> | (MonadTrans t, Monad m, Alternative m) => t m a |
| 14:51:47 | <[exa]> | looks okay to me with t~StateT, m~Maybe |
| 14:52:23 | <Cale> | empty or mempty on its own ought to be fine |
| 14:52:32 | <Cale> | er |
| 14:52:39 | <[exa]> | can StateT carry that? |
| 14:52:45 | <Cale> | Actually, not sure about mempty, I mean mzero |
| 14:53:00 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 14:53:13 | <[exa]> | ah cool it has MonadFail |
| 14:53:51 | <Cale> | Oh yeah, you could also use fail I suppose |
| 14:54:52 | <romesrf> | i think just empty might work. at least the type system is fine with it ;) |
| 14:55:04 | <romesrf> | i'll let you know soon. ty |
| 14:55:35 | [exa] | stares at the Alternative (StateT s m) marked [safe], cool |
| 14:56:33 | × | Guest35141 quits (~textual@zrcout.mskcc.org) (Remote host closed the connection) |
| 14:56:54 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 14:57:10 | <willardthor> | Cale geekosaur (so that I learn from this) : How come `ScopedTypeVariables` is needed? I thought that this was the default behavior in Haskell. That is: That a polymorphic function's type declaration (e.g. type of `thedef` ) binds all occurrences of polymorphic types (e.g. `v` ) that it mentions, such that any occurrence of those bound types (e.g. |
| 14:57:10 | <willardthor> | `v` ) within the body of the function definition, refers to that binder (unless bound more locally). (It's reasonable of GHCI to consider that `v` could be bound to something else more locally; it's dumb that it can't see that it isn't) |
| 14:57:11 | → | Alleria joins (~textual@mskresolve-a.mskcc.org) |
| 14:57:15 | <[exa]> | noticing many more instances have [safe] now, I should probably upgrade ghc much more often. :D |
| 14:57:25 | ← | cohn parts (~noone@unaffiliated/cohn) () |
| 14:57:35 | Alleria | is now known as Guest1564 |
| 14:58:07 | <Cale> | Nope, that's just not how it works. Type variables are only meaningful in the single type that's using them and don't carry over into other type signatures |
| 14:58:24 | <geekosaur> | it's not the default behavior but enough people expect it that the ScopedTypeVariables extension was created |
| 14:59:41 | <Cale> | Though what might be nicer than ScopedTypeVariables is being able to explicitly bind the applied type variables at the term level. Eventually that'll probably be a feature of TypeApplications, but it doesn't yet work |
| 15:00:41 | <Cale> | e.g. to be able to write prettydef @t v = pretty v <+> pretty (def @t) |
| 15:00:46 | <willardthor> | Cale "Only meaningful": I see; and the coercion is then a separate type signature (where an occurrence e.g. to `v` is considered a different/fresh `v` ). |
| 15:01:02 | <Cale> | yeah |
| 15:01:22 | <Cale> | So it's exactly the same as if you'd written any other variable name there |
| 15:01:22 | <willardthor> | geekosaur This is now one of my new favorite extensions:) |
| 15:02:04 | → | qwerty2o joins (~qwerty2o@46-116-99-209.bb.netvision.net.il) |
| 15:03:05 | <qwerty2o> | hi im trying to creat a splitOn function |
| 15:03:10 | <qwerty2o> | i got this so far |
| 15:03:11 | <qwerty2o> | https://dpaste.org/ezmS#L1,3 |
| 15:03:26 | <qwerty2o> | but now i want to split by two or more delimiters |
| 15:03:42 | <qwerty2o> | is there an option to give break a second delimiter? |
| 15:03:50 | → | ddellac__ joins (~ddellacos@86.106.143.217) |
| 15:03:55 | → | LKoen joins (~LKoen@2a01cb0407597a009cf9697881694994.ipv6.abo.wanadoo.fr) |
| 15:03:59 | <qwerty2o> | like break (== del1 || == del2) |
| 15:04:02 | <qwerty2o> | something like that |
| 15:04:29 | <qwerty2o> | or if i could go by a list or delimiters that'd be even better |
| 15:04:38 | <willardthor> | Cale `TypeApplications` : nice, that would bring Haskell even closer to dependently-typed programming. |
| 15:05:11 | <Cale> | qwerty2o: (\x -> x == del1 || x == del2) or (\x -> x `elem` [del1, del2]) or (`elem` [del1, del2]) |
| 15:05:39 | <Cale> | willardthor: Yeah, to be clear, TypeApplications exists, just there's no pattern matching bit |
| 15:05:53 | <Cale> | So you still need to use ScopedTypeVariables with it usually |
| 15:06:03 | <willardthor> | Cale gotcha (y) |
| 15:07:06 | <qwerty2o> | Cale, thank you sir |
| 15:07:15 | <qwerty2o> | didnt think about elem lol |
| 15:08:56 | × | ddellac__ quits (~ddellacos@86.106.143.217) (Ping timeout: 260 seconds) |
| 15:09:04 | × | bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 252 seconds) |
| 15:09:08 | → | fendor_ joins (~fendor@213142096253.public.telering.at) |
| 15:09:18 | <[exa]> | qwerty2o: overly applicative solution: `liftA2 (||) (==del1) (==del2)` |
| 15:10:05 | <qwerty2o> | thats nice but i actually need a string of delimiters |
| 15:10:17 | × | wallymathieu quits (~wallymath@81-234-151-21-no94.tbcn.telia.com) (Quit: Textual IRC Client: www.textualapp.com) |
| 15:10:21 | <qwerty2o> | so the (`elem` delims was the solution) |
| 15:10:38 | → | cohn joins (~noone@unaffiliated/cohn) |
| 15:11:40 | × | fendor quits (~fendor@178.115.130.102.wireless.dyn.drei.com) (Ping timeout: 252 seconds) |
| 15:12:35 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) |
| 15:12:41 | → | mastarija joins (~mastarija@31.217.1.195) |
| 15:13:09 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds) |
| 15:13:47 | → | ozzymcdu_ joins (~ozzymcduf@81-234-151-21-no94.tbcn.telia.com) |
| 15:15:38 | → | wallymathieu joins (~wallymath@81-234-151-21-no94.tbcn.telia.com) |
| 15:17:28 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 15:17:52 | → | benin joins (~benin@183.82.177.199) |
| 15:19:26 | × | proofofkeags quits (~proofofke@97-118-239-55.hlrn.qwest.net) (Ping timeout: 260 seconds) |
| 15:19:33 | × | tomboy64 quits (~tomboy64@gateway/tor-sasl/tomboy64) (Ping timeout: 240 seconds) |
| 15:23:05 | ← | willardthor parts (d4ed87cf@c-xd4ed87cf.cust.hiper.dk) () |
| 15:24:10 | <romesrf> | it worked [exa] ty :) |
| 15:24:52 | → | nineonine joins (~nineonine@2604:3d08:777e:900:e4fe:87c8:c43b:fc90) |
| 15:25:17 | → | Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) |
| 15:25:30 | × | jamm_ quits (~jamm@unaffiliated/jamm) (Remote host closed the connection) |
| 15:26:39 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:f135:532c:2de6:afae) (Ping timeout: 245 seconds) |
| 15:26:57 | → | knyppeldynan joins (~kristina@h-178-174-136-151.NA.cust.bahnhof.se) |
| 15:27:33 | × | rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds) |
| 15:31:17 | → | plutoniix joins (~q@node-uls.pool-125-24.dynamic.totinternet.net) |
| 15:32:55 | → | tomboy64 joins (~tomboy64@gateway/tor-sasl/tomboy64) |
| 15:33:48 | → | jamm_ joins (~jamm@unaffiliated/jamm) |
| 15:36:32 | → | bahamas joins (~lucian@86.125.184.64) |
| 15:36:32 | × | bahamas quits (~lucian@86.125.184.64) (Changing host) |
| 15:36:32 | → | bahamas joins (~lucian@unaffiliated/bahamas) |
| 15:36:55 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 15:37:11 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 240 seconds) |
| 15:37:31 | → | nicholasbulka joins (~nicholasb@c-73-21-82-200.hsd1.ga.comcast.net) |
| 15:37:39 | <boxscape> | https://github.com/ghc-proposals/ghc-proposals/discussions/424 |
| 15:37:43 | → | ep1ctetus joins (~epictetus@ip72-194-54-201.sb.sd.cox.net) |
| 15:37:52 | <boxscape> | thinking about calling local bindings from ghci |
| 15:38:17 | × | jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 250 seconds) |
| 15:38:28 | <merijn> | How does that work when they use captures |
| 15:39:19 | <boxscape> | merijn One could imagine only allowing bindings without free variables. Though I can imagine captures working as well, see second-to-last point in the link |
| 15:40:33 | → | proofofkeags joins (~proofofke@205.209.28.54) |
| 15:41:46 | <geekosaur> | don't wheres desugar to lets? that would complicate distinguishing the two |
| 15:41:53 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 260 seconds) |
| 15:41:59 | <boxscape> | hmm, interesting point |
| 15:42:15 | → | ddellac__ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 15:42:40 | → | wonko7 joins (~wonko7@62.115.229.50) |
| 15:42:40 | × | knyppeldynan quits (~kristina@h-178-174-136-151.NA.cust.bahnhof.se) (Remote host closed the connection) |
| 15:42:49 | × | bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 260 seconds) |
| 15:43:28 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 268 seconds) |
| 15:43:33 | × | nyd quits (nyd@gateway/vpn/protonvpn/elysian) (Remote host closed the connection) |
| 15:43:43 | → | knyppeldynan joins (~kristina@h-178-174-136-151.NA.cust.bahnhof.se) |
| 15:45:08 | → | nyd joins (~nyd@unaffiliated/elysian) |
| 15:45:11 | × | romesrf quits (~romesrf@44.190.189.46.rev.vodafone.pt) (Quit: WeeChat 3.1) |
| 15:47:52 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 15:48:10 | → | electricityZZZZ joins (~electrici@157-131-250-97.fiber.dynamic.sonic.net) |
| 15:49:25 | × | libertyprime quits (~libertypr@124.197.60.232) (Ping timeout: 252 seconds) |
| 15:51:59 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds) |
| 15:52:36 | → | dyeplexer joins (~terpin@unaffiliated/terpin) |
| 15:52:42 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 15:53:01 | melkor | is now known as Guest91530 |
| 15:53:47 | × | hololeap quits (~hololeap@gateway/tor-sasl/hololeap) (Remote host closed the connection) |
| 15:56:05 | → | hololeap joins (~hololeap@gateway/tor-sasl/hololeap) |
| 15:58:22 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 15:58:52 | → | stcg joins (~stcg@194-024-128-083.dynamic.caiway.nl) |
| 15:59:31 | × | nineonine quits (~nineonine@2604:3d08:777e:900:e4fe:87c8:c43b:fc90) (Ping timeout: 250 seconds) |
| 16:00:12 | × | mat[m]1 quits (matmatrixo@gateway/shell/matrix.org/x-cfukwdcbtlauxbsx) (Quit: Idle for 30+ days) |
| 16:00:24 | → | Rudd0 joins (~Rudd0@185.189.115.108) |
| 16:00:33 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) |
| 16:01:04 | → | todda7 joins (~torstein@2a02:587:3724:1a75:aca:df22:9d82:969f) |
| 16:07:07 | → | nineonine joins (~nineonine@50.216.62.2) |
| 16:09:44 | → | cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) |
| 16:10:09 | × | benin quits (~benin@183.82.177.199) (Quit: The Lounge - https://thelounge.chat) |
| 16:10:23 | → | Lycurgus joins (~niemand@cpe-45-46-140-49.buffalo.res.rr.com) |
| 16:14:23 | → | chris___ joins (~chris@81.96.113.213) |
| 16:14:31 | → | DTZUZU joins (~DTZUZO@205.ip-149-56-132.net) |
| 16:14:39 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 16:14:55 | → | ddellacosta joins (~ddellacos@86.106.143.139) |
| 16:16:11 | × | boxscape quits (54a350dc@p54a350dc.dip0.t-ipconnect.de) (Quit: Connection closed) |
| 16:16:25 | → | boxscape joins (54a350dc@p54a350dc.dip0.t-ipconnect.de) |
| 16:16:28 | × | kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Remote host closed the connection) |
| 16:16:41 | × | DTZUZU_ quits (~DTZUZO@207.81.119.43) (Ping timeout: 240 seconds) |
| 16:16:45 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds) |
| 16:17:06 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 16:19:06 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 16:19:11 | × | Lycurgus quits (~niemand@cpe-45-46-140-49.buffalo.res.rr.com) (Quit: Exeunt) |
| 16:19:26 | × | ddellac__ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 16:19:28 | × | ddellacosta quits (~ddellacos@86.106.143.139) (Ping timeout: 252 seconds) |
| 16:22:37 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds) |
| 16:24:34 | × | fendor_ quits (~fendor@213142096253.public.telering.at) (Read error: Connection reset by peer) |
| 16:24:48 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 16:24:54 | → | hgolden joins (~hgolden2@cpe-172-114-84-61.socal.res.rr.com) |
| 16:25:37 | → | fendor_ joins (~fendor@91.141.0.249.wireless.dyn.drei.com) |
| 16:26:05 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 16:26:46 | × | qwerty2o quits (~qwerty2o@46-116-99-209.bb.netvision.net.il) (Ping timeout: 265 seconds) |
| 16:29:47 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds) |
| 16:32:01 | → | tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net) |
| 16:32:57 | × | bitmagie quits (~Thunderbi@200116b80619af0038b023e60a9f8697.dip.versatel-1u1.de) (Quit: bitmagie) |
| 16:35:39 | → | fendor joins (~fendor@178.165.129.230.wireless.dyn.drei.com) |
| 16:36:46 | × | fendor_ quits (~fendor@91.141.0.249.wireless.dyn.drei.com) (Ping timeout: 240 seconds) |
| 16:37:28 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds) |
| 16:37:53 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 265 seconds) |
| 16:41:05 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 16:45:50 | → | veverak joins (~veverak@ip-89-102-98-161.net.upcbroadband.cz) |
| 16:45:56 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 16:48:05 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 16:48:28 | × | stcg quits (~stcg@194-024-128-083.dynamic.caiway.nl) (Ping timeout: 252 seconds) |
| 16:50:38 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds) |
| 16:51:00 | → | stree joins (~stree@68.36.8.116) |
| 16:53:00 | → | ddellaco_ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 16:53:30 | × | xcmw quits (~textual@2603-6011-2200-f103-1907-5406-5646-5d03.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 16:55:53 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 16:58:05 | × | ddellaco_ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 268 seconds) |
| 17:00:08 | → | jao joins (~jao@pdpc/supporter/professional/jao) |
| 17:01:04 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 17:02:23 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds) |
| 17:04:05 | → | sagax joins (~sagax_nb@213.138.71.146) |
| 17:06:07 | → | xcmw joins (~textual@2603-6011-2200-f103-1907-5406-5646-5d03.res6.spectrum.com) |
| 17:07:06 | × | Guest77094 quits (~alexander@athedsl-351794.home.otenet.gr) (Ping timeout: 240 seconds) |
| 17:14:21 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds) |
| 17:15:53 | × | mastarija quits (~mastarija@31.217.1.195) (Quit: Leaving) |
| 17:17:09 | × | LKoen quits (~LKoen@2a01cb0407597a009cf9697881694994.ipv6.abo.wanadoo.fr) (Remote host closed the connection) |
| 17:17:16 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 17:18:16 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) |
| 17:18:39 | × | geekosaur quits (45870322@069-135-003-034.biz.spectrum.com) (Quit: Connection closed) |
| 17:19:00 | → | geekosaur joins (45870322@069-135-003-034.biz.spectrum.com) |
| 17:19:34 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 17:24:28 | → | ddellacosta joins (~ddellacos@86.106.143.152) |
| 17:26:35 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 17:26:58 | × | finn_elija quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Remote host closed the connection) |
| 17:27:40 | → | wootz joins (~wooty@24.133.124.248) |
| 17:28:54 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 17:29:08 | × | ddellacosta quits (~ddellacos@86.106.143.152) (Ping timeout: 252 seconds) |
| 17:29:10 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 17:29:33 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds) |
| 17:30:35 | → | alexander joins (~alexander@athedsl-351794.home.otenet.gr) |
| 17:30:35 | → | finn_elija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) |
| 17:31:03 | alexander | is now known as Guest6574 |
| 17:32:56 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 17:38:13 | → | shiraeeshi joins (~shiraeesh@46.34.206.196) |
| 17:38:22 | × | chris___ quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 17:40:26 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 17:41:48 | × | bennofs__ quits (~quassel@dynamic-077-013-032-144.77.13.pool.telefonica.de) (Read error: Connection reset by peer) |
| 17:42:08 | → | bennofs_ joins (~quassel@dynamic-077-013-032-144.77.13.pool.telefonica.de) |
| 17:42:25 | → | LKoen joins (~LKoen@2a01cb0407597a00ad8da624e122913c.ipv6.abo.wanadoo.fr) |
| 17:42:35 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 17:43:08 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 17:43:17 | → | chris__ joins (~chris@81.96.113.213) |
| 17:43:50 | × | hololeap quits (~hololeap@gateway/tor-sasl/hololeap) (Quit: Bye) |
| 17:43:53 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 17:44:05 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 17:44:21 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 17:44:39 | × | Axman6 quits (~Axman6@pdpc/supporter/student/Axman6) (Remote host closed the connection) |
| 17:44:43 | → | qwerty2o joins (~qwerty2o@46-116-99-209.bb.netvision.net.il) |
| 17:44:53 | → | Axman6 joins (~Axman6@pdpc/supporter/student/Axman6) |
| 17:46:41 | × | shiraeeshi quits (~shiraeesh@46.34.206.196) (Ping timeout: 240 seconds) |
| 17:47:26 | × | chris__ quits (~chris@81.96.113.213) (Ping timeout: 240 seconds) |
| 17:48:05 | × | rayyyy quits (~nanoz@gateway/tor-sasl/nanoz) (Quit: Leaving) |
| 17:49:18 | × | plutoniix quits (~q@node-uls.pool-125-24.dynamic.totinternet.net) (Quit: Leaving) |
| 17:53:01 | → | chris__ joins (~chris@81.96.113.213) |
| 17:53:36 | × | Sheilong quits (uid293653@gateway/web/irccloud.com/x-pmhdkeusnrjysucn) (Quit: Connection closed for inactivity) |
| 17:54:01 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds) |
| 17:56:15 | × | hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:5e81:b1cb:3120:4542) (Ping timeout: 260 seconds) |
| 17:56:48 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 17:57:45 | × | wei2912 quits (~wei2912@unaffiliated/wei2912) (Remote host closed the connection) |
| 17:59:27 | → | guriya joins (a0ee4b7d@unaffiliated/guriya) |
| 17:59:51 | → | ddellac__ joins (~ddellacos@83.143.246.105) |
| 18:01:42 | × | rajivr quits (uid269651@gateway/web/irccloud.com/x-eilhkhwsqqonwkqr) (Quit: Connection closed for inactivity) |
| 18:04:22 | × | ddellac__ quits (~ddellacos@83.143.246.105) (Ping timeout: 252 seconds) |
| 18:06:21 | × | guriya quits (a0ee4b7d@unaffiliated/guriya) (Quit: Connection closed) |
| 18:06:38 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 18:08:10 | → | hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:f5ad:6b00:298d:80c7) |
| 18:09:20 | → | sm2n_ joins (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-232.dsl.bell.ca) |
| 18:09:25 | → | hololeap joins (~hololeap@gateway/tor-sasl/hololeap) |
| 18:10:53 | × | sm2n quits (~sm2n@bras-base-hmtnon143hw-grc-13-70-54-76-149.dsl.bell.ca) (Ping timeout: 240 seconds) |
| 18:11:11 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 18:14:26 | → | kritzefitz joins (~kritzefit@212.86.56.80) |
| 18:16:23 | → | sm2n joins (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-232.dsl.bell.ca) |
| 18:16:30 | × | sm2n_ quits (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-232.dsl.bell.ca) (Read error: Connection reset by peer) |
| 18:19:55 | × | knupfer quits (~Thunderbi@200116b822d01a00f69634fffef0b45f.dip.versatel-1u1.de) (Ping timeout: 250 seconds) |
| 18:19:56 | → | shiraeeshi joins (~shiraeesh@46.34.206.196) |
| 18:20:11 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 240 seconds) |
| 18:20:54 | <tomjaguarpaw> | c |
| 18:21:01 | <tomjaguarpaw> | s/c// |
| 18:23:46 | × | sm2n quits (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-232.dsl.bell.ca) (Ping timeout: 260 seconds) |
| 18:28:25 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 18:29:06 | → | sm2n joins (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-29.dsl.bell.ca) |
| 18:30:40 | × | sm2n quits (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-29.dsl.bell.ca) (Excess Flood) |
| 18:30:59 | → | sm2n joins (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-29.dsl.bell.ca) |
| 18:32:55 | × | dyeplexer quits (~terpin@unaffiliated/terpin) (Remote host closed the connection) |
| 18:35:12 | × | sm2n quits (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-29.dsl.bell.ca) (Read error: Connection reset by peer) |
| 18:35:23 | → | sm2n joins (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-29.dsl.bell.ca) |
| 18:35:42 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 18:37:00 | × | ystael quits (~ystael@209.6.50.55) (Quit: Lost terminal) |
| 18:39:19 | → | knupfer joins (~Thunderbi@200116b822d01a00f69634fffef0b45f.dip.versatel-1u1.de) |
| 18:39:51 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 18:40:37 | × | sm2n quits (~sm2n@bras-base-hmtnon143hw-grc-10-65-95-102-29.dsl.bell.ca) (Ping timeout: 260 seconds) |
| 18:41:59 | × | chris__ quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 18:42:41 | → | chris__ joins (~chris@81.96.113.213) |
| 18:43:37 | × | Jesin quits (~Jesin@pool-72-66-101-18.washdc.fios.verizon.net) (Quit: Leaving) |
| 18:44:31 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 265 seconds) |
| 18:45:33 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 18:46:46 | × | chris__ quits (~chris@81.96.113.213) (Ping timeout: 240 seconds) |
| 18:48:23 | → | falafel joins (~falafel@2603-8001-ca00-f555-b4a5-fa93-bc1a-b3d6.res6.spectrum.com) |
| 18:49:30 | → | juuandyy joins (~juuandyy@90.106.228.121) |
| 18:52:22 | × | knyppeldynan quits (~kristina@h-178-174-136-151.NA.cust.bahnhof.se) (Ping timeout: 252 seconds) |
| 18:53:38 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 246 seconds) |
| 18:56:35 | × | Aquazi quits (uid312403@gateway/web/irccloud.com/x-fneayqvblanweaap) (Quit: Connection closed for inactivity) |
| 18:58:11 | × | notzmv quits (~zmv@unaffiliated/zmv) (Ping timeout: 240 seconds) |
| 18:58:31 | <cdsmith> | I've thought about similar things in the past. My thoughts were more ambitious: I wanted to be able to select an arbitrary subexpression anywhere in a file and get its value. And I wanted to turn captured variables into implicit lambdas. I've tried to advocate for something like this using a GHC plugin in the past. It's been mostly dismissed by anyone I discussed it with. |
| 18:58:32 | → | chris__ joins (~chris@81.96.113.213) |
| 18:59:29 | <geekosaur> | tbh it sounds more like the province of haskell-language-server these days |
| 18:59:30 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 265 seconds) |
| 19:00:00 | <geekosaur> | having ghc do it would be conflating compile time with run time |
| 19:00:07 | <cdsmith> | Yeah, it would definitely fit in well there. I was looking for it for CodeWorld, which is another Haskell development environment |
| 19:00:17 | × | michalz quits (~user@185.246.204.59) (Ping timeout: 246 seconds) |
| 19:00:57 | <cdsmith> | I'm not sure HLS could do something like that without some help from GHC |
| 19:01:48 | <geekosaur> | hm. I think the emacs mode can already send an arbitrary selected expression to an inferior ghci to be evaluated, with some limitations |
| 19:02:19 | × | chris__ quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 19:03:00 | → | chris__ joins (~chris@81.96.113.213) |
| 19:03:03 | <cdsmith> | Ah, yes. There's a subtle difference, though, between "what does the text of this selection evaluate to as a top-level expression?" and "what does this subexpression evaluate to in context?" The first is a rather rough approximation of the second |
| 19:04:18 | → | Jesin joins (~Jesin@pool-72-66-101-18.washdc.fios.verizon.net) |
| 19:05:28 | → | ystael joins (~ystael@117.sub-174-242-64.myvzw.com) |
| 19:05:35 | → | gekh joins (~gkh@thor.kevinhill.nl) |
| 19:05:58 | <cdsmith> | This discussion about accessing let-bound definitions is a perfect example of the limitations of the first approach by itself |
| 19:07:11 | <dolio> | Some subexpressions aren't going to have any well defined value according to the normal mode of evaluation that GHC/Haskell uses. |
| 19:07:11 | × | chris__ quits (~chris@81.96.113.213) (Ping timeout: 240 seconds) |
| 19:07:39 | × | nyd quits (~nyd@unaffiliated/elysian) (Quit: nyd) |
| 19:08:26 | → | aez joins (~user@cpc121174-oxfd28-2-0-cust220.4-3.cable.virginm.net) |
| 19:09:04 | × | xenon- quits (~bc817c21@217.29.117.252) (Quit: http://www.okay.uz/ (Session timeout)) |
| 19:09:11 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 19:09:33 | <cdsmith> | dolio: I'm curious what you mean here. Example? |
| 19:10:20 | → | geowiesnot joins (~user@87-89-181-157.abo.bbox.fr) |
| 19:11:50 | <dolio> | f x = ... where y = 2 + 3 + x |
| 19:11:55 | → | _noblegas joins (uid91066@gateway/web/irccloud.com/x-ckbdfvkxrkaybdcu) |
| 19:12:12 | <dolio> | `2 + 3 + x` has no well defined value. |
| 19:12:25 | → | stree joins (~stree@68.36.8.116) |
| 19:12:27 | <dolio> | None of GHC's runtimes evaluate open terms. |
| 19:13:28 | → | Ariakenom joins (~Ariakenom@2001:9b1:efb:fc00:48ba:635:8684:1c7d) |
| 19:13:36 | × | vchlup quits (~vchlup@nat.brnet.cz) (Read error: Connection reset by peer) |
| 19:14:05 | → | vchlup joins (~vchlup@nat.brnet.cz) |
| 19:14:15 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 19:14:20 | <cdsmith> | Sure. Free variables would need to be lifted into something like lambdas. |
| 19:15:27 | → | Deide joins (~Deide@217.155.19.23) |
| 19:18:41 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 19:21:34 | → | frozenErebus joins (~frozenEre@94.129.65.28) |
| 19:23:25 | × | aez quits (~user@cpc121174-oxfd28-2-0-cust220.4-3.cable.virginm.net) (Quit: ERC (IRC client for Emacs 27.1)) |
| 19:23:26 | × | elliott_ quits (~elliott_@pool-108-18-30-46.washdc.fios.verizon.net) (Ping timeout: 240 seconds) |
| 19:26:41 | × | oxide quits (~lambda@unaffiliated/mclaren) (Ping timeout: 240 seconds) |
| 19:28:38 | × | kuribas quits (~user@ptr-25vy0i7nzwn8pwwmwkq.18120a2.ip6.access.telenet.be) (Remote host closed the connection) |
| 19:29:00 | → | oxide joins (~lambda@unaffiliated/mclaren) |
| 19:30:10 | × | TK__ quits (~cinch@2601:1c0:5201:2100:9992:f75f:4988:2a3c) (Remote host closed the connection) |
| 19:30:55 | × | qwerty2o quits (~qwerty2o@46-116-99-209.bb.netvision.net.il) (Ping timeout: 265 seconds) |
| 19:31:05 | → | qwerty2o joins (~qwerty2o@46-116-99-209.bb.netvision.net.il) |
| 19:32:37 | → | elliott_ joins (~elliott_@pool-108-18-30-46.washdc.fios.verizon.net) |
| 19:37:40 | × | quinn quits (~quinn@c-73-223-224-163.hsd1.ca.comcast.net) (Quit: ZNC 1.8.1 - https://znc.in) |
| 19:40:13 | × | parabolize quits (~paraboliz@98.43.173.221) (Ping timeout: 240 seconds) |
| 19:40:36 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 19:41:11 | × | geekosaur quits (45870322@069-135-003-034.biz.spectrum.com) (Quit: Connection closed) |
| 19:41:32 | → | geekosaur joins (45870322@069-135-003-034.biz.spectrum.com) |
| 19:42:08 | → | parabolize joins (~paraboliz@98.43.173.221) |
| 19:42:22 | → | aezarebski joins (~user@cpc121174-oxfd28-2-0-cust220.4-3.cable.virginm.net) |
| 19:43:04 | → | quinn joins (~quinn@c-73-223-224-163.hsd1.ca.comcast.net) |
| 19:44:05 | × | geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 252 seconds) |
| 19:45:52 | → | elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) |
| 19:47:05 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 19:47:19 | × | hypercube quits (~hypercube@2603-6011-f901-9e5b-78b5-8b2f-cdb2-4171.res6.spectrum.com) (Ping timeout: 260 seconds) |
| 19:49:31 | × | frozenErebus quits (~frozenEre@94.129.65.28) (Ping timeout: 268 seconds) |
| 19:50:12 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 19:51:44 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 246 seconds) |
| 19:52:28 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 19:56:03 | × | ystael quits (~ystael@117.sub-174-242-64.myvzw.com) (Read error: Connection reset by peer) |
| 20:01:00 | × | _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection) |
| 20:06:28 | × | Guest6574 quits (~alexander@athedsl-351794.home.otenet.gr) (Ping timeout: 252 seconds) |
| 20:08:01 | → | m_shiraeeshi joins (~shiraeesh@109.166.58.146) |
| 20:09:06 | × | shiraeeshi quits (~shiraeesh@46.34.206.196) (Ping timeout: 240 seconds) |
| 20:09:24 | × | aezarebski quits (~user@cpc121174-oxfd28-2-0-cust220.4-3.cable.virginm.net) (Remote host closed the connection) |
| 20:09:47 | → | son0p joins (~ff@181.136.122.143) |
| 20:09:53 | → | benin joins (~benin@183.82.177.199) |
| 20:12:05 | <dminuoso> | dolio: What is an open term? A term free variables? |
| 20:13:01 | × | mrchampion quits (~mrchampio@206.186.171.254) (Ping timeout: 260 seconds) |
| 20:13:08 | <dolio> | Yes. |
| 20:13:52 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1) |
| 20:17:21 | → | howdoi joins (uid224@gateway/web/irccloud.com/x-uqafdsjabmkfwjxh) |
| 20:18:41 | → | sheepduck joins (~sheepduck@2607:fea8:2a60:b700::7a37) |
| 20:19:28 | → | tromp joins (~tromp@dhcp-077-249-230-040.chello.nl) |
| 20:20:55 | → | ddellac__ joins (~ddellacos@83.143.246.105) |
| 20:22:31 | × | kritzefitz quits (~kritzefit@212.86.56.80) (Remote host closed the connection) |
| 20:23:44 | × | knupfer quits (~Thunderbi@200116b822d01a00f69634fffef0b45f.dip.versatel-1u1.de) (Ping timeout: 245 seconds) |
| 20:23:53 | × | qwerty2o quits (~qwerty2o@46-116-99-209.bb.netvision.net.il) (Ping timeout: 240 seconds) |
| 20:24:37 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds) |
| 20:25:20 | × | ddellac__ quits (~ddellacos@83.143.246.105) (Ping timeout: 246 seconds) |
| 20:26:57 | → | mrchampion joins (~mrchampio@216-211-58-186.dynamic.tbaytel.net) |
| 20:27:41 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 20:29:15 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 20:30:35 | → | jamm_ joins (~jamm@unaffiliated/jamm) |
| 20:33:51 | → | Qwerky joins (~qwerky@178.197.228.14) |
| 20:33:55 | × | newdeal quits (~root@185.234.208.208.r.toneticgroup.pl) (Quit: leaving) |
| 20:34:38 | × | systemfault quits (sid267009@gateway/web/irccloud.com/x-weqjiwsrsizmsttb) (Ping timeout: 258 seconds) |
| 20:34:59 | × | jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 245 seconds) |
| 20:36:46 | → | systemfault joins (sid267009@gateway/web/irccloud.com/x-uknwvujxcebwgwqn) |
| 20:39:15 | × | wallymathieu quits (~wallymath@81-234-151-21-no94.tbcn.telia.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 20:39:15 | × | ozzymcdu_ quits (~ozzymcduf@81-234-151-21-no94.tbcn.telia.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 20:40:17 | × | juuandyy quits (~juuandyy@90.106.228.121) (Quit: Konversation terminated!) |
| 20:42:41 | × | lightandlight quits (sid135476@gateway/web/irccloud.com/x-gwfowomroynsvzco) (Ping timeout: 258 seconds) |
| 20:45:32 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
| 20:45:47 | → | lightandlight joins (sid135476@gateway/web/irccloud.com/x-bfsnftkxiaeedtid) |
| 20:47:00 | × | DavidEichmann quits (~david@156.59.147.147.dyn.plus.net) (Remote host closed the connection) |
| 20:48:32 | × | wootz quits (~wooty@24.133.124.248) (Quit: WeeChat 1.4) |
| 20:48:54 | → | acidjnk_new joins (~acidjnk@p200300d0c72b955231b1979c10e605d9.dip0.t-ipconnect.de) |
| 20:48:59 | × | falafel quits (~falafel@2603-8001-ca00-f555-b4a5-fa93-bc1a-b3d6.res6.spectrum.com) (Ping timeout: 250 seconds) |
| 20:49:57 | × | mikoto-chan quits (~mikoto-ch@gateway/tor-sasl/mikoto-chan) (Ping timeout: 240 seconds) |
| 20:50:33 | × | enoq quits (~textual@194-208-146-143.lampert.tv) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 20:55:51 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 20:55:52 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 20:58:47 | × | Qwerky quits (~qwerky@178.197.228.14) (Remote host closed the connection) |
| 20:59:36 | → | frozenErebus joins (~frozenEre@94.129.65.28) |
| 20:59:58 | → | Qwerky joins (~qwerky@178.197.228.14) |
| 21:00:06 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 21:00:08 | → | notzmv joins (~zmv@unaffiliated/zmv) |
| 21:00:43 | × | moth1 quits (~moth@37.120.211.190) (Remote host closed the connection) |
| 21:01:30 | × | jao quits (~jao@pdpc/supporter/professional/jao) (Remote host closed the connection) |
| 21:02:24 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 21:03:36 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 260 seconds) |
| 21:04:12 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) |
| 21:04:35 | × | stree quits (~stree@68.36.8.116) (Quit: Caught exception) |
| 21:05:01 | → | stree joins (~stree@68.36.8.116) |
| 21:05:34 | → | usr25 joins (~usr25@unaffiliated/usr25) |
| 21:06:56 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 21:07:18 | → | mikoto-chan joins (~mikoto-ch@gateway/tor-sasl/mikoto-chan) |
| 21:08:19 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Ping timeout: 245 seconds) |
| 21:09:44 | → | falafel joins (~falafel@cpe-70-93-65-166.natsow.res.rr.com) |
| 21:09:59 | × | sheepduck quits (~sheepduck@2607:fea8:2a60:b700::7a37) (Ping timeout: 245 seconds) |
| 21:10:37 | × | N4lt quits (~N4lt@modemcable159.116-21-96.mc.videotron.ca) (Ping timeout: 252 seconds) |
| 21:12:04 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 21:15:12 | × | viluon quits (uid453725@gateway/web/irccloud.com/x-zdmcjlqqmfcybklj) (Quit: Connection closed for inactivity) |
| 21:16:32 | × | biglama quits (~alex@static-176-165-167-17.ftth.abo.bbox.fr) (Remote host closed the connection) |
| 21:17:04 | → | paultag1 joins (~paultag@185.204.1.185) |
| 21:20:50 | × | evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Quit: ZNC 1.8.2 - https://znc.in) |
| 21:21:07 | → | evanjs joins (~evanjs@075-129-098-007.res.spectrum.com) |
| 21:23:36 | → | bitmagie joins (~Thunderbi@200116b80619af0038b023e60a9f8697.dip.versatel-1u1.de) |
| 21:27:05 | × | bitmagie quits (~Thunderbi@200116b80619af0038b023e60a9f8697.dip.versatel-1u1.de) (Client Quit) |
| 21:28:06 | × | hpc quits (~juzz@ip98-169-35-13.dc.dc.cox.net) (Read error: Connection reset by peer) |
| 21:29:08 | × | Pickchea quits (~private@unaffiliated/pickchea) (Quit: Leaving) |
| 21:29:46 | × | malumore_ quits (~malumore@151.62.127.105) (Ping timeout: 240 seconds) |
| 21:31:52 | → | ddellac__ joins (~ddellacos@86.106.143.191) |
| 21:33:38 | × | Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.) |
| 21:34:32 | → | mounty joins (~mounty@236.216.214.218.sta.wbroadband.net.au) |
| 21:35:40 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 21:36:16 | × | ddellac__ quits (~ddellacos@86.106.143.191) (Ping timeout: 252 seconds) |
| 21:37:12 | → | aezarebski joins (~user@cpc121174-oxfd28-2-0-cust220.4-3.cable.virginm.net) |
| 21:39:07 | → | ystael joins (~ystael@209.6.50.55) |
| 21:39:19 | × | danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 260 seconds) |
| 21:40:39 | → | Jrdan joins (~Jrdan@modemcable159.116-21-96.mc.videotron.ca) |
| 21:43:45 | × | m_shiraeeshi quits (~shiraeesh@109.166.58.146) (Remote host closed the connection) |
| 21:44:13 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 21:45:22 | × | _noblegas quits (uid91066@gateway/web/irccloud.com/x-ckbdfvkxrkaybdcu) (Quit: Connection closed for inactivity) |
| 21:51:57 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 21:52:17 | → | pavonia joins (~user@unaffiliated/siracusa) |
| 21:52:39 | × | seanparsons quits (~sean@cpc145088-gill21-2-0-cust281.20-1.cable.virginm.net) (Quit: ZNC 1.8.1 - https://znc.in) |
| 21:53:23 | × | Qwerky quits (~qwerky@178.197.228.14) (Remote host closed the connection) |
| 21:53:54 | × | fendor quits (~fendor@178.165.129.230.wireless.dyn.drei.com) (Remote host closed the connection) |
| 21:55:56 | → | seanparsons joins (~sean@cpc145088-gill21-2-0-cust281.20-1.cable.virginm.net) |
| 21:56:07 | × | tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection) |
| 21:59:27 | → | refried_ joins (9a1d83d6@154.29.131.214) |
| 22:00:06 | <refried_> | Hi there... is there a way I can register an IO action to be run on process exit? |
| 22:00:17 | <refried_> | googling and hoogling hasn't gotten me anywhere |
| 22:00:29 | × | ericsagn1 quits (~ericsagne@2405:6580:0:5100:bb87:2466:bc3c:d7f9) (Ping timeout: 250 seconds) |
| 22:02:26 | × | thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202) |
| 22:02:47 | <boxscape> | refried_ depending on your situation you might be able to use forkFinally to achieve something similar? |
| 22:03:03 | <monochrom> | I wouldn't think "register hook". I would think "try ... finally", in which case there is "finally" in Control.Exception |
| 22:03:39 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) |
| 22:03:46 | → | ddellac__ joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 22:03:55 | <refried_> | boxscape thanks i'll check it out. monochrom this is for debugging so don't want to change much with the application |
| 22:04:10 | <monochrom> | Then again, given "finally", you can now code up your own registry. |
| 22:05:51 | <refried_> | monochrom hmm I see |
| 22:07:19 | × | aezarebski quits (~user@cpc121174-oxfd28-2-0-cust220.4-3.cable.virginm.net) (Remote host closed the connection) |
| 22:07:57 | → | wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) |
| 22:08:01 | × | ddellac__ quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 252 seconds) |
| 22:08:36 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 22:09:59 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Ping timeout: 245 seconds) |
| 22:10:24 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d48:8adb:4f7a:141b) (Ping timeout: 245 seconds) |
| 22:10:59 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection) |
| 22:11:21 | × | falafel quits (~falafel@cpe-70-93-65-166.natsow.res.rr.com) (Ping timeout: 268 seconds) |
| 22:11:35 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 22:11:46 | → | hypercube joins (~hypercube@2603-6011-f901-9e5b-0000-0000-0000-08cf.res6.spectrum.com) |
| 22:12:20 | → | ericsagn1 joins (~ericsagne@2405:6580:0:5100:a66b:b5fe:8945:845c) |
| 22:14:01 | × | LKoen quits (~LKoen@2a01cb0407597a00ad8da624e122913c.ipv6.abo.wanadoo.fr) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”) |
| 22:14:11 | × | chele quits (~chele@ip5b40237d.dynamic.kabel-deutschland.de) (Remote host closed the connection) |
| 22:14:39 | × | Ariakenom quits (~Ariakenom@2001:9b1:efb:fc00:48ba:635:8684:1c7d) (Quit: Leaving) |
| 22:15:10 | → | falafel joins (~falafel@2603-8001-ca00-f555-b4a5-fa93-bc1a-b3d6.res6.spectrum.com) |
| 22:16:13 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 260 seconds) |
| 22:17:50 | → | patlv_ joins (~patlv@unaffiliated/patlv) |
| 22:19:02 | × | refried_ quits (9a1d83d6@154.29.131.214) (Ping timeout: 240 seconds) |
| 22:19:33 | × | falafel quits (~falafel@2603-8001-ca00-f555-b4a5-fa93-bc1a-b3d6.res6.spectrum.com) (Ping timeout: 250 seconds) |
| 22:21:13 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 22:23:00 | → | mikoto-c1 joins (~mikoto-ch@gateway/tor-sasl/mikoto-chan) |
| 22:23:34 | × | mikoto-chan quits (~mikoto-ch@gateway/tor-sasl/mikoto-chan) (Remote host closed the connection) |
| 22:27:08 | × | Benzi-Junior quits (~BenziJuni@88-149-64-251.du.xdsl.is) (Ping timeout: 246 seconds) |
| 22:30:34 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 22:32:33 | → | tsaka__ joins (~torstein@178-147-206-209.haap.dm.cosmote.net) |
| 22:32:59 | × | todda7 quits (~torstein@2a02:587:3724:1a75:aca:df22:9d82:969f) (Ping timeout: 260 seconds) |
| 22:34:40 | × | __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving) |
| 22:37:22 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 22:37:43 | ← | bone-baboon parts (bone-baboo@gateway/vpn/privateinternetaccess/bone-baboon) ("Using Circe, the loveliest of all IRC clients") |
| 22:41:29 | → | jao joins (~jao@pdpc/supporter/professional/jao) |
| 22:41:35 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 22:41:50 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 246 seconds) |
| 22:42:33 | × | elliott_ quits (~elliott_@pool-108-18-30-46.washdc.fios.verizon.net) (Ping timeout: 240 seconds) |
| 22:42:46 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 22:47:11 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 22:50:05 | × | nicholasbulka quits (~nicholasb@c-73-21-82-200.hsd1.ga.comcast.net) (Remote host closed the connection) |
| 22:50:46 | → | nicholasbulka joins (~nicholasb@2601:900:4301:da0:189f:ecee:d0e0:93ba) |
| 22:52:08 | × | gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving) |
| 22:52:12 | → | sm2n joins (~sm2n@bras-base-hmtnon143hw-grc-13-70-54-76-97.dsl.bell.ca) |
| 22:52:32 | → | CrazyPython joins (~crazypyth@206.214.238.6) |
| 22:52:36 | × | vnz quits (~vnz@unaffiliated/vnz) (Write error: Connection reset by peer) |
| 22:53:18 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz) |
| 22:54:34 | → | vnz joins (~vnz@51.15.143.225) |
| 22:54:35 | × | vnz quits (~vnz@51.15.143.225) (Changing host) |
| 22:54:35 | → | vnz joins (~vnz@unaffiliated/vnz) |
| 22:55:05 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:189f:ecee:d0e0:93ba) (Ping timeout: 250 seconds) |
| 22:55:11 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds) |
| 22:56:22 | × | star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 268 seconds) |
| 22:56:58 | × | Guest1564 quits (~textual@mskresolve-a.mskcc.org) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 22:59:13 | × | guest517` quits (~user@49.5.6.87) (Read error: Connection reset by peer) |
| 23:00:01 | → | ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 23:00:18 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 23:03:01 | → | star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) |
| 23:06:00 | × | ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 265 seconds) |
| 23:06:39 | × | patlv_ quits (~patlv@unaffiliated/patlv) (Ping timeout: 245 seconds) |
| 23:10:58 | → | ddellacosta joins (~ddellacos@86.106.143.48) |
| 23:11:10 | → | Alleria joins (~textual@2603-7000-3040-0000-ac44-24c4-f597-ec96.res6.spectrum.com) |
| 23:11:33 | Alleria | is now known as Guest49769 |
| 23:12:39 | × | st8less quits (~st8less@2603:a060:11fd:0:475f:7ec2:20c6:ac2c) (Ping timeout: 260 seconds) |
| 23:13:01 | × | veverak quits (~veverak@ip-89-102-98-161.net.upcbroadband.cz) (Ping timeout: 268 seconds) |
| 23:13:09 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 260 seconds) |
| 23:14:22 | → | st8less joins (~st8less@inet-167-224-197-181.isp.ozarksgo.net) |
| 23:15:11 | × | ddellacosta quits (~ddellacos@86.106.143.48) (Ping timeout: 240 seconds) |
| 23:15:24 | × | Guest49769 quits (~textual@2603-7000-3040-0000-ac44-24c4-f597-ec96.res6.spectrum.com) (Ping timeout: 245 seconds) |
| 23:15:24 | → | veverak joins (~veverak@ip-89-102-98-161.net.upcbroadband.cz) |
| 23:16:26 | × | frozenErebus quits (~frozenEre@94.129.65.28) (Ping timeout: 240 seconds) |
| 23:23:41 | × | wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 23:23:46 | × | urdh quits (~urdh@unaffiliated/urdh) (Ping timeout: 240 seconds) |
| 23:24:04 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 23:25:52 | → | stree joins (~stree@68.36.8.116) |
| 23:29:03 | × | usr25 quits (~usr25@unaffiliated/usr25) (Ping timeout: 268 seconds) |
| 23:29:56 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds) |
| 23:31:06 | → | ozataman joins (~ozataman@71.190.112.58) |
| 23:32:07 | → | Evilmagix joins (2be74510@43.231.69.16) |
| 23:32:25 | → | a6a45081-2b83 joins (~aditya@171.76.17.86) |
| 23:32:25 | × | a6a45081-2b83 quits (~aditya@171.76.17.86) (Client Quit) |
| 23:33:11 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 23:36:36 | <Evilmagix> | I have started reading Bird's "Pearls of functional algorithm design" and in the first chapter he seems to state that us \\ vs is O(n) rather than what I assume is O(n^2). Hackage doesnt have anything on the time complexity of (\\), does anyone know if he is right? Only the left list is sorted in his example but I cant imagine the (\\) uses |
| 23:36:37 | <Evilmagix> | indexing. |
| 23:37:09 | × | mikoto-c1 quits (~mikoto-ch@gateway/tor-sasl/mikoto-chan) (Ping timeout: 240 seconds) |
| 23:37:36 | × | xcmw quits (~textual@2603-6011-2200-f103-1907-5406-5646-5d03.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 23:37:39 | → | mikoto-c1 joins (~mikoto-ch@gateway/tor-sasl/mikoto-chan) |
| 23:37:41 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 268 seconds) |
| 23:37:41 | → | urdh joins (~urdh@unaffiliated/urdh) |
| 23:38:13 | → | perrier-jouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) |
| 23:41:02 | <monochrom> | head (us \\ vs) ≠ us \\ vs |
| 23:41:27 | × | acidjnk_new quits (~acidjnk@p200300d0c72b955231b1979c10e605d9.dip0.t-ipconnect.de) (Ping timeout: 250 seconds) |
| 23:42:26 | × | ozataman quits (~ozataman@71.190.112.58) (Quit: My MacBook Air has gone to sleep. ZZZzzz…) |
| 23:43:38 | → | Alleria joins (~textual@2603-7000-3040-0000-ac44-24c4-f597-ec96.res6.spectrum.com) |
| 23:44:01 | Alleria | is now known as Guest11746 |
| 23:44:10 | → | argento joins (~argent0@168.227.97.34) |
| 23:44:37 | × | Deide quits (~Deide@217.155.19.23) (Quit: Seeee yaaaa) |
| 23:46:14 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 23:47:57 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 23:51:12 | <mniip> | is \\ list subtraction? |
| 23:51:19 | <mniip> | you can never know with bird's formalism |
| 23:52:11 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds) |
| 23:55:49 | × | Jrdan quits (~Jrdan@modemcable159.116-21-96.mc.videotron.ca) (Ping timeout: 252 seconds) |
| 23:56:33 | × | deviantfero quits (~deviantfe@190.150.27.58) (Quit: WeeChat 3.1) |
All times are in UTC on 2021-05-17.