Logs: freenode/#haskell
| 2021-03-22 21:51:07 | <bbhoss> | It's my first haskell program so I'm sure there's plenty to improve, but that is the oddest looking thing to me. it's pretty dense but everything has good names I think |
| 2021-03-22 21:52:24 | <bbhoss> | while you're there the "useless" case kinda bugs me. I really don't need to match on sortedResults. I guess I could do if then else maybe? or is there a better way to apply guards? what I'd like to do is have something like case but just for conditions |
| 2021-03-22 21:52:38 | × | LKoen quits (~LKoen@194.250.88.92.rev.sfr.net) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”) |
| 2021-03-22 21:53:32 | → | dan64- joins (~dan64@dannyadam.com) |
| 2021-03-22 21:53:49 | <bbhoss> | tbc I'm talking mainly about tallyRound |
| 2021-03-22 21:56:35 | × | dan64 quits (~dan64@dannyadam.com) (Ping timeout: 240 seconds) |
| 2021-03-22 21:56:57 | → | Raito_Bezarius joins (~Raito@unaffiliated/raito-bezarius/x-8764578) |
| 2021-03-22 21:57:15 | × | alx741 quits (~alx741@181.196.69.79) (Ping timeout: 256 seconds) |
| 2021-03-22 21:58:57 | → | wonko7 joins (~wonko7@62.115.229.50) |
| 2021-03-22 22:00:00 | <tomsmeding> | bbhoss: functions can also be defined using guards: https://paste.tomsmeding.com/ESI5suUP |
| 2021-03-22 22:00:24 | <tomsmeding> | @src otherwise |
| 2021-03-22 22:00:24 | <lambdabot> | otherwise = True |
| 2021-03-22 22:01:09 | × | Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 264 seconds) |
| 2021-03-22 22:01:42 | <shapr> | I was thinking, for the 20th anniversary of #haskell perhaps I should do another IOHCC |
| 2021-03-22 22:03:11 | <tomsmeding> | bbhoss: and I'd probably inline the decomposition of 'leader' and 'second' in 'tally' as follows: https://paste.tomsmeding.com/xJbIc1QE |
| 2021-03-22 22:03:42 | × | conkker quits (~conkker@unaffiliated/conkker) (Quit: The Lounge - https://thelounge.chat) |
| 2021-03-22 22:03:49 | × | wonko7 quits (~wonko7@62.115.229.50) (Ping timeout: 245 seconds) |
| 2021-03-22 22:04:14 | <tomsmeding> | shapr: please do |
| 2021-03-22 22:04:45 | × | theDon quits (~td@94.134.91.6) (Ping timeout: 264 seconds) |
| 2021-03-22 22:04:45 | × | ft quits (~ft@shell.chaostreff-dortmund.de) (Ping timeout: 246 seconds) |
| 2021-03-22 22:04:46 | → | conkker joins (~conkker@unaffiliated/conkker) |
| 2021-03-22 22:05:25 | → | theDon joins (~td@94.134.91.6) |
| 2021-03-22 22:05:33 | → | ft joins (~ft@shell.chaostreff-dortmund.de) |
| 2021-03-22 22:09:47 | × | conkker quits (~conkker@unaffiliated/conkker) (Quit: The Lounge - https://thelounge.chat) |
| 2021-03-22 22:09:48 | → | alx741 joins (~alx741@186.178.108.164) |
| 2021-03-22 22:10:06 | → | conkker joins (~conkker@unaffiliated/conkker) |
| 2021-03-22 22:12:12 | <shapr> | tomsmeding: got any ideas for 20th anniversary of #haskell ? |
| 2021-03-22 22:12:17 | <shapr> | it's coming up in a few weeks |
| 2021-03-22 22:12:25 | <shapr> | I'd need to recruit some judges |
| 2021-03-22 22:12:28 | <shapr> | hmm |
| 2021-03-22 22:16:32 | → | blissful joins (~blissful@unaffiliated/azuline) |
| 2021-03-22 22:19:20 | × | _ashbreeze_ quits (~mark@64.85.214.234.reverse.socket.net) (Remote host closed the connection) |
| 2021-03-22 22:20:05 | → | elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) |
| 2021-03-22 22:20:59 | <bbhoss> | tomsmeding: thanks, I'll give that a shot |
| 2021-03-22 22:21:23 | × | Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection) |
| 2021-03-22 22:21:25 | <bbhoss> | I guess it feels weird to have so much going on with those 11 lines, but if it doesn't look weird to y'all I'll take it |
| 2021-03-22 22:21:26 | → | _ashbreeze_ joins (~mark@64.85.214.234.reverse.socket.net) |
| 2021-03-22 22:22:12 | → | dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) |
| 2021-03-22 22:25:48 | <wz1000> | what is a IOHCC? |
| 2021-03-22 22:25:57 | <shapr> | international obfuscated Haskell code contest! |
| 2021-03-22 22:26:06 | <shapr> | I think I last ran one in 2005 or so |
| 2021-03-22 22:26:06 | <wz1000> | ah nice |
| 2021-03-22 22:26:54 | <wz1000> | would it be legal to exploit compiler bugs? |
| 2021-03-22 22:26:58 | <shapr> | of course! |
| 2021-03-22 22:27:20 | × | dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 256 seconds) |
| 2021-03-22 22:27:29 | <shapr> | you'd get bonus points for that kind of thing |
| 2021-03-22 22:27:33 | <wz1000> | which versions of GHC are allowed? |
| 2021-03-22 22:27:49 | shapr | shrugs |
| 2021-03-22 22:27:49 | <wz1000> | I mean, would it be fixed? |
| 2021-03-22 22:28:24 | × | danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 265 seconds) |
| 2021-03-22 22:28:56 | <wz1000> | look forward to it |
| 2021-03-22 22:29:05 | → | Vadrigar_ joins (~Vadrigar@ip5b417208.dynamic.kabel-deutschland.de) |
| 2021-03-22 22:30:02 | <wz1000> | I shouldn't have opened that GHC issue, now people will know of my secret weapon |
| 2021-03-22 22:30:10 | <monochrom> | More bonus points if the bug is present in a huge range of recent versions. >:) |
| 2021-03-22 22:30:36 | <wz1000> | Yeah, I know a fun one that affects everything from atleast 8.4 to 9,0 |
| 2021-03-22 22:31:23 | × | carlomagno quits (~cararell@148.87.23.5) (Quit: Leaving.) |
| 2021-03-22 22:31:50 | → | heatsink joins (~heatsink@2600:1700:bef1:5e10:90f:37ea:5699:98fc) |
| 2021-03-22 22:32:15 | hpc | . o O ( a haskell program that tells you what ghc version it was built with, using only compilation bugs ) |
| 2021-03-22 22:33:31 | × | Vadrigar_ quits (~Vadrigar@ip5b417208.dynamic.kabel-deutschland.de) (Ping timeout: 256 seconds) |
| 2021-03-22 22:38:31 | × | jmager24 quits (442be8d3@c-68-43-232-211.hsd1.mi.comcast.net) (Quit: Connection closed) |
| 2021-03-22 22:39:50 | → | molehillish joins (~molehilli@2600:8800:8d06:1800:c1f2:e355:53f0:4ab8) |
| 2021-03-22 22:39:56 | → | ezrakilty joins (~ezrakilty@97-113-58-224.tukw.qwest.net) |
| 2021-03-22 22:41:24 | <monochrom> | hahahaha |
| 2021-03-22 22:42:01 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-03-22 22:44:17 | × | ezrakilty quits (~ezrakilty@97-113-58-224.tukw.qwest.net) (Ping timeout: 256 seconds) |
| 2021-03-22 22:44:32 | → | jamm_ joins (~jamm@unaffiliated/jamm) |
| 2021-03-22 22:44:54 | × | codygman` quits (~user@209.251.131.98) (Ping timeout: 256 seconds) |
| 2021-03-22 22:45:18 | × | Pickchea quits (~private@unaffiliated/pickchea) (Quit: Leaving) |
| 2021-03-22 22:46:26 | × | Franciman quits (~francesco@host-79-53-62-46.retail.telecomitalia.it) (Quit: Leaving) |
| 2021-03-22 22:46:29 | → | Alleria joins (~textual@2603-7000-3040-0000-5567-17e6-5142-189b.res6.spectrum.com) |
| 2021-03-22 22:46:38 | × | stevenxl quits (~stevenlei@unaffiliated/stevenxl) (Ping timeout: 260 seconds) |
| 2021-03-22 22:46:52 | Alleria | is now known as Guest93685 |
| 2021-03-22 22:48:32 | × | jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 240 seconds) |
| 2021-03-22 22:48:58 | × | forp quits (57e3c46d@87.227.196.109) (Quit: Connection closed) |
| 2021-03-22 22:49:38 | × | lampowner quits (~xblow@broadband-90-154-73-166.ip.moscow.rt.ru) (Remote host closed the connection) |
| 2021-03-22 22:50:11 | <minoru_shiraeesh> | shapr: how about classifying the conversations from the archive by subjects and tags |
| 2021-03-22 22:50:35 | <minoru_shiraeesh> | to make them more reachable through search |
| 2021-03-22 22:50:57 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 264 seconds) |
| 2021-03-22 22:51:04 | × | Ariakenom quits (~Ariakenom@2001:9b1:efb:fc00:1c78:a17b:5caa:bd0c) (Quit: Leaving) |
| 2021-03-22 22:51:33 | <wz1000> | I would say CPP should be disallowed from the contest at least. |
| 2021-03-22 22:51:38 | × | xff0x quits (~xff0x@2001:1a81:52ec:b00:79bd:e981:802a:de8e) (Ping timeout: 264 seconds) |
| 2021-03-22 22:51:51 | <wz1000> | makes it too easy and not that fun |
| 2021-03-22 22:52:10 | <wz1000> | its not Haskell anymore |
| 2021-03-22 22:52:31 | → | xff0x joins (~xff0x@port-92-193-144-80.dynamic.as20676.net) |
| 2021-03-22 22:53:41 | → | olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber) |
| 2021-03-22 22:53:54 | <dmj`> | wz1000: just peek into rts/ shouldn't be hard to find some bugs |
| 2021-03-22 22:53:57 | × | Benzi-Junior quits (~BenziJuni@dsl-149-67-143.hive.is) (Ping timeout: 264 seconds) |
| 2021-03-22 22:54:21 | × | Chai-T-Rex quits (~ChaiTRex@gateway/tor-sasl/chaitrex) (Ping timeout: 268 seconds) |
| 2021-03-22 22:55:44 | × | son0p quits (~son0p@181.136.122.143) (Remote host closed the connection) |
| 2021-03-22 22:55:50 | → | Chai-T-Rex joins (~ChaiTRex@gateway/tor-sasl/chaitrex) |
| 2021-03-22 22:58:11 | → | romesrf joins (~romesrf@44.190.189.46.rev.vodafone.pt) |
| 2021-03-22 22:58:25 | → | stevenxl joins (~stevenlei@c-73-45-168-220.hsd1.il.comcast.net) |
| 2021-03-22 22:58:35 | × | borne quits (~fritjof@200116b864caf700a6d9c1e30b1bd3ca.dip.versatel-1u1.de) (Ping timeout: 272 seconds) |
| 2021-03-22 22:58:51 | <wz1000> | shapr: are entries from previous contests available somewhere? |
| 2021-03-22 22:59:22 | <Axman6> | hmm, ehich version of GHC stopped you being able to write unsafeCoerce using IORefs asnd unsafePerformIO |
| 2021-03-22 23:00:23 | <wz1000> | its still allowed |
| 2021-03-22 23:00:41 | <Axman6> | I was sure there was a change that prevented it but can't remember what it was |
| 2021-03-22 23:01:21 | <wz1000> | try writing unsafeCoerce with any imports and SafeHaskell |
| 2021-03-22 23:01:35 | × | romesrf quits (~romesrf@44.190.189.46.rev.vodafone.pt) (Client Quit) |
| 2021-03-22 23:01:38 | <wz1000> | it is possible |
All times are in UTC.