Logs: freenode/#haskell
| 2020-10-19 09:51:22 | <dminuoso> | What warning are you referring to? |
| 2020-10-19 09:51:48 | <merijn> | dminuoso: If you have "IO (IO ())" |
| 2020-10-19 09:51:56 | <dminuoso> | There's a warning for that? |
| 2020-10-19 09:51:58 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 2020-10-19 09:52:07 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds) |
| 2020-10-19 09:52:08 | → | GyroW joins (~GyroW@d54C03E98.access.telenet.be) |
| 2020-10-19 09:52:08 | × | GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 2020-10-19 09:52:08 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 2020-10-19 09:52:12 | <dminuoso> | % pure getLine |
| 2020-10-19 09:52:13 | <yahb> | dminuoso: |
| 2020-10-19 09:52:49 | <merijn> | -Wwrong-do-bind |
| 2020-10-19 09:52:59 | <merijn> | dminuoso: Only in do notation |
| 2020-10-19 09:53:35 | <dminuoso> | Ah. |
| 2020-10-19 09:53:40 | <dminuoso> | % :set -Wall |
| 2020-10-19 09:53:40 | <yahb> | dminuoso: |
| 2020-10-19 09:53:48 | <dminuoso> | % do { pure getLine; pure 1 } |
| 2020-10-19 09:53:48 | <yahb> | dminuoso: ; <interactive>:67:6: warning: [-Wunused-do-bind]; A do-notation statement discarded a result of type `IO String'; Suppress this warning by saying `_ <- pure getLine'; <interactive>:67:25: warning: [-Wtype-defaults]; * Defaulting the following constraints to type `Integer'; (Num a0) arising from the literal `1' at <interactive>:67:25; (Show a0) arising from a use of `print' a |
| 2020-10-19 09:54:08 | → | thir joins (~thir@p200300f27f2f0100d058ed1e9e148e98.dip0.t-ipconnect.de) |
| 2020-10-19 09:54:13 | <merijn> | % :set -Wall -Wno-unused-do-bind |
| 2020-10-19 09:54:13 | <yahb> | merijn: |
| 2020-10-19 09:54:18 | <merijn> | % do { pure getLine; pure 1 } |
| 2020-10-19 09:54:19 | <yahb> | merijn: ; <interactive>:69:25: warning: [-Wtype-defaults]; * Defaulting the following constraints to type `Integer'; (Num a0) arising from the literal `1' at <interactive>:69:25; (Show a0) arising from a use of `print' at <interactive>:69:1-27; * In the first argument of `pure', namely `1'; In a stmt of a 'do' block: pure 1; In the first argument of `GHC.GHCi.ghciStepIO :: for |
| 2020-10-19 09:54:23 | <merijn> | ugh |
| 2020-10-19 09:54:31 | <merijn> | % do { pure getLine; pure 'c' } |
| 2020-10-19 09:54:31 | <dminuoso> | % do { pure getLine; pure "foo" } |
| 2020-10-19 09:54:31 | <yahb> | merijn: 'c' |
| 2020-10-19 09:54:31 | <yahb> | dminuoso: "foo" |
| 2020-10-19 09:54:34 | → | manishearth1 joins (~manishear@195.206.169.184) |
| 2020-10-19 09:54:36 | <merijn> | hmm |
| 2020-10-19 09:54:41 | <dminuoso> | Maybe its not included in Wall? |
| 2020-10-19 09:54:42 | <merijn> | Maybe someone broke the warning :p |
| 2020-10-19 09:54:46 | <merijn> | It used to work |
| 2020-10-19 09:54:49 | <dminuoso> | % :set -Wall -Wno-unused-do-bind -Wwrong-do-bind |
| 2020-10-19 09:54:49 | <yahb> | dminuoso: |
| 2020-10-19 09:54:51 | <dminuoso> | % do { pure getLine; pure "foo" } |
| 2020-10-19 09:54:51 | <yahb> | dminuoso: "foo" |
| 2020-10-19 09:54:58 | <dminuoso> | Never seen it fire.. |
| 2020-10-19 09:55:05 | <merijn> | % do { return getLine; pure 'c' } |
| 2020-10-19 09:55:05 | <yahb> | merijn: 'c' |
| 2020-10-19 09:55:10 | <merijn> | I have :p |
| 2020-10-19 09:55:18 | <merijn> | But that was long ago in 7.x |
| 2020-10-19 09:55:31 | <dminuoso> | fair enough, either way, this diagnostic doesnt seem useful ot me |
| 2020-10-19 09:55:46 | <dminuoso> | but, if I had it for free why not |
| 2020-10-19 09:56:01 | × | MindlessDrone quits (~MindlessD@unaffiliated/mindlessdrone) (Ping timeout: 264 seconds) |
| 2020-10-19 09:56:02 | <merijn> | It's helpful to not lose "free" actions after something like allocate |
| 2020-10-19 09:56:15 | <dminuoso> | but -Wno-unused-do-bind should become my default |
| 2020-10-19 09:56:36 | <merijn> | It already is for me :p |
| 2020-10-19 09:56:48 | <merijn> | dminuoso: Don't forget to enable -Wcompat, I always forget >.> |
| 2020-10-19 09:57:08 | <dminuoso> | I avoid the need by never updating GHC. |
| 2020-10-19 09:57:13 | <dminuoso> | :p |
| 2020-10-19 09:57:18 | <merijn> | ;) |
| 2020-10-19 09:57:38 | <dminuoso> | jokes aside, we're still using 8.6.5 for one project. |
| 2020-10-19 09:57:58 | <merijn> | I just moved my phd codebase from 8.6.5 to 8.10.2 :) |
| 2020-10-19 09:58:13 | <dminuoso> | Willing to bet facebook is still running on 7.* |
| 2020-10-19 09:58:31 | → | grimgnr joins (~user@94.19.246.43) |
| 2020-10-19 09:58:56 | <merijn> | Probably not, ApplicativeDo is 8.x, no? :p |
| 2020-10-19 09:58:57 | <dminuoso> | 2 years ago they still were, and Simon kept humming and hawing when asked when they wanted to switch to 8.0.. |
| 2020-10-19 09:59:10 | × | darjeeli1 quits (~darjeelin@122.245.211.155) (Ping timeout: 258 seconds) |
| 2020-10-19 09:59:11 | <dminuoso> | Mmm |
| 2020-10-19 09:59:14 | → | MindlessDrone joins (~MindlessD@unaffiliated/mindlessdrone) |
| 2020-10-19 09:59:22 | <dminuoso> | Then they must be stuck on 8.0 or 8.2 then |
| 2020-10-19 09:59:39 | × | klixto quits (~klixto@130.220.8.132) (Quit: WeeChat 2.9) |
| 2020-10-19 09:59:41 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:55fe:9659:6858:494f) (Ping timeout: 244 seconds) |
| 2020-10-19 10:00:24 | → | thunderrd joins (~thunderrd@183.182.110.178) |
| 2020-10-19 10:00:26 | → | oisdk joins (~oisdk@2001:bb6:3329:d100:5538:baf2:3212:5e91) |
| 2020-10-19 10:00:27 | → | Rudd0 joins (~Rudd0@185.189.115.103) |
| 2020-10-19 10:01:52 | × | thir quits (~thir@p200300f27f2f0100d058ed1e9e148e98.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 2020-10-19 10:08:22 | × | bliminse quits (~bliminse@host217-42-95-37.range217-42.btcentralplus.com) (Ping timeout: 258 seconds) |
| 2020-10-19 10:09:11 | → | bliminse joins (~bliminse@host217-42-95-37.range217-42.btcentralplus.com) |
| 2020-10-19 10:09:36 | × | babygnu quits (~robert@111.169.23.93.rev.sfr.net) (Quit: Leaving) |
| 2020-10-19 10:09:45 | → | dcoutts_ joins (~duncan@33.14.75.194.dyn.plus.net) |
| 2020-10-19 10:10:40 | → | bartemius joins (~bartemius@109.252.19.142) |
| 2020-10-19 10:11:23 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 10:12:08 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:8ccf:20f3:8f5c:5150) |
| 2020-10-19 10:14:43 | × | m1dnight_ quits (~m1dnight@188.ip-51-91-158.eu) (Read error: Connection reset by peer) |
| 2020-10-19 10:15:52 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-10-19 10:16:20 | → | m1dnight_ joins (~m1dnight@188.ip-51-91-158.eu) |
| 2020-10-19 10:16:42 | <kuribas> | dminuoso: what's wrong with 6.8.5? |
| 2020-10-19 10:16:52 | <kuribas> | erm 8.6.5 |
| 2020-10-19 10:17:53 | → | DavidEichmann joins (~david@43.240.198.146.dyn.plus.net) |
| 2020-10-19 10:20:15 | → | darjeeli1 joins (~darjeelin@122.245.211.155) |
| 2020-10-19 10:20:33 | → | Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas) |
| 2020-10-19 10:21:29 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-10-19 10:21:48 | → | GyroW_ joins (~GyroW@d54C03E98.access.telenet.be) |
| 2020-10-19 10:21:48 | × | GyroW_ quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 2020-10-19 10:21:48 | → | GyroW_ joins (~GyroW@unaffiliated/gyrow) |
| 2020-10-19 10:22:09 | × | hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Remote host closed the connection) |
| 2020-10-19 10:22:30 | → | hekkaidekapus joins (~tchouri@gateway/tor-sasl/hekkaidekapus) |
| 2020-10-19 10:23:22 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 272 seconds) |
| 2020-10-19 10:25:30 | <maerwald> | yeah, you can't switch GHC just like that, especially if you rely on certain performance characteristics of your code |
| 2020-10-19 10:25:50 | <maerwald> | new version might be slower or faster or behave different for whatever reason |
| 2020-10-19 10:26:00 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds) |
| 2020-10-19 10:29:08 | → | err joins (b9749498@185.116.148.152) |
| 2020-10-19 10:29:53 | <dminuoso> | kuribas: I like staying up to date on GHC for bug fixes and new features. |
| 2020-10-19 10:29:55 | → | __monty__ joins (~toonn@unaffiliated/toonn) |
| 2020-10-19 10:30:20 | <kuribas> | dminuoso: are no bug fixes done for 8.6.5? |
| 2020-10-19 10:30:23 | <dminuoso> | I dont want my compiler/base be the reason why I cant get package `xyz` at a desired version. |
| 2020-10-19 10:30:51 | <dminuoso> | kuribas: The GHC team doesn't have the capacity to backport all fixes promptly. |
| 2020-10-19 10:31:16 | <kuribas> | I prefer a stable compiler over a cutting edge one with the latest features. |
| 2020-10-19 10:31:45 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
All times are in UTC.