Logs: freenode/#haskell
| 2020-10-19 08:45:01 | → | ephemera_ joins (~E@122.34.1.187) |
| 2020-10-19 08:45:07 | → | avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz) |
| 2020-10-19 08:48:23 | → | knupfer joins (~Thunderbi@dynamic-046-114-151-029.46.114.pool.telefonica.de) |
| 2020-10-19 08:48:47 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 08:49:26 | → | delYsid joins (~user@zidpc777.tugraz.at) |
| 2020-10-19 08:51:39 | <delYsid> | -Wname-shadowing drives me crazy. I guess I have been spoiled by Rust. I find myself often rebinding the same name, and finding new names is a waste of time. Adding the umteenth tick doesnt help with readability. Am I alone, or is -Wname-shadowing a pretty pedantic default? |
| 2020-10-19 08:53:04 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-10-19 08:53:59 | → | Aquazi joins (uid312403@gateway/web/irccloud.com/x-zhrhclsenottifhf) |
| 2020-10-19 08:55:24 | × | plutoniix quits (~q@node-uhv.pool-125-24.dynamic.totinternet.net) (Ping timeout: 260 seconds) |
| 2020-10-19 08:55:58 | hackage | focus 1.0.1.4 - A general abstraction for manipulating elements of container data structures https://hackage.haskell.org/package/focus-1.0.1.4 (NikitaVolkov) |
| 2020-10-19 08:56:13 | <lortabac> | delYsid: I tend to use long names for toplevel definitions and abbreviations for the local ones, so I rarely get that warning |
| 2020-10-19 08:56:32 | <dminuoso> | delYsid: It's a very pedantic default indeed. |
| 2020-10-19 08:57:03 | × | Psycomic quits (~Phi@2a01:e0a:18:d0a0:a923:9b97:77a2:ce49) (Quit: Leaving) |
| 2020-10-19 08:57:45 | <dminuoso> | delYsid: One of the main annoyances is that you can't selectively turn it off for a binding via some pragma. |
| 2020-10-19 08:58:31 | → | Whez joins (~textual@2a01:e0a:21f:1060:45e3:a6ce:25be:e68) |
| 2020-10-19 08:58:51 | <dminuoso> | Strangely, there's 2 parts where this would be useful. One is orphan instances, the other is shadowing names, but the GHC maintainers shot down attempts to cook something up for some "overarching universal tool to disable diagnostics selectively" idea, that nobody has followed for many years. |
| 2020-10-19 08:59:47 | × | bartemius quits (~bartemius@109.252.19.142) (Remote host closed the connection) |
| 2020-10-19 09:00:02 | × | elsimio quits (~elsimio@185.204.1.185) () |
| 2020-10-19 09:01:01 | × | infinity0 quits (~infinity0@freenet/developer/infinity0) (Ping timeout: 246 seconds) |
| 2020-10-19 09:01:13 | <kuribas> | +1 for a pragma to disable it. |
| 2020-10-19 09:01:25 | × | phr0m3indh0v3n quits (~Android@84.241.205.21) (Ping timeout: 240 seconds) |
| 2020-10-19 09:01:47 | <kuribas> | it's occasionally useful |
| 2020-10-19 09:01:47 | × | knupfer quits (~Thunderbi@dynamic-046-114-151-029.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 2020-10-19 09:02:05 | <Uniaika> | sometimes I use expressions to avoid having to produce new variables to store intermediate values |
| 2020-10-19 09:02:13 | <dminuoso> | This diagnostic really is a double-edged sword. It tends to discover infinite recursion errors rather well, at the cost of having to rename your binders all the time. |
| 2020-10-19 09:02:14 | <Uniaika> | that doesn't apply everywhere of course |
| 2020-10-19 09:02:27 | <Uniaika> | but you can replace some do-notation with an applicative |
| 2020-10-19 09:02:41 | <dminuoso> | (though the cases of infinite recursion Im talking about are rather rare) |
| 2020-10-19 09:02:48 | <dminuoso> | Perhaps just disabling the diagnostic is better |
| 2020-10-19 09:05:57 | hackage | stm-containers 1.2 - Containers for STM https://hackage.haskell.org/package/stm-containers-1.2 (NikitaVolkov) |
| 2020-10-19 09:06:12 | → | babygnu joins (~robert@111.169.23.93.rev.sfr.net) |
| 2020-10-19 09:06:53 | → | plutoniix joins (~q@ppp-223-24-161-236.revip6.asianet.co.th) |
| 2020-10-19 09:08:25 | → | gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh) |
| 2020-10-19 09:08:41 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 09:08:51 | <merijn> | I think it's a sane enough default, if it really bothers you you can just turn it off >.> |
| 2020-10-19 09:08:57 | hackage | stm-containers 1.1.0.5 - Containers for STM https://hackage.haskell.org/package/stm-containers-1.1.0.5 (NikitaVolkov) |
| 2020-10-19 09:09:08 | <merijn> | I find -Wunused-do-bind much less useful, tbh |
| 2020-10-19 09:09:20 | → | karanlikmadde joins (~karanlikm@2a01:c22:a46a:b400:3c0d:995b:be0c:192) |
| 2020-10-19 09:10:56 | × | whald quits (~trem@2a02:810a:8100:11a6:6d28:5eff:640c:9eda) (Quit: Leaving) |
| 2020-10-19 09:11:25 | → | phr0m3indh0v3n joins (~Android@84.241.205.74) |
| 2020-10-19 09:12:01 | <kuribas> | infinite recursion errors are really hard to debug |
| 2020-10-19 09:12:08 | × | babygnu quits (~robert@111.169.23.93.rev.sfr.net) (Quit: Leaving) |
| 2020-10-19 09:13:14 | × | Whez quits (~textual@2a01:e0a:21f:1060:45e3:a6ce:25be:e68) (Quit: My MacBook Air has gone to sleep. ZZZzzz…) |
| 2020-10-19 09:13:32 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2020-10-19 09:13:46 | <dminuoso> | Are they, really? |
| 2020-10-19 09:14:00 | × | MindlessDrone quits (~MindlessD@unaffiliated/mindlessdrone) (Ping timeout: 260 seconds) |
| 2020-10-19 09:14:01 | <kuribas> | yes |
| 2020-10-19 09:14:20 | <dminuoso> | `+RTS xs -RTS` + sigint works rather well for me |
| 2020-10-19 09:15:13 | <kuribas> | what's xs? |
| 2020-10-19 09:15:18 | <dminuoso> | Err sorry xc |
| 2020-10-19 09:15:28 | <dminuoso> | The muscle memory defeated me. :) |
| 2020-10-19 09:15:44 | → | babygnu joins (~robert@111.169.23.93.rev.sfr.net) |
| 2020-10-19 09:16:34 | × | hekkaidekapus} quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Quit: hekkaidekapus}) |
| 2020-10-19 09:16:34 | <kuribas> | good to know |
| 2020-10-19 09:17:17 | → | MindlessDrone joins (~MindlessD@unaffiliated/mindlessdrone) |
| 2020-10-19 09:17:26 | <dminuoso> | You can also use GHCi with `:set -fbreak-on-error` |
| 2020-10-19 09:17:39 | <dminuoso> | And then run the offending expression with `:trace expr` |
| 2020-10-19 09:17:53 | <dminuoso> | Send sigint via Ctrl+C, then you have :history and :back |
| 2020-10-19 09:19:34 | × | taurux quits (~taurux@net-93-144-108-52.cust.dsl.teletu.it) (Ping timeout: 246 seconds) |
| 2020-10-19 09:19:41 | × | phr0m3indh0v3n quits (~Android@84.241.205.74) (Quit: -a- IRC for Android 2.1.59) |
| 2020-10-19 09:19:50 | → | taurux joins (~taurux@net-188-152-1-136.cust.vodafonedsl.it) |
| 2020-10-19 09:20:32 | → | hekkaidekapus joins (~tchouri@gateway/tor-sasl/hekkaidekapus) |
| 2020-10-19 09:21:09 | <maerwald> | how do you figure out what error codes a servant handler might return? |
| 2020-10-19 09:21:54 | <Taneb> | maerwald: there's not currently a way but there's active work ongoing to change this |
| 2020-10-19 09:22:53 | → | infinity0 joins (~infinity0@freenet/developer/infinity0) |
| 2020-10-19 09:23:23 | × | gxt quits (~gxt@gateway/tor-sasl/gxt) (Ping timeout: 240 seconds) |
| 2020-10-19 09:25:29 | → | whald joins (~trem@2a02:810a:8100:11a6:2147:d5b1:8d50:8e3) |
| 2020-10-19 09:26:19 | → | gxt joins (~gxt@gateway/tor-sasl/gxt) |
| 2020-10-19 09:27:45 | × | AceNovo quits (~chris@184.101.162.142) (Ping timeout: 240 seconds) |
| 2020-10-19 09:28:12 | <maerwald> | Taneb: since 2017 https://github.com/haskell-servant/servant/issues/841 |
| 2020-10-19 09:28:20 | <maerwald> | :D |
| 2020-10-19 09:28:41 | <maerwald> | I'm late to the party |
| 2020-10-19 09:29:16 | → | da39a3ee5e6b4b0d joins (~textual@n11211935170.netvigator.com) |
| 2020-10-19 09:29:52 | × | bitmapper quits (uid464869@gateway/web/irccloud.com/x-olymsittyvaorogr) (Quit: Connection closed for inactivity) |
| 2020-10-19 09:31:25 | → | solonarv joins (~solonarv@anancy-651-1-202-101.w109-217.abo.wanadoo.fr) |
| 2020-10-19 09:31:43 | × | avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-19 09:33:07 | → | avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz) |
| 2020-10-19 09:33:47 | → | fendor joins (~fendor@77.119.130.12.wireless.dyn.drei.com) |
| 2020-10-19 09:34:28 | hackage | chessIO 0.4.0.0 - Basic chess library https://hackage.haskell.org/package/chessIO-0.4.0.0 (mlang) |
| 2020-10-19 09:36:49 | → | elosant joins (uid446058@gateway/web/irccloud.com/x-gqcalxxblktojltg) |
| 2020-10-19 09:37:10 | × | mmkarakaya quits (b0584711@gateway/web/cgi-irc/kiwiirc.com/ip.176.88.71.17) (Quit: Connection closed) |
| 2020-10-19 09:37:23 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 09:37:56 | × | m1dnight_ quits (~m1dnight@188.ip-51-91-158.eu) (Quit: WeeChat 2.4) |
| 2020-10-19 09:38:48 | × | Stanley00 quits (~stanley00@unaffiliated/stanley00) () |
| 2020-10-19 09:40:23 | → | Stanley00 joins (~stanley00@unaffiliated/stanley00) |
| 2020-10-19 09:42:06 | → | Plantain joins (~mdomin45@cpe-24-211-129-187.nc.res.rr.com) |
| 2020-10-19 09:42:13 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 264 seconds) |
| 2020-10-19 09:42:28 | → | m1dnight_ joins (~m1dnight@188.ip-51-91-158.eu) |
| 2020-10-19 09:44:31 | → | zz01 joins (~xyz@210.18.180.63) |
| 2020-10-19 09:44:59 | <dminuoso> | A do-notation statement discarded a result of type ‘Void’ |
| 2020-10-19 09:45:05 | <dminuoso> | merijn: You know what, you're right. |
| 2020-10-19 09:46:52 | × | fendor quits (~fendor@77.119.130.12.wireless.dyn.drei.com) (Remote host closed the connection) |
| 2020-10-19 09:47:13 | × | zz01 quits (~xyz@210.18.180.63) (Client Quit) |
| 2020-10-19 09:47:53 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 09:48:18 | → | invaser joins (~Thunderbi@31.148.23.125) |
| 2020-10-19 09:49:36 | × | thunderrd quits (~thunderrd@183.182.110.178) (Quit: If it wasn't written down it didn't happen...) |
| 2020-10-19 09:50:24 | <merijn> | There's two warnings for do, one for "you used something with a non-() return in a do block" and one for "you returned an unused 'IO a' in a do block" |
| 2020-10-19 09:50:37 | <merijn> | The latter is somehwat useful, but the first one is just bollocks |
| 2020-10-19 09:50:54 | <merijn> | You end up wrapping everything in your parser with void ot "_ <-" |
| 2020-10-19 09:51:08 | <dminuoso> | unused `IO a`? |
All times are in UTC.