2021-06-27 00:01:34 +0200 | <geekosaur> | > let f :: [Int]; f = do { return 2; return 3; } |
2021-06-27 00:01:35 +0200 | <lambdabot> | <no location info>: error: |
2021-06-27 00:01:35 +0200 | <lambdabot> | not an expression: ‘let f :: [Int]; f = do { return 2; return 3; }’ |
2021-06-27 00:01:41 +0200 | <geekosaur> | > let f :: [Int]; f = do { return 2; return 3; } in f |
2021-06-27 00:01:42 +0200 | <lambdabot> | [3] |
2021-06-27 00:01:50 +0200 | <geekosaur> | return is not a statement; |
2021-06-27 00:02:03 +0200 | <geekosaur> | @undo do { return 2; return 3 } |
2021-06-27 00:02:03 +0200 | <lambdabot> | return 2 >> return 3 |
2021-06-27 00:02:12 +0200 | <geekosaur> | the 2 is discarded |
2021-06-27 00:02:13 +0200 | <a6a45081-2b83> | I was expecting it to inject the value in the monad |
2021-06-27 00:02:19 +0200 | <a6a45081-2b83> | more like >>= |
2021-06-27 00:02:21 +0200 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) |
2021-06-27 00:02:34 +0200 | <a6a45081-2b83> | yeah you are right |
2021-06-27 00:02:39 +0200 | lavaman | (~lavaman@98.38.249.169) |
2021-06-27 00:04:06 +0200 | <dsal> | `return` is a confusing function and is best avoided. |
2021-06-27 00:07:12 +0200 | lavaman | (~lavaman@98.38.249.169) (Ping timeout: 252 seconds) |
2021-06-27 00:07:42 +0200 | gehmehgeh | (~user@user/gehmehgeh) (Quit: Leaving) |
2021-06-27 00:08:27 +0200 | <hpc> | it's best to just rename return to something even more confusing |
2021-06-27 00:08:36 +0200 | __monty__ | (~toonn@user/toonn) (Quit: leaving) |
2021-06-27 00:08:38 +0200 | <hpc> | foo = do {this; that; the other thing; exit();} |
2021-06-27 00:08:46 +0200 | <a6a45081-2b83> | rofl |
2021-06-27 00:09:12 +0200 | <janus> | > let exit() = pure |
2021-06-27 00:09:13 +0200 | <lambdabot> | <no location info>: error: not an expression: ‘let exit() = pure’ |
2021-06-27 00:09:19 +0200 | <hpc> | @let exit = pure |
2021-06-27 00:09:20 +0200 | <lambdabot> | Defined. |
2021-06-27 00:09:25 +0200 | <hpc> | :t exit() |
2021-06-27 00:09:26 +0200 | <lambdabot> | Applicative f => f () |
2021-06-27 00:09:42 +0200 | falafel | (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 244 seconds) |
2021-06-27 00:09:51 +0200 | <hpc> | :t exit(1) |
2021-06-27 00:09:52 +0200 | <lambdabot> | (Applicative f, Num a) => f a |
2021-06-27 00:09:54 +0200 | <hpc> | :D |
2021-06-27 00:10:16 +0200 | <janus> | maybe one could use aboriginal brackets like they do in go for generics and have it not be an unit.. |
2021-06-27 00:12:04 +0200 | Gurkenglas | (~Gurkengla@dslb-002-203-144-156.002.203.pools.vodafone-ip.de) (Ping timeout: 268 seconds) |
2021-06-27 00:14:31 +0200 | SoF | (~skius@user/skius) (Quit: Ping timeout (120 seconds)) |
2021-06-27 00:14:50 +0200 | SoF | (~skius@user/skius) |
2021-06-27 00:15:50 +0200 | acidjnk | (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) (Ping timeout: 268 seconds) |
2021-06-27 00:17:44 +0200 | kayprish | (~kayprish@46.240.143.86) (Remote host closed the connection) |
2021-06-27 00:19:40 +0200 | Morrow | (~MorrowM_@147.161.9.7) (Ping timeout: 252 seconds) |
2021-06-27 00:20:05 +0200 | Morrow | (~MorrowM_@147.161.12.168) |
2021-06-27 00:22:26 +0200 | tzh | (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Ping timeout: 258 seconds) |
2021-06-27 00:24:32 +0200 | geekosaur | (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
2021-06-27 00:24:38 +0200 | egoist | (~egoist@186.235.82.105) (Read error: Connection reset by peer) |
2021-06-27 00:25:56 +0200 | a6a45081-2b83 | (~aditya@106.214.225.112) (Quit: Konversation terminated!) |
2021-06-27 00:27:46 +0200 | geekosaur | (~geekosaur@xmonad/geekosaur) |
2021-06-27 00:28:36 +0200 | derelict | (~derelict@user/derelict) (Quit: WeeChat 3.2) |
2021-06-27 00:28:52 +0200 | tzh | (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) |
2021-06-27 00:37:21 +0200 | cheater | (~Username@user/cheater) (Ping timeout: 268 seconds) |
2021-06-27 00:37:32 +0200 | cheater | (~Username@user/cheater) |
2021-06-27 00:42:24 +0200 | cheater | (~Username@user/cheater) (Ping timeout: 252 seconds) |
2021-06-27 00:43:49 +0200 | iridescent | (~iridescen@41337027.cst.lightpath.net) (Quit: Client closed) |
2021-06-27 00:46:38 +0200 | cheater1__ | (~Username@user/cheater) |
2021-06-27 00:47:04 +0200 | oxide | (~lambda@user/oxide) (Quit: oxide) |
2021-06-27 00:47:30 +0200 | cheater1__ | cheater |
2021-06-27 00:47:34 +0200 | Flonk | (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com) |
2021-06-27 00:51:39 +0200 | gentauro | (~gentauro@user/gentauro) (Read error: Connection reset by peer) |
2021-06-27 00:52:51 +0200 | gentauro | (~gentauro@user/gentauro) |
2021-06-27 00:54:38 +0200 | machinedgod | (~machinedg@24.105.81.50) (Ping timeout: 258 seconds) |
2021-06-27 00:54:45 +0200 | jumper149 | (~jumper149@80.240.31.34) (Quit: WeeChat 3.1) |
2021-06-27 00:58:35 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 265 seconds) |
2021-06-27 01:01:32 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 01:04:14 +0200 | jlombera | (~jlombera@187.177.181.166) |
2021-06-27 01:08:54 +0200 | jlombera | (~jlombera@187.177.181.166) (WeeChat 3.2) |
2021-06-27 01:10:15 +0200 | aplainze1akind | (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net) |
2021-06-27 01:19:15 +0200 | jlombera | (~jlombera@187.177.181.166) |
2021-06-27 01:20:19 +0200 | cheater | (~Username@user/cheater) (Ping timeout: 258 seconds) |
2021-06-27 01:20:36 +0200 | cheater | (~Username@user/cheater) |
2021-06-27 01:22:32 +0200 | parisienne | (sid383587@id-383587.brockwell.irccloud.com) |
2021-06-27 01:23:22 +0200 | Tuplanolla | (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.) |
2021-06-27 01:23:49 +0200 | econo | (uid147250@user/econo) (Quit: Connection closed for inactivity) |
2021-06-27 01:24:44 +0200 | pfurla_ | (~pfurla@216.131.83.76) |
2021-06-27 01:27:43 +0200 | pfurla | (~pfurla@ool-182ed2e2.dyn.optonline.net) (Ping timeout: 244 seconds) |
2021-06-27 01:28:54 +0200 | AWizzArd | (~code@user/awizzard) |
2021-06-27 01:29:22 +0200 | Feuermagier | (~Feuermagi@user/feuermagier) |
2021-06-27 01:30:00 +0200 | cheater | (~Username@user/cheater) (Ping timeout: 265 seconds) |
2021-06-27 01:30:06 +0200 | cheater1__ | (~Username@user/cheater) |
2021-06-27 01:30:08 +0200 | cheater1__ | cheater |
2021-06-27 01:31:49 +0200 | machinedgod | (~machinedg@24.105.81.50) |
2021-06-27 01:35:33 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds) |
2021-06-27 01:42:17 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) |
2021-06-27 01:42:50 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
2021-06-27 01:42:54 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 272 seconds) |
2021-06-27 01:43:38 +0200 | cheater1__ | (~Username@user/cheater) |
2021-06-27 01:44:30 +0200 | cheater | (~Username@user/cheater) (Ping timeout: 265 seconds) |
2021-06-27 01:44:31 +0200 | cheater1__ | cheater |
2021-06-27 01:47:45 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) |
2021-06-27 01:49:25 +0200 | stevenxl | (~stevenlei@174.128.182.86) (Ping timeout: 250 seconds) |
2021-06-27 01:51:31 +0200 | lavaman | (~lavaman@98.38.249.169) |
2021-06-27 02:00:43 +0200 | jlombera | (~jlombera@187.177.181.166) (Quit: WeeChat 3.2) |
2021-06-27 02:04:34 +0200 | jlombera | (~jlombera@187.177.181.166) |
2021-06-27 02:06:38 +0200 | derelict | (~derelict@user/derelict) |
2021-06-27 02:15:32 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net) |
2021-06-27 02:21:43 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) |
2021-06-27 02:22:13 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
2021-06-27 02:23:21 +0200 | dunj3 | (~dunj3@2001:16b8:300e:4200:61ea:91d:5230:afc8) (Remote host closed the connection) |
2021-06-27 02:23:30 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) |
2021-06-27 02:24:40 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
2021-06-27 02:25:15 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) |
2021-06-27 02:26:30 +0200 | jlombera | (~jlombera@187.177.181.166) (Quit: WeeChat 3.2) |
2021-06-27 02:26:45 +0200 | jlombera | (~jlombera@187.177.181.166) |
2021-06-27 02:27:01 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit) |
2021-06-27 02:29:49 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
2021-06-27 02:34:14 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 252 seconds) |
2021-06-27 02:35:24 +0200 | laguneucl | (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) (Ping timeout: 244 seconds) |
2021-06-27 02:41:28 +0200 | betelgeuse | (~john2gb@94-225-47-8.access.telenet.be) |
2021-06-27 02:41:52 +0200 | chisui | (~chisui@200116b864537a005c14c63c4df5fc2e.dip.versatel-1u1.de) (Ping timeout: 246 seconds) |
2021-06-27 02:41:57 +0200 | betelgeuse | (~john2gb@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer) |
2021-06-27 02:43:35 +0200 | Feuermagier | (~Feuermagi@user/feuermagier) (Ping timeout: 250 seconds) |
2021-06-27 02:44:20 +0200 | betelgeuse | (~john2gb@94-225-47-8.access.telenet.be) |
2021-06-27 02:49:45 +0200 | betelgeuse | (~john2gb@94-225-47-8.access.telenet.be) (Read error: Connection reset by peer) |
2021-06-27 02:50:04 +0200 | <qrpnxz> | importing category is really annoying because of (.) in the prelude, why isn't category in the prelude |
2021-06-27 02:50:26 +0200 | jlombera | (~jlombera@187.177.181.166) (Quit: WeeChat 3.2) |
2021-06-27 02:50:33 +0200 | <qrpnxz> | well ig you can just use <<< nvm |
2021-06-27 02:51:21 +0200 | betelgeuse | (~john2gb@94-225-47-8.access.telenet.be) |
2021-06-27 02:51:27 +0200 | pavonia | (~user@user/siracusa) |
2021-06-27 02:53:40 +0200 | betelgeuse | (~john2gb@94-225-47-8.access.telenet.be) (Client Quit) |
2021-06-27 02:54:37 +0200 | falafel | (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
2021-06-27 02:58:20 +0200 | myShoggoth | (~myShoggot@75.164.29.44) |
2021-06-27 03:00:50 +0200 | MorrowM | (~MorrowM_@147.161.12.168) |
2021-06-27 03:04:36 +0200 | Morrow | (~MorrowM_@147.161.12.168) (Ping timeout: 272 seconds) |
2021-06-27 03:07:20 +0200 | MorrowM | (~MorrowM_@147.161.12.168) (Read error: Connection reset by peer) |
2021-06-27 03:07:37 +0200 | yauhsien | (~yauhsien@61-231-57-141.dynamic-ip.hinet.net) (Remote host closed the connection) |
2021-06-27 03:07:52 +0200 | Morrow | (~MorrowM_@147.161.12.168) |
2021-06-27 03:07:55 +0200 | neurocyte578 | (~neurocyte@94.46.64.65) |
2021-06-27 03:07:55 +0200 | neurocyte578 | (~neurocyte@94.46.64.65) (Changing host) |
2021-06-27 03:07:55 +0200 | neurocyte578 | (~neurocyte@user/neurocyte) |
2021-06-27 03:09:05 +0200 | aplainzetakind | (~johndoe@captainludd.powered.by.lunarbnc.net) |
2021-06-27 03:10:32 +0200 | neurocyte57 | (~neurocyte@user/neurocyte) (Ping timeout: 265 seconds) |
2021-06-27 03:10:32 +0200 | neurocyte578 | neurocyte57 |
2021-06-27 03:19:11 +0200 | <qrpnxz> | dang, id also clashes |
2021-06-27 03:19:13 +0200 | <qrpnxz> | terrible |
2021-06-27 03:19:25 +0200 | acarrico | (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 272 seconds) |
2021-06-27 03:19:43 +0200 | Deide | (~Deide@user/deide) (Quit: Seeee yaaaa) |
2021-06-27 03:23:01 +0200 | xff0x | (~xff0x@2001:1a81:5302:7b00:a26f:1df0:afaa:6dfd) (Ping timeout: 250 seconds) |
2021-06-27 03:23:45 +0200 | <yushyin> | qrpnxz: you can hide some imports from prelude e.g. import Prelude hiding (id, (.)) |
2021-06-27 03:24:30 +0200 | <qrpnxz> | idk how to do that in ghci. Regardless i think cat in prelude would be better no? |
2021-06-27 03:24:57 +0200 | xff0x | (~xff0x@2001:1a81:533e:6d00:fca2:116b:2879:8d6d) |
2021-06-27 03:26:28 +0200 | <janus> | % set -XNoImplicitPrelude |
2021-06-27 03:26:28 +0200 | <yahb> | janus: ; <interactive>:109:6: error:; * Data constructor not in scope: XNoImplicitPrelude :: ASetter s t a b -> b -> s -> t; * Perhaps you meant `ImplicitPrelude' (imported from Language.Haskell.TH) |
2021-06-27 03:26:59 +0200 | <janus> | % :set -XNoImplicitPrelude |
2021-06-27 03:26:59 +0200 | <yahb> | janus: |
2021-06-27 03:27:31 +0200 | <janus> | qrpnxz: yahb is ghci, so if it works here... |
2021-06-27 03:28:00 +0200 | Morrow | (~MorrowM_@147.161.12.168) (Read error: Connection reset by peer) |
2021-06-27 03:28:29 +0200 | sheepduck | (~sheepduck@cpe98524a8cef7c-cm98524a8cef7a.cpe.net.cable.rogers.com) |
2021-06-27 03:28:54 +0200 | jespada | (~jespada@90.254.247.46) (Ping timeout: 265 seconds) |
2021-06-27 03:29:16 +0200 | <qrpnxz> | unfortunately i also have the problem that i keep having to import the universe every time i want to play around, so if i do that I'll have to import even more stuff probably, but maybe it'll be around the same |
2021-06-27 03:29:36 +0200 | jespada | (~jespada@90.254.247.46) |
2021-06-27 03:30:18 +0200 | <qrpnxz> | and it still clashes with Data.Function, so i have to especially import that as well |
2021-06-27 03:31:57 +0200 | <qrpnxz> | I can't even do the hiding syntax with :m + 😩️ |
2021-06-27 03:32:07 +0200 | <yushyin> | you can create a cabal project with a single source file, where you import/hide all you want and start a repl with that source file |
2021-06-27 03:32:09 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 03:32:13 +0200 | <qrpnxz> | was just about to say lol |
2021-06-27 03:32:17 +0200 | <qrpnxz> | gonna have to do that |
2021-06-27 03:32:35 +0200 | sheepduck | (~sheepduck@cpe98524a8cef7c-cm98524a8cef7a.cpe.net.cable.rogers.com) (Client Quit) |
2021-06-27 03:32:52 +0200 | <nshepperd> | i have a big pile of imports in ~/.ghci |
2021-06-27 03:32:55 +0200 | <geekosaur> | you can also use import syntax in ghci |
2021-06-27 03:33:13 +0200 | <geekosaur> | :m predates that |
2021-06-27 03:34:44 +0200 | <qrpnxz> | is .ghci just a file that gets loaded every time |
2021-06-27 03:34:52 +0200 | sheepduck | (~sheepduck@user/sheepduck) |
2021-06-27 03:34:53 +0200 | <geekosaur> | yes |
2021-06-27 03:35:21 +0200 | <geekosaur> | https://downloads.haskell.org/ghc/latest/docs/html/users_guide/ghci.html#the-ghci-and-haskeline-fi… |
2021-06-27 03:35:21 +0200 | <qrpnxz> | cool i'll put it there then thx |
2021-06-27 03:38:46 +0200 | myShoggoth | (~myShoggot@75.164.29.44) (Ping timeout: 252 seconds) |
2021-06-27 03:39:02 +0200 | n283 | (~jaredm@c-98-219-195-163.hsd1.pa.comcast.net) |
2021-06-27 03:39:11 +0200 | sheepduck | (~sheepduck@user/sheepduck) (Client Quit) |
2021-06-27 03:40:50 +0200 | pretty_dumm_guy | (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
2021-06-27 03:43:22 +0200 | warnz | (~warnz@104-55-100-55.lightspeed.lsvlky.sbcglobal.net) |
2021-06-27 03:43:59 +0200 | xkuru | (~xkuru@user/xkuru) (Read error: Connection reset by peer) |
2021-06-27 03:45:54 +0200 | stevenxl | (~stevenlei@174.128.182.86) |
2021-06-27 03:50:43 +0200 | berberman | (~berberman@user/berberman) (Ping timeout: 246 seconds) |
2021-06-27 03:50:50 +0200 | waleee | (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 272 seconds) |
2021-06-27 03:51:05 +0200 | stevenxl | (~stevenlei@174.128.182.86) (Ping timeout: 272 seconds) |
2021-06-27 03:51:48 +0200 | berberman | (~berberman@user/berberman) |
2021-06-27 03:52:04 +0200 | _________ | (~nobody@user//x-7881368) (Ping timeout: 252 seconds) |
2021-06-27 03:57:55 +0200 | <qrpnxz> | #haskellmoment https://termbin.com/obf5 |
2021-06-27 03:58:18 +0200 | pfurla | (~pfurla@ool-182ed2e2.dyn.optonline.net) |
2021-06-27 04:00:42 +0200 | bilegeek | (~bilegeek@2600:1008:b015:3e96:6f34:1a42:6ac5:3b86) |
2021-06-27 04:00:43 +0200 | pfurla_ | (~pfurla@216.131.83.76) (Ping timeout: 250 seconds) |
2021-06-27 04:05:32 +0200 | mpt | (~tom@2a02:908:1862:49e0::6) |
2021-06-27 04:06:14 +0200 | warnz | (~warnz@104-55-100-55.lightspeed.lsvlky.sbcglobal.net) (Remote host closed the connection) |
2021-06-27 04:06:16 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds) |
2021-06-27 04:06:27 +0200 | <qrpnxz> | looks like ghci can even pull some data structures, but not data.vector |
2021-06-27 04:16:45 +0200 | mpt | (~tom@2a02:908:1862:49e0::6) (Ping timeout: 250 seconds) |
2021-06-27 04:20:24 +0200 | _________ | (~nobody@user//x-7881368) |
2021-06-27 04:24:47 +0200 | stevenxl | (~stevenlei@174.128.182.184) |
2021-06-27 04:25:01 +0200 | hrnz | (~ulli@irc.plumbing) (Quit: das ist mir zu bld hier; bb) |
2021-06-27 04:25:23 +0200 | hrnz | (~ulli@irc.plumbing) |
2021-06-27 04:27:05 +0200 | <jophish> | <qrpnxz "#haskellmoment https://termbin.c"> hahahaha |
2021-06-27 04:27:19 +0200 | <qrpnxz> | 😁️ |
2021-06-27 04:29:22 +0200 | stevenxl | (~stevenlei@174.128.182.184) (Ping timeout: 252 seconds) |
2021-06-27 04:30:45 +0200 | hegstal | (~hegstal@2a02:c7f:7604:8a00:1f42:2755:1fbb:af5c) (Remote host closed the connection) |
2021-06-27 04:31:08 +0200 | cheater | (~Username@user/cheater) (Ping timeout: 244 seconds) |
2021-06-27 04:31:38 +0200 | cheater | (~Username@user/cheater) |
2021-06-27 04:31:56 +0200 | pretty_dumm_guy | (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3-dev) |
2021-06-27 04:32:36 +0200 | finn_elija | (~finn_elij@user/finn-elija/x-0085643) |
2021-06-27 04:32:36 +0200 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) (Killed (cadmium.libera.chat (Nickname regained by services))) |
2021-06-27 04:32:36 +0200 | finn_elija | FinnElija |
2021-06-27 04:35:42 +0200 | HarveyPwca | (~HarveyPwc@2601:246:c180:a570:29df:3b00:ad0e:3a06) (Quit: Leaving) |
2021-06-27 04:36:08 +0200 | myShoggoth | (~myShoggot@75.164.29.44) |
2021-06-27 04:38:59 +0200 | falafel | (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 265 seconds) |
2021-06-27 04:39:34 +0200 | <shachaf> | Matrix replies in IRC are the worst. I really wish they'd disable it or people stopped doing it. |
2021-06-27 04:41:09 +0200 | <qrpnxz> | can you give an example |
2021-06-27 04:41:28 +0200 | _________ | (~nobody@user//x-7881368) (Ping timeout: 244 seconds) |
2021-06-27 04:42:06 +0200 | <shachaf> | The above. |
2021-06-27 04:42:59 +0200 | <qrpnxz> | ah, seemed fine to me but alright |
2021-06-27 04:43:30 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) |
2021-06-27 04:43:34 +0200 | <geekosaur> | I've seen worse (how editing messages shows up, for example. May be element.io instead of matrix in general) |
2021-06-27 04:49:51 +0200 | vicfred_ | (~vicfred@89.46.114.138) |
2021-06-27 04:50:46 +0200 | td_ | (~td@muedsl-82-207-238-164.citykom.de) (Ping timeout: 244 seconds) |
2021-06-27 04:51:42 +0200 | _________ | (~nobody@user//x-7881368) |
2021-06-27 04:52:38 +0200 | justsomeguy | (~justsomeg@user/justsomeguy) |
2021-06-27 04:52:39 +0200 | vicfred | (~vicfred@user/vicfred) (Ping timeout: 268 seconds) |
2021-06-27 04:52:41 +0200 | td_ | (~td@94.134.91.75) |
2021-06-27 04:57:12 +0200 | Morrow | (~MorrowM_@147.161.14.179) |
2021-06-27 04:57:29 +0200 | Guest79 | (~Guest79@202.83.104.81) |
2021-06-27 04:57:34 +0200 | geekosaur | (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
2021-06-27 04:57:37 +0200 | <hrnz> | I recommend using https://paste.xinu.at/eiUvJX/ with weechat |
2021-06-27 04:57:44 +0200 | geekosaur | (~geekosaur@xmonad/geekosaur) |
2021-06-27 04:58:05 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 04:59:06 +0200 | <jophish> | <shachaf "Matrix replies in IRC are the wo"> I guess there's no idiomatic way of replying to specific messages in plain IRC |
2021-06-27 04:59:12 +0200 | <jophish> | (doing it once more so I can see what it's like) |
2021-06-27 04:59:26 +0200 | <jophish> | oh, that's not too bad... |
2021-06-27 05:01:13 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 265 seconds) |
2021-06-27 05:01:33 +0200 | <shachaf> | It looks like you're attributing what you're saying to me. |
2021-06-27 05:02:57 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
2021-06-27 05:02:58 +0200 | <sm> | it could be refined a bit |
2021-06-27 05:03:16 +0200 | <sm> | but at least they keep it to one line now |
2021-06-27 05:06:00 +0200 | <jophish> | well, it's got a closing `>` |
2021-06-27 05:06:03 +0200 | <sm> | maybe it looks different in shachaf's irc client |
2021-06-27 05:06:49 +0200 | Guest79 | (~Guest79@202.83.104.81) (Quit: Client closed) |
2021-06-27 05:08:45 +0200 | derelict | (~derelict@user/derelict) (Ping timeout: 250 seconds) |
2021-06-27 05:08:59 +0200 | <nshepperd> | it's IRC convention for quotes to be rendered as "<bob> what bob said" (because that's how many clients render chat logs) |
2021-06-27 05:09:16 +0200 | <nshepperd> | using triangle brackets as a form of address is completely backward |
2021-06-27 05:09:47 +0200 | <nshepperd> | given that |
2021-06-27 05:11:31 +0200 | gregberns_ | (sid315709@id-315709.brockwell.irccloud.com) |
2021-06-27 05:14:01 +0200 | MorrowM | (~MorrowM_@147.161.9.139) |
2021-06-27 05:15:43 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
2021-06-27 05:15:56 +0200 | Morrow | (~MorrowM_@147.161.14.179) (Ping timeout: 252 seconds) |
2021-06-27 05:17:13 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 272 seconds) |
2021-06-27 05:23:31 +0200 | dyeplexer | (~dyeplexer@user/dyeplexer) |
2021-06-27 05:33:17 +0200 | pfurla | (~pfurla@ool-182ed2e2.dyn.optonline.net) (Quit: Textual IRC Client: www.textualapp.com) |
2021-06-27 05:33:41 +0200 | <qrpnxz> | TIL that haskell doesn't optimized by default RIP |
2021-06-27 05:33:55 +0200 | <qrpnxz> | i've been missing out man |
2021-06-27 05:34:42 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:c4e3:f231:bc2a:37da) (Remote host closed the connection) |
2021-06-27 05:36:19 +0200 | <qrpnxz> | ah fuck, it's a beast |
2021-06-27 05:36:58 +0200 | teaSlurper | (~chris@81.96.113.213) |
2021-06-27 05:37:16 +0200 | pfurla | (~pfurla@ool-182ed2e2.dyn.optonline.net) |
2021-06-27 05:40:31 +0200 | Lord_of_Life_ | (~Lord@user/lord-of-life/x-2819915) |
2021-06-27 05:40:51 +0200 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 265 seconds) |
2021-06-27 05:41:45 +0200 | Lord_of_Life_ | Lord_of_Life |
2021-06-27 05:45:48 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) |
2021-06-27 05:46:10 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 265 seconds) |
2021-06-27 05:48:00 +0200 | spicyrice | (~ubuntu@2600:1f11:52a:4400:ccbc:2b96:cabe:414b) |
2021-06-27 05:51:13 +0200 | teaSlurper | (~chris@81.96.113.213) (Ping timeout: 244 seconds) |
2021-06-27 05:54:09 +0200 | bontaq | (~user@ool-18e47f8d.dyn.optonline.net) (Remote host closed the connection) |
2021-06-27 06:02:40 +0200 | hendursaga | (~weechat@user/hendursaga) (Remote host closed the connection) |
2021-06-27 06:02:45 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 06:03:06 +0200 | hendursaga | (~weechat@user/hendursaga) |
2021-06-27 06:05:31 +0200 | sleym | (~sleym@209.58.128.51) |
2021-06-27 06:06:56 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
2021-06-27 06:08:17 +0200 | takuan | (~takuan@178-116-218-225.access.telenet.be) |
2021-06-27 06:09:47 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 272 seconds) |
2021-06-27 06:10:20 +0200 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 265 seconds) |
2021-06-27 06:11:57 +0200 | vicfred_ | (~vicfred@89.46.114.138) (Quit: Leaving) |
2021-06-27 06:13:37 +0200 | wei2912 | (~wei2912@112.199.250.21) |
2021-06-27 06:15:08 +0200 | slowButPresent | (~slowButPr@user/slowbutpresent) (Quit: leaving) |
2021-06-27 06:24:15 +0200 | TranquilEcho | (~grom@user/tranquilecho) (Quit: WeeChat 2.8) |
2021-06-27 06:24:29 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
2021-06-27 06:25:41 +0200 | stevenxl | (~stevenlei@174.128.182.184) |
2021-06-27 06:29:48 +0200 | img | (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
2021-06-27 06:30:13 +0200 | stevenxl | (~stevenlei@174.128.182.184) (Ping timeout: 250 seconds) |
2021-06-27 06:31:37 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
2021-06-27 06:32:05 +0200 | img | (~img@user/img) |
2021-06-27 06:36:15 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds) |
2021-06-27 06:37:24 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds) |
2021-06-27 06:49:13 +0200 | falafel | (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
2021-06-27 06:51:27 +0200 | raehik | (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 250 seconds) |
2021-06-27 06:55:22 +0200 | MorrowM | (~MorrowM_@147.161.9.139) (Ping timeout: 268 seconds) |
2021-06-27 06:57:40 +0200 | Reyu[M] | (~reyureyuz@matrix.reyuzenfold.com) (Remote host closed the connection) |
2021-06-27 06:58:22 +0200 | Reyu[M] | (~reyureyuz@matrix.reyuzenfold.com) |
2021-06-27 07:00:13 +0200 | fef | (~thedawn@user/thedawn) |
2021-06-27 07:01:43 +0200 | MorrowM | (~MorrowM_@147.161.9.139) |
2021-06-27 07:03:01 +0200 | machinedgod | (~machinedg@24.105.81.50) (Ping timeout: 265 seconds) |
2021-06-27 07:04:13 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 07:05:42 +0200 | falafel | (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 258 seconds) |
2021-06-27 07:06:29 +0200 | justsomeguy | (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.0.1) |
2021-06-27 07:23:47 +0200 | nerdypepper | (~nerdypepp@152.67.162.71) (Quit: bye) |
2021-06-27 07:27:04 +0200 | gabiruh_ | (~gabiruh@vps19177.publiccloud.com.br) |
2021-06-27 07:27:10 +0200 | gabiruh | (~gabiruh@vps19177.publiccloud.com.br) (Ping timeout: 258 seconds) |
2021-06-27 07:30:37 +0200 | Erutuon | (~Erutuon@user/erutuon) |
2021-06-27 07:35:03 +0200 | nerdypepper | (~nerdypepp@user/nerdypepper) |
2021-06-27 07:39:30 +0200 | rk04 | (~rk04@user/rajk) |
2021-06-27 07:42:38 +0200 | ubuntu | (~ubuntu@ec2-54-201-230-197.us-west-2.compute.amazonaws.com) |
2021-06-27 07:42:38 +0200 | ubuntu | eco |
2021-06-27 07:42:53 +0200 | alx741 | (~alx741@181.196.69.41) (Ping timeout: 272 seconds) |
2021-06-27 07:43:03 +0200 | AgentM | (~agentm@pool-162-83-130-212.nycmny.fios.verizon.net) (Quit: Leaving.) |
2021-06-27 07:45:13 +0200 | yauhsien | (~yauhsien@61-231-57-141.dynamic-ip.hinet.net) |
2021-06-27 07:46:05 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) |
2021-06-27 07:46:11 +0200 | <eco> | Are there ways to make ghc use less memory when compiling? Even just compiling lens on a 2GB VPS results in a linux kernel hang. |
2021-06-27 07:47:39 +0200 | Kaiepi | (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection) |
2021-06-27 07:47:40 +0200 | <c_wraith> | usually the major memory use is linking |
2021-06-27 07:47:58 +0200 | Kaiepi | (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) |
2021-06-27 07:54:01 +0200 | fef | (~thedawn@user/thedawn) (Leaving) |
2021-06-27 07:55:04 +0200 | rk04 | (~rk04@user/rajk) (Ping timeout: 252 seconds) |
2021-06-27 07:59:05 +0200 | gehmehgeh | (~user@user/gehmehgeh) |
2021-06-27 08:02:50 +0200 | matsurago | (~matsurago@nttkyo1534237.tkyo.nt.ngn.ppp.infoweb.ne.jp) |
2021-06-27 08:04:48 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 272 seconds) |
2021-06-27 08:07:07 +0200 | sleym | (~sleym@209.58.128.51) (Quit: sleym) |
2021-06-27 08:09:17 +0200 | <dsal> | eco: You're going to have a hard time without RAM. For that type of scenario, I tend to use cachix on nixos. |
2021-06-27 08:13:10 +0200 | sleym | (~sleym@209.58.128.51) |
2021-06-27 08:15:11 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2021-06-27 08:15:58 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 08:16:43 +0200 | Gurkenglas | (~Gurkengla@dslb-002-203-144-156.002.203.pools.vodafone-ip.de) |
2021-06-27 08:17:43 +0200 | sleym | (~sleym@209.58.128.51) (Ping timeout: 272 seconds) |
2021-06-27 08:25:35 +0200 | alx741 | (~alx741@181.196.69.41) |
2021-06-27 08:29:52 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) |
2021-06-27 08:33:22 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 08:33:40 +0200 | aman | (~aman@user/aman) |
2021-06-27 08:41:38 +0200 | falafel | (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
2021-06-27 08:43:27 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 258 seconds) |
2021-06-27 08:44:15 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 08:44:28 +0200 | aman | (~aman@user/aman) (Quit: aman) |
2021-06-27 08:55:20 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 258 seconds) |
2021-06-27 08:58:24 +0200 | falafel | (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 258 seconds) |
2021-06-27 08:59:25 +0200 | Topsi | (~Tobias@dyndsl-037-138-064-045.ewe-ip-backbone.de) |
2021-06-27 09:06:47 +0200 | Morrow_ | (~MorrowM_@147.161.9.139) |
2021-06-27 09:07:57 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
2021-06-27 09:11:06 +0200 | MorrowM | (~MorrowM_@147.161.9.139) (Ping timeout: 265 seconds) |
2021-06-27 09:13:16 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 09:15:11 +0200 | bitmapper | (uid464869@id-464869.tooting.irccloud.com) (Quit: Connection closed for inactivity) |
2021-06-27 09:17:38 +0200 | wroathe | (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds) |
2021-06-27 09:21:15 +0200 | n283 | (~jaredm@c-98-219-195-163.hsd1.pa.comcast.net) (Ping timeout: 265 seconds) |
2021-06-27 09:23:50 +0200 | acidjnk | (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) |
2021-06-27 09:26:31 +0200 | jneira_ | (~jneira_@131.red-79-155-1.dynamicip.rima-tde.net) (Quit: Ping timeout (120 seconds)) |
2021-06-27 09:32:00 +0200 | Erutuon | (~Erutuon@user/erutuon) (Ping timeout: 268 seconds) |
2021-06-27 09:32:04 +0200 | <qrpnxz> | I'm trying to do a parallel fold, but i'm getting some spooky unfusing where somehow where one computation finished before another even though they are both supposed to be happening in the same pass, and the result of both should happen at the same time. I suppose somehow the ghc could figure out that they are parallel, separate the computation, then actually like put them in separate coroutines and then s |
2021-06-27 09:32:05 +0200 | <qrpnxz> | omehow one finished first. But that sounds way too fancy. I got no other explanation though 😄️ |
2021-06-27 09:32:50 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 272 seconds) |
2021-06-27 09:33:21 +0200 | <sm[m]> | eco: -j1 to build one thing at a time. --ghc-options='+RTS -M1G -RTS' to encourage ghc to use that much heap |
2021-06-27 09:34:09 +0200 | wroathe | (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
2021-06-27 09:34:47 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 09:35:25 +0200 | a6a45081-2b83 | (~aditya@122.163.205.132) |
2021-06-27 09:35:43 +0200 | <a6a45081-2b83> | what is the technical name for operators such as (5+) or (*2)? |
2021-06-27 09:37:25 +0200 | <c_wraith> | "sections" is probably what you're looking for |
2021-06-27 09:38:09 +0200 | shutdown_-h_now | (~arjan@82-75-187-100.cable.dynamic.v4.ziggo.nl) (Ping timeout: 272 seconds) |
2021-06-27 09:38:39 +0200 | wroathe | (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 265 seconds) |
2021-06-27 09:40:31 +0200 | <a6a45081-2b83> | c_wraith: thanks! |
2021-06-27 09:40:42 +0200 | a6a45081-2b83 | (~aditya@122.163.205.132) (Quit: Konversation terminated!) |
2021-06-27 09:42:38 +0200 | tinwood | (~tinwood@canonical/tinwood) (Remote host closed the connection) |
2021-06-27 09:44:49 +0200 | bilegeek | (~bilegeek@2600:1008:b015:3e96:6f34:1a42:6ac5:3b86) (Quit: Leaving) |
2021-06-27 09:45:11 +0200 | shutdown_-h_now | (~arjan@82-75-187-100.cable.dynamic.v4.ziggo.nl) |
2021-06-27 09:45:40 +0200 | tinwood | (~tinwood@general.default.akavanagh.uk0.bigv.io) |
2021-06-27 09:45:40 +0200 | tinwood | (~tinwood@general.default.akavanagh.uk0.bigv.io) (Changing host) |
2021-06-27 09:45:40 +0200 | tinwood | (~tinwood@canonical/tinwood) |
2021-06-27 09:45:42 +0200 | delYsid | (~user@84-115-55-45.cable.dynamic.surfer.at) |
2021-06-27 09:46:26 +0200 | fendor | (~fendor@178.115.128.40.wireless.dyn.drei.com) |
2021-06-27 09:47:11 +0200 | <tomsmeding> | eco: no, add swap :p |
2021-06-27 09:47:13 +0200 | <delYsid> | How does haskell treat pattern matches of constant types passed to a function. I.e., say I have data Foo = Foo | Bar and a function f Foo = 1; f Bar = 2 Is calling "f Foo" somewhere equivalent to a function fFoo = 1, or does the matching happen at runtime? |
2021-06-27 09:47:34 +0200 | <tomsmeding> | there are some things you can try but in my experience, 2GB is just not enough |
2021-06-27 09:47:46 +0200 | <tomsmeding> | (for the heaviest packages like lens/aeson/vector) |
2021-06-27 09:48:09 +0200 | <c_wraith> | delYsid: when compiled with optimizations, that should be inlined/simplified at compile time |
2021-06-27 09:48:23 +0200 | <c_wraith> | delYsid: but to make sure, examine the core ghc generates |
2021-06-27 09:51:11 +0200 | gehmehgeh | (~user@user/gehmehgeh) (Quit: Leaving) |
2021-06-27 09:54:36 +0200 | myShoggoth | (~myShoggot@75.164.29.44) (Ping timeout: 252 seconds) |
2021-06-27 10:00:07 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Remote host closed the connection) |
2021-06-27 10:00:27 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 10:03:49 +0200 | Tuplanolla | (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) |
2021-06-27 10:04:17 +0200 | tzh | (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
2021-06-27 10:06:09 +0200 | hendursa1 | (~weechat@user/hendursaga) |
2021-06-27 10:09:12 +0200 | hendursaga | (~weechat@user/hendursaga) (Ping timeout: 244 seconds) |
2021-06-27 10:14:32 +0200 | tako | (~user@net-2-34-77-146.cust.vodafonedsl.it) |
2021-06-27 10:17:39 +0200 | tako | (~user@net-2-34-77-146.cust.vodafonedsl.it) () |
2021-06-27 10:17:52 +0200 | geekosaur | (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
2021-06-27 10:17:54 +0200 | allbery_b | (~geekosaur@xmonad/geekosaur) |
2021-06-27 10:18:21 +0200 | mikoto-chan | (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
2021-06-27 10:21:40 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
2021-06-27 10:23:22 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 10:23:47 +0200 | Feuermagier | (~Feuermagi@user/feuermagier) |
2021-06-27 10:33:13 +0200 | jakalx | (~jakalx@base.jakalx.net) () |
2021-06-27 10:33:29 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
2021-06-27 10:34:23 +0200 | laguneucl | (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) |
2021-06-27 10:34:37 +0200 | jakalx | (~jakalx@base.jakalx.net) |
2021-06-27 10:37:52 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 252 seconds) |
2021-06-27 10:38:13 +0200 | shachaf | (~shachaf@user/shachaf) (Quit: Reconnecting) |
2021-06-27 10:38:20 +0200 | shachaf_ | (~shachaf@li227-219.members.linode.com) |
2021-06-27 10:38:42 +0200 | shachaf_ | (~shachaf@li227-219.members.linode.com) (Changing host) |
2021-06-27 10:38:42 +0200 | shachaf_ | (~shachaf@user/shachaf) |
2021-06-27 10:39:09 +0200 | shachaf_ | shachaf |
2021-06-27 10:40:59 +0200 | dhil | (~dhil@195.213.192.47) |
2021-06-27 10:42:35 +0200 | zeenk | (~zeenk@2a02:2f04:a106:9600:82fb:aed9:ca9:38d3) |
2021-06-27 10:48:53 +0200 | fryguybob | (~fryguybob@cpe-74-65-31-113.rochester.res.rr.com) (*.net *.split) |
2021-06-27 10:48:53 +0200 | shane | (~shane@ana.rch.ist) (*.net *.split) |
2021-06-27 10:48:53 +0200 | Vq | (~vq@90-227-195-41-no77.tbcn.telia.com) (*.net *.split) |
2021-06-27 10:48:53 +0200 | tlax_ | (tlax@kapsi.fi) (*.net *.split) |
2021-06-27 10:48:53 +0200 | mmaruseacph2 | (~mihai@198.199.100.72) (*.net *.split) |
2021-06-27 10:48:53 +0200 | Hecate | (~mariposa@user/hecate) (*.net *.split) |
2021-06-27 10:48:53 +0200 | dmwit | (~dmwit@pool-96-255-233-247.washdc.fios.verizon.net) (*.net *.split) |
2021-06-27 10:48:53 +0200 | Chobbes | (~Chobbes@user/chobbes) (*.net *.split) |
2021-06-27 10:48:53 +0200 | kaol | (~kaol@178.62.241.234) (*.net *.split) |
2021-06-27 10:48:53 +0200 | Clint | (~Clint@user/clint) (*.net *.split) |
2021-06-27 10:48:53 +0200 | Eoco | (~ian@x-160-94-179-157.acm.umn.edu) (*.net *.split) |
2021-06-27 10:49:00 +0200 | shane | (~shane@ana.rch.ist) |
2021-06-27 10:49:00 +0200 | Hecate_ | (~mariposa@163.172.211.189) |
2021-06-27 10:49:00 +0200 | tlax | (tlax@kapsi.fi) |
2021-06-27 10:49:01 +0200 | Clint | (~Clint@user/clint) |
2021-06-27 10:49:03 +0200 | kaol_ | (~kaol@178.62.241.234) |
2021-06-27 10:49:04 +0200 | dmwit | (~dmwit@pool-96-255-233-247.washdc.fios.verizon.net) |
2021-06-27 10:49:05 +0200 | Vq | (~vq@90-227-195-41-no77.tbcn.telia.com) |
2021-06-27 10:49:07 +0200 | fryguybob | (~fryguybob@cpe-74-65-31-113.rochester.res.rr.com) |
2021-06-27 10:49:07 +0200 | mmaruseacph2 | (~mihai@198.199.100.72) |
2021-06-27 10:49:31 +0200 | Eoco | (~ian@x-160-94-179-157.acm.umn.edu) |
2021-06-27 10:49:42 +0200 | Chobbes | (~Chobbes@user/chobbes) |
2021-06-27 10:51:45 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) |
2021-06-27 10:52:19 +0200 | Hecate_ | Hecate |
2021-06-27 10:52:21 +0200 | Hecate | (~mariposa@163.172.211.189) (Changing host) |
2021-06-27 10:52:21 +0200 | Hecate | (~mariposa@user/hecate) |
2021-06-27 10:55:00 +0200 | hnOsmium0001 | (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity) |
2021-06-27 10:57:43 +0200 | jneira_ | (~jneira_@131.red-79-155-1.dynamicip.rima-tde.net) |
2021-06-27 11:00:31 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
2021-06-27 11:02:05 +0200 | bwe_ | (~bwe@2a01:4f8:1c1c:4878::2) |
2021-06-27 11:02:06 +0200 | opqdonut_ | (opqdonut@pseudo.fixme.fi) |
2021-06-27 11:02:06 +0200 | absence_ | (torgeihe@hildring.pvv.ntnu.no) |
2021-06-27 11:02:08 +0200 | mniip | (mniip@libera/staff/mniip) (*.net *.split) |
2021-06-27 11:02:09 +0200 | dolio | (~dolio@130.44.130.54) (*.net *.split) |
2021-06-27 11:02:09 +0200 | blades | (~blades@204.48.29.163) (*.net *.split) |
2021-06-27 11:02:09 +0200 | opqdonut | (opqdonut@pseudo.fixme.fi) (*.net *.split) |
2021-06-27 11:02:09 +0200 | edwardk | (sid47016@haskell/developer/edwardk) (*.net *.split) |
2021-06-27 11:02:09 +0200 | keltono | (~kelton@x-160-94-179-178.acm.umn.edu) (*.net *.split) |
2021-06-27 11:02:09 +0200 | mstruebing | (~maex@2001:41d0:8:93c7::1) (*.net *.split) |
2021-06-27 11:02:09 +0200 | bwe | (~bwe@2a01:4f8:1c1c:4878::2) (*.net *.split) |
2021-06-27 11:02:09 +0200 | joeyh | (~joeyh@kitenet.net) (*.net *.split) |
2021-06-27 11:02:09 +0200 | absence | (torgeihe@hildring.pvv.ntnu.no) (*.net *.split) |
2021-06-27 11:02:09 +0200 | tnks | (sid412124@id-412124.brockwell.irccloud.com) (*.net *.split) |
2021-06-27 11:02:10 +0200 | joeyh_ | (joeyh@kitenet.net) |
2021-06-27 11:02:11 +0200 | tnks_ | (sid412124@id-412124.brockwell.irccloud.com) |
2021-06-27 11:02:11 +0200 | edwardk_ | (sid47016@haskell/developer/edwardk) |
2021-06-27 11:02:13 +0200 | mniip_ | (mniip@libera/staff/mniip) |
2021-06-27 11:02:14 +0200 | codolio | (~dolio@130.44.130.54) |
2021-06-27 11:02:14 +0200 | maex | (~maex@2001:41d0:8:93c7::1) |
2021-06-27 11:02:15 +0200 | keltono | (~kelton@x-160-94-179-178.acm.umn.edu) |
2021-06-27 11:02:20 +0200 | blades | (~blades@204.48.29.163) |
2021-06-27 11:04:30 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
2021-06-27 11:04:33 +0200 | int-e | (~noone@int-e.eu) (Quit: leaving) |
2021-06-27 11:05:18 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 272 seconds) |
2021-06-27 11:06:50 +0200 | Morrow | (~MorrowM_@147.161.9.139) |
2021-06-27 11:06:56 +0200 | Morrow_ | (~MorrowM_@147.161.9.139) (Read error: Connection reset by peer) |
2021-06-27 11:07:18 +0200 | _ht | (~quassel@82-169-194-8.biz.kpn.net) |
2021-06-27 11:09:31 +0200 | int-e | (~noone@int-e.eu) |
2021-06-27 11:09:41 +0200 | phma | (phma@2001:5b0:210d:d028:4f8f:d565:65bb:29c2) (Read error: Connection reset by peer) |
2021-06-27 11:10:37 +0200 | phma | (phma@2001:5b0:210b:cb38:f3d6:7570:d8d:dd96) |
2021-06-27 11:12:06 +0200 | takuan | (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
2021-06-27 11:14:18 +0200 | mc47 | (~mc47@xmonad/TheMC47) |
2021-06-27 11:14:57 +0200 | zeenk | (~zeenk@2a02:2f04:a106:9600:82fb:aed9:ca9:38d3) (Read error: Connection reset by peer) |
2021-06-27 11:17:51 +0200 | xff0x | (~xff0x@2001:1a81:533e:6d00:fca2:116b:2879:8d6d) (Remote host closed the connection) |
2021-06-27 11:18:08 +0200 | xff0x | (~xff0x@2001:1a81:533e:6d00:b6fe:ee81:87af:f03c) |
2021-06-27 11:21:12 +0200 | mastarija | (~mastarija@31.217.22.187) |
2021-06-27 11:23:20 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 252 seconds) |
2021-06-27 11:24:01 +0200 | ukari | (~ukari@user/ukari) (Ping timeout: 250 seconds) |
2021-06-27 11:26:06 +0200 | ukari | (~ukari@user/ukari) |
2021-06-27 11:31:02 +0200 | Sgeo | (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
2021-06-27 11:37:34 +0200 | <qrpnxz> | ok i managed to do the parallel fold really nicely with arrows cool! |
2021-06-27 11:38:52 +0200 | gehmehgeh | (~user@user/gehmehgeh) |
2021-06-27 11:43:52 +0200 | mc47 | (~mc47@xmonad/TheMC47) (Ping timeout: 252 seconds) |
2021-06-27 11:44:26 +0200 | yoctocell | (~user@h87-96-130-155.cust.a3fiber.se) |
2021-06-27 11:48:15 +0200 | Meh | (~Meh@202.14.120.46) |
2021-06-27 11:48:38 +0200 | Meh | Guest5091 |
2021-06-27 11:50:53 +0200 | acidjnk | (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) (Ping timeout: 250 seconds) |
2021-06-27 11:51:20 +0200 | mniip_ | mniip |
2021-06-27 11:53:32 +0200 | allbery_b | (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
2021-06-27 11:53:44 +0200 | zeenk | (~zeenk@2a02:2f04:a106:9600:82fb:aed9:ca9:38d3) |
2021-06-27 11:53:52 +0200 | geekosaur | (~geekosaur@xmonad/geekosaur) |
2021-06-27 11:53:52 +0200 | img | (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
2021-06-27 11:55:25 +0200 | img | (~img@user/img) |
2021-06-27 11:55:51 +0200 | img | (~img@user/img) (Client Quit) |
2021-06-27 11:55:55 +0200 | acidjnk | (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) |
2021-06-27 11:58:39 +0200 | img | (~img@user/img) |
2021-06-27 11:59:18 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
2021-06-27 12:00:10 +0200 | img | (~img@user/img) (Client Quit) |
2021-06-27 12:01:53 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
2021-06-27 12:03:01 +0200 | img | (~img@user/img) |
2021-06-27 12:03:46 +0200 | xsperry | (~as@user/xsperry) (Remote host closed the connection) |
2021-06-27 12:04:33 +0200 | <zzz> | what does safe mean in 'instance [safe] Monad (State s)' ? |
2021-06-27 12:05:03 +0200 | madep | (~madep@ptr-823eojuutabnmmm63sa.18120a2.ip6.access.telenet.be) |
2021-06-27 12:06:59 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 272 seconds) |
2021-06-27 12:07:01 +0200 | Guest5091 | (~Meh@202.14.120.46) (Quit: Connection closed) |
2021-06-27 12:12:23 +0200 | madep | (~madep@ptr-823eojuutabnmmm63sa.18120a2.ip6.access.telenet.be) (Quit: Client closed) |
2021-06-27 12:15:19 +0200 | <int-e> | Apparently it means that the instance was defined in a Safe module, which affects resolving overlapping instances in Safe mode: https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/Core/InstEnv.hs#L917-926 |
2021-06-27 12:18:20 +0200 | Morrow | (~MorrowM_@147.161.9.139) (Ping timeout: 252 seconds) |
2021-06-27 12:20:53 +0200 | jakalx | (~jakalx@base.jakalx.net) (Error from remote client) |
2021-06-27 12:21:11 +0200 | oxide | (~lambda@user/oxide) |
2021-06-27 12:30:24 +0200 | mastarija | (~mastarija@31.217.22.187) (Ping timeout: 272 seconds) |
2021-06-27 12:31:51 +0200 | mastarija | (~mastarija@31.217.22.187) |
2021-06-27 12:34:04 +0200 | <juri_> | so, i've come to the conclusion that stan is very good for forcing you to handle error conditions with error. |
2021-06-27 12:34:15 +0200 | xsperry | (~as@user/xsperry) |
2021-06-27 12:35:44 +0200 | jakalx | (~jakalx@base.jakalx.net) |
2021-06-27 12:35:58 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 12:39:53 +0200 | <zzz> | int-e: thans |
2021-06-27 12:41:21 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
2021-06-27 12:41:24 +0200 | <zzz> | so should i be using Control.Monad.State instead of State? |
2021-06-27 12:42:53 +0200 | <zzz> | really confusing to have a safe tag for "code that is untrusted by the ghc user" |
2021-06-27 12:45:07 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2021-06-27 12:45:09 +0200 | waleee | (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) |
2021-06-27 12:53:01 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Remote host closed the connection) |
2021-06-27 12:53:20 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
2021-06-27 12:54:59 +0200 | hegstal | (~hegstal@2a02:c7f:7604:8a00:c6b4:633:2502:e963) |
2021-06-27 12:59:41 +0200 | Meh | (~Meh@202.14.120.46) |
2021-06-27 13:00:05 +0200 | Meh | Guest3668 |
2021-06-27 13:00:14 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 13:00:24 +0200 | Guest3668 | (~Meh@202.14.120.46) (Client Quit) |
2021-06-27 13:07:27 +0200 | hendursa1 | (~weechat@user/hendursaga) (Ping timeout: 244 seconds) |
2021-06-27 13:09:21 +0200 | <int-e> | zzz: Well, the safety is ensured by the compiler. It's a matter of perspective. (One of my favorite definitions from security is "a trusted system is a system that can break security") |
2021-06-27 13:10:09 +0200 | hendursa1 | (~weechat@user/hendursaga) |
2021-06-27 13:12:44 +0200 | Topsi | (~Tobias@dyndsl-037-138-064-045.ewe-ip-backbone.de) (Read error: Connection reset by peer) |
2021-06-27 13:13:14 +0200 | pretty_dumm_guy | (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
2021-06-27 13:14:06 +0200 | mastarija | (~mastarija@31.217.22.187) (Ping timeout: 272 seconds) |
2021-06-27 13:14:11 +0200 | <qrpnxz> | what does it mean that there's a tilde before a tuple in parameter lists? e.g. swap ~(x, y) = (y, x) |
2021-06-27 13:17:02 +0200 | img | (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
2021-06-27 13:18:35 +0200 | img | (~img@user/img) |
2021-06-27 13:18:56 +0200 | <Rembane> | qrpnxz: It's a lazy pattern match, with all it entails. :) |
2021-06-27 13:19:18 +0200 | <qrpnxz> | hmm, ok. i guess that term is easier to google |
2021-06-27 13:19:32 +0200 | jneira_ | (~jneira_@131.red-79-155-1.dynamicip.rima-tde.net) (Ping timeout: 265 seconds) |
2021-06-27 13:19:40 +0200 | <Rembane> | qrpnxz: There's a Haskell wiki page about it: https://wiki.haskell.org/Lazy_pattern_match |
2021-06-27 13:20:46 +0200 | <qrpnxz> | mm, nice |
2021-06-27 13:23:01 +0200 | matsurago | (~matsurago@nttkyo1534237.tkyo.nt.ngn.ppp.infoweb.ne.jp) (Quit: Leaving) |
2021-06-27 13:28:36 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 13:33:23 +0200 | mastarija | (~mastarija@31.217.22.187) |
2021-06-27 13:34:58 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
2021-06-27 13:46:23 +0200 | derelict | (~derelict@user/derelict) |
2021-06-27 13:48:35 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Remote host closed the connection) |
2021-06-27 13:48:50 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
2021-06-27 13:53:08 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 272 seconds) |
2021-06-27 13:55:52 +0200 | tremon | (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) |
2021-06-27 14:03:34 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
2021-06-27 14:06:03 +0200 | notzmv | (~zmv@user/notzmv) (Ping timeout: 272 seconds) |
2021-06-27 14:08:35 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 272 seconds) |
2021-06-27 14:11:01 +0200 | <zzz> | qrpnxz: "irrefutable patterns" |
2021-06-27 14:13:33 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 268 seconds) |
2021-06-27 14:17:31 +0200 | Nahra | (~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection) |
2021-06-27 14:18:27 +0200 | sedeki | (~textual@user/sedeki) |
2021-06-27 14:19:50 +0200 | cross | (~cross@spitfire.i.gajendra.net) (Quit: leaving) |
2021-06-27 14:20:28 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
2021-06-27 14:22:22 +0200 | sedeki | (~textual@user/sedeki) (Client Quit) |
2021-06-27 14:23:25 +0200 | waleee | (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 250 seconds) |
2021-06-27 14:23:32 +0200 | cross | (~cross@spitfire.i.gajendra.net) |
2021-06-27 14:25:23 +0200 | mastarija | (~mastarija@31.217.22.187) (Quit: Leaving) |
2021-06-27 14:25:53 +0200 | mastarija | (~mastarija@31.217.22.187) |
2021-06-27 14:25:58 +0200 | jakalx | (~jakalx@base.jakalx.net) (Error from remote client) |
2021-06-27 14:27:21 +0200 | mastarija | (~mastarija@31.217.22.187) (Client Quit) |
2021-06-27 14:28:55 +0200 | Morrow | (~MorrowM_@147.161.9.139) |
2021-06-27 14:31:04 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 265 seconds) |
2021-06-27 14:34:56 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
2021-06-27 14:35:12 +0200 | jakalx | (~jakalx@base.jakalx.net) |
2021-06-27 14:35:13 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
2021-06-27 14:36:08 +0200 | cross | (~cross@spitfire.i.gajendra.net) (Quit: leaving) |
2021-06-27 14:37:15 +0200 | cross | (~cross@spitfire.i.gajendra.net) |
2021-06-27 14:37:39 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 14:38:38 +0200 | cross | (~cross@spitfire.i.gajendra.net) (Client Quit) |
2021-06-27 14:38:57 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
2021-06-27 14:39:38 +0200 | cross | (~cross@spitfire.i.gajendra.net) |
2021-06-27 14:40:14 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 272 seconds) |
2021-06-27 14:54:29 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) |
2021-06-27 14:54:49 +0200 | acidjnk | (~acidjnk@p200300d0c72b9515dd29d5fa98a40466.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
2021-06-27 14:56:57 +0200 | mastarija | (~mastarija@31.217.22.187) |
2021-06-27 14:57:14 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
2021-06-27 15:01:07 +0200 | Nahra | (~user@static.161.95.99.88.clients.your-server.de) |
2021-06-27 15:01:32 +0200 | ph88^ | (~ph88@2a02:8109:9e00:7e5c:413d:a4c8:b301:6764) (Ping timeout: 272 seconds) |
2021-06-27 15:01:59 +0200 | Guest33 | (~textual@c-107-4-204-12.hsd1.mn.comcast.net) |
2021-06-27 15:07:19 +0200 | hexfive | (~eric@50.35.83.177) |
2021-06-27 15:12:28 +0200 | hexfive | (~eric@50.35.83.177) (Quit: WeeChat 3.0) |
2021-06-27 15:15:15 +0200 | neo | (~neo3@cpe-292712.ip.primehome.com) |
2021-06-27 15:17:20 +0200 | Morrow | (~MorrowM_@147.161.9.139) (Ping timeout: 268 seconds) |
2021-06-27 15:19:09 +0200 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
2021-06-27 15:19:33 +0200 | laguneucl | (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) (Ping timeout: 244 seconds) |
2021-06-27 15:30:53 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 15:30:57 +0200 | machinedgod | (~machinedg@24.105.81.50) |
2021-06-27 15:32:54 +0200 | PotatoGim_ | (sid99505@id-99505.tooting.irccloud.com) () |
2021-06-27 15:33:21 +0200 | Deide | (~Deide@user/deide) |
2021-06-27 15:33:29 +0200 | PotatoGim | (sid99505@id-99505.tooting.irccloud.com) |
2021-06-27 15:34:35 +0200 | neo | (~neo3@cpe-292712.ip.primehome.com) (Quit: Leaving) |
2021-06-27 15:36:07 +0200 | neo | (~neo3@cpe-292712.ip.primehome.com) |
2021-06-27 15:44:31 +0200 | chronon | (~chronon@user/chronon) (Quit: leaving) |
2021-06-27 15:44:55 +0200 | chronon | (~chronon@user/chronon) |
2021-06-27 15:47:15 +0200 | acidjnk | (~acidjnk@p200300d0c72b95464c5b890fdc644af0.dip0.t-ipconnect.de) |
2021-06-27 15:48:11 +0200 | awth13` | (~user@185.209.196.143) |
2021-06-27 15:48:25 +0200 | awth13` | (~user@185.209.196.143) (Remote host closed the connection) |
2021-06-27 15:48:35 +0200 | awth13 | (~user@user/awth13) (Read error: Connection reset by peer) |
2021-06-27 15:48:47 +0200 | awth13` | (~user@185.209.196.143) |
2021-06-27 15:49:29 +0200 | slowButPresent | (~slowButPr@user/slowbutpresent) |
2021-06-27 15:49:57 +0200 | awth13` | awth13 |
2021-06-27 15:50:02 +0200 | awth13 | (~user@185.209.196.143) (Client Quit) |
2021-06-27 15:50:23 +0200 | awth13 | (~user@user/awth13) |
2021-06-27 15:50:29 +0200 | stevenxl | (~stevenlei@174.128.182.100) |
2021-06-27 15:51:36 +0200 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds) |
2021-06-27 15:57:26 +0200 | ph88^ | (~ph88@2a02:8109:9e00:7e5c:6024:1b36:f949:e91) |
2021-06-27 16:03:51 +0200 | notzmv | (~zmv@user/notzmv) |
2021-06-27 16:04:56 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
2021-06-27 16:05:10 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
2021-06-27 16:09:09 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 250 seconds) |
2021-06-27 16:09:29 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
2021-06-27 16:09:44 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 16:14:59 +0200 | fendor | (~fendor@178.115.128.40.wireless.dyn.drei.com) (Ping timeout: 265 seconds) |
2021-06-27 16:15:21 +0200 | norias | (~jaredm@c-98-219-195-163.hsd1.pa.comcast.net) |
2021-06-27 16:17:13 +0200 | kaol_ | kaol |
2021-06-27 16:24:41 +0200 | teaSlurper | (~chris@81.96.113.213) |
2021-06-27 16:26:39 +0200 | chris_ | (~chris@81.96.113.213) |
2021-06-27 16:26:39 +0200 | teaSlurper | (~chris@81.96.113.213) (Read error: Connection reset by peer) |
2021-06-27 16:26:39 +0200 | awth13 | (~user@user/awth13) (Read error: Connection reset by peer) |
2021-06-27 16:34:17 +0200 | Morrow | (~MorrowM_@147.161.9.139) |
2021-06-27 16:36:25 +0200 | wei2912 | (~wei2912@112.199.250.21) (Quit: Lost terminal) |
2021-06-27 16:37:13 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
2021-06-27 16:38:15 +0200 | raehik | (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
2021-06-27 16:42:10 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds) |
2021-06-27 16:42:12 +0200 | HotblackDesiato | (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in) |
2021-06-27 16:42:40 +0200 | HotblackDesiato | (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
2021-06-27 16:44:21 +0200 | HotblackDesiato | (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Remote host closed the connection) |
2021-06-27 16:44:46 +0200 | HotblackDesiato | (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
2021-06-27 16:44:50 +0200 | HotblackDesiato | (~HotblackD@gateway/tor-sasl/hotblackdesiato) (Remote host closed the connection) |
2021-06-27 16:52:22 +0200 | warnz | (~warnz@104-55-100-55.lightspeed.lsvlky.sbcglobal.net) |
2021-06-27 16:53:14 +0200 | stevenxl | (~stevenlei@174.128.182.100) (Ping timeout: 272 seconds) |
2021-06-27 16:53:52 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 272 seconds) |
2021-06-27 16:54:17 +0200 | HotblackDesiato | (~HotblackD@gateway/tor-sasl/hotblackdesiato) |
2021-06-27 16:55:08 +0200 | AgentM | (~agentm@pool-162-83-130-212.nycmny.fios.verizon.net) |
2021-06-27 16:57:03 +0200 | lavaman | (~lavaman@98.38.249.169) (Remote host closed the connection) |
2021-06-27 16:58:50 +0200 | notzmv | (~zmv@user/notzmv) (Ping timeout: 252 seconds) |
2021-06-27 16:59:12 +0200 | mikoto-chan | (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Ping timeout: 252 seconds) |
2021-06-27 17:00:18 +0200 | nate1 | (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
2021-06-27 17:02:05 +0200 | warnz | (~warnz@104-55-100-55.lightspeed.lsvlky.sbcglobal.net) (Remote host closed the connection) |
2021-06-27 17:02:24 +0200 | tzh | (~tzh@c-24-21-73-154.hsd1.or.comcast.net) |
2021-06-27 17:05:16 +0200 | nate1 | (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds) |
2021-06-27 17:06:02 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
2021-06-27 17:06:27 +0200 | mikoto-chan | (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
2021-06-27 17:07:11 +0200 | machinedgod | (~machinedg@24.105.81.50) (Ping timeout: 265 seconds) |
2021-06-27 17:11:27 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
2021-06-27 17:12:55 +0200 | smitop | (~smitop@user/smitop) (Quit: Ping timeout (120 seconds)) |
2021-06-27 17:13:30 +0200 | mastarija | (~mastarija@31.217.22.187) (Ping timeout: 252 seconds) |
2021-06-27 17:13:34 +0200 | smitop | (~smitop@user/smitop) |
2021-06-27 17:16:02 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 272 seconds) |
2021-06-27 17:16:13 +0200 | fef | (~thedawn@user/thedawn) |
2021-06-27 17:17:49 +0200 | MorrowM | (~MorrowM_@147.161.9.239) |
2021-06-27 17:18:19 +0200 | MorrowM | (~MorrowM_@147.161.9.239) (Read error: Connection reset by peer) |
2021-06-27 17:18:35 +0200 | MorrowM | (~MorrowM_@147.161.9.239) |
2021-06-27 17:19:47 +0200 | Morrow | (~MorrowM_@147.161.9.139) (Ping timeout: 268 seconds) |
2021-06-27 17:21:46 +0200 | mikoto-chan | (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Read error: No route to host) |
2021-06-27 17:22:42 +0200 | mikoto-chan | (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
2021-06-27 17:27:25 +0200 | GIANTWORLDKEEPER | (~pjetcetal@2.95.227.207) (Quit: EXIT) |
2021-06-27 17:27:35 +0200 | lavaman | (~lavaman@98.38.249.169) |
2021-06-27 17:28:15 +0200 | <heath> | slack |
2021-06-27 17:28:19 +0200 | <heath> | womp :) |
2021-06-27 17:32:19 +0200 | lavaman | (~lavaman@98.38.249.169) (Ping timeout: 265 seconds) |
2021-06-27 17:36:02 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
2021-06-27 17:36:10 +0200 | jumper149 | (~jumper149@80.240.31.34) |
2021-06-27 17:37:36 +0200 | Nahra | (~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection) |
2021-06-27 17:39:30 +0200 | v01d4lph4 | (~v01d4lph4@user/v01d4lph4) |
2021-06-27 17:41:22 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
2021-06-27 17:41:36 +0200 | mastarija | (~mastarija@31.217.22.187) |
2021-06-27 17:45:04 +0200 | MorrowM | (~MorrowM_@147.161.9.239) (Ping timeout: 268 seconds) |
2021-06-27 17:45:46 +0200 | Chooch | (~Cakeface@216.162.110.89) |
2021-06-27 17:48:28 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Remote host closed the connection) |
2021-06-27 17:49:22 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
2021-06-27 17:53:25 +0200 | acidjnk | (~acidjnk@p200300d0c72b95464c5b890fdc644af0.dip0.t-ipconnect.de) (Ping timeout: 272 seconds) |
2021-06-27 17:53:35 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 250 seconds) |
2021-06-27 17:55:58 +0200 | pretty_dumm_guy | (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3-dev) |
2021-06-27 18:00:36 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 18:01:00 +0200 | lavaman | (~lavaman@98.38.249.169) |
2021-06-27 18:03:02 +0200 | mc47 | (~mc47@xmonad/TheMC47) |
2021-06-27 18:03:25 +0200 | sekun | (~sekun@180.190.208.125) |
2021-06-27 18:03:38 +0200 | mc47 | (~mc47@xmonad/TheMC47) (Client Quit) |
2021-06-27 18:03:41 +0200 | <sekun> | Anyone know if this is any good? https://academy.mondaymorninghaskell.com/p/practical-haskell |
2021-06-27 18:03:52 +0200 | <sekun> | There are no reviews for that. Hard to really gauge if the $297 is worth it |
2021-06-27 18:06:02 +0200 | lavaman | (~lavaman@98.38.249.169) (Ping timeout: 268 seconds) |
2021-06-27 18:06:34 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
2021-06-27 18:07:39 +0200 | <[exa]> | sekun: I've heard mixed opinions on that here |
2021-06-27 18:07:55 +0200 | mikoto-chan | (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Read error: No route to host) |
2021-06-27 18:08:40 +0200 | <[exa]> | imo you can get more practical haskell just by idling here :D |
2021-06-27 18:08:40 +0200 | shredder | (~user@user/shredder) (Quit: quitting) |
2021-06-27 18:08:52 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 18:08:59 +0200 | shredder | (~user@user/shredder) |
2021-06-27 18:09:29 +0200 | <[exa]> | OTOH if you need to jump to industry and start spewing servant apps with elm frontends ASAP, $300 ain't that much, right? |
2021-06-27 18:10:57 +0200 | <[exa]> | (kinda wondering about the added value above the standard tutorials of the libraries referenced there) |
2021-06-27 18:11:09 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) (Ping timeout: 272 seconds) |
2021-06-27 18:11:39 +0200 | <sekun> | hmmm yeah i think that's a good point |
2021-06-27 18:12:12 +0200 | <sekun> | i do try to idle here hahah sometimes i forget to open hexchat |
2021-06-27 18:12:33 +0200 | <[exa]> | sekun: anything specific you need to learn btw? |
2021-06-27 18:12:56 +0200 | Chooch | (~Cakeface@216.162.110.89) (Leaving) |
2021-06-27 18:13:45 +0200 | <sekun> | it's pretty much elm + servant, or elm + scotty if none exist. just wanna try out making somewhat useful to experiment |
2021-06-27 18:14:35 +0200 | <sekun> | i noticed materials about building (and finishing) a simple app (db, front-end, back-end) don't exist |
2021-06-27 18:15:02 +0200 | <sekun> | at least, not easily accessible without shelling out money for books and whatnot |
2021-06-27 18:16:35 +0200 | acarrico | (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) |
2021-06-27 18:17:06 +0200 | fendor | (~fendor@178.165.168.249.wireless.dyn.drei.com) |
2021-06-27 18:17:20 +0200 | <[exa]> | well, everyone kinda assumes that hs programmers have already tried that in other languages and don't need guidance on what should do what |
2021-06-27 18:17:33 +0200 | <sekun> | ah that makes a lot of sense |
2021-06-27 18:17:42 +0200 | <[exa]> | which is bad for tutorials right. :D |
2021-06-27 18:18:21 +0200 | <[exa]> | so technically it boils down to design of the "glue parts", ie. API and SQL queries |
2021-06-27 18:18:26 +0200 | <[exa]> | (and well, schema) |
2021-06-27 18:18:46 +0200 | Nahra | (~user@static.161.95.99.88.clients.your-server.de) |
2021-06-27 18:18:53 +0200 | Guest33 | (~textual@c-107-4-204-12.hsd1.mn.comcast.net) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2021-06-27 18:19:04 +0200 | <[exa]> | once you get these, just following scotty + selda + elm tutorial should be pretty easy |
2021-06-27 18:20:27 +0200 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
2021-06-27 18:21:18 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Remote host closed the connection) |
2021-06-27 18:21:32 +0200 | MQ-17J | (~MQ-17J@8.21.10.15) |
2021-06-27 18:22:46 +0200 | <sekun> | i was wondering why they named it selda, if it had any reference to legend of zelda. turns out yeah |
2021-06-27 18:22:55 +0200 | <sekun> | cool looks like a thin sql wrapper |
2021-06-27 18:23:10 +0200 | <sekun> | i'll check it out |
2021-06-27 18:23:22 +0200 | TranquilEcho | (~grom@user/tranquilecho) |
2021-06-27 18:23:28 +0200 | <sekun> | i'll probably abstain from purchasing that for now and see if i can fumble my way to something functional |
2021-06-27 18:23:46 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
2021-06-27 18:24:38 +0200 | <sekun> | i usually see you online every time i hop on here hahah |
2021-06-27 18:26:02 +0200 | mastarija | (~mastarija@31.217.22.187) (Ping timeout: 268 seconds) |
2021-06-27 18:32:09 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 250 seconds) |
2021-06-27 18:34:11 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 265 seconds) |
2021-06-27 18:34:32 +0200 | fef | (~thedawn@user/thedawn) (Quit: Leaving) |
2021-06-27 18:34:58 +0200 | bitmapper | (uid464869@id-464869.tooting.irccloud.com) |
2021-06-27 18:35:01 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
2021-06-27 18:35:09 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 18:35:12 +0200 | sekun | (~sekun@180.190.208.125) (Ping timeout: 272 seconds) |
2021-06-27 18:36:43 +0200 | chomwitt | (~Pitsikoko@athedsl-16082.home.otenet.gr) |
2021-06-27 18:43:01 +0200 | hnOsmium0001 | (uid453710@id-453710.stonehaven.irccloud.com) |
2021-06-27 18:43:28 +0200 | brandonh | (~brandonh@151.46.93.174) |
2021-06-27 18:45:21 +0200 | ikex1 | (ash@user/ikex) |
2021-06-27 18:45:53 +0200 | <c_wraith> | oh yeah. I wanted to try out rel8. But... I don't actually have a database. Makes it awkward. |
2021-06-27 18:46:45 +0200 | ikex | (ash@user/ikex) (Ping timeout: 265 seconds) |
2021-06-27 18:46:45 +0200 | ikex1 | ikex |
2021-06-27 18:46:50 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
2021-06-27 18:47:18 +0200 | <sm[m]> | @sekun:libera.chat: have you read the yesod book ? |
2021-06-27 18:47:18 +0200 | <lambdabot> | Unknown command, try @list |
2021-06-27 18:47:21 +0200 | MorrowM | (~MorrowM_@bzq-110-168-31-106.red.bezeqint.net) |
2021-06-27 18:49:11 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
2021-06-27 18:49:32 +0200 | <sm[m]> | also IHP probably has a nice tutorial; also there have been random posts describing full real world web apps which are a bit hard to find of course |
2021-06-27 18:50:26 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
2021-06-27 18:51:26 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 272 seconds) |
2021-06-27 18:51:43 +0200 | brandonh | (~brandonh@151.46.93.174) (Quit: brandonh) |
2021-06-27 18:55:10 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
2021-06-27 18:55:47 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
2021-06-27 18:57:57 +0200 | eggplantade | (~Eggplanta@2600:1700:bef1:5e10:7930:a54c:f178:5c1a) |
2021-06-27 18:59:38 +0200 | <dminuoso> | c_wraith: Nobody is going to convince me that their "fancy pants SQL abstraction is better than SQL" |
2021-06-27 18:59:54 +0200 | notzmv | (~zmv@user/notzmv) |
2021-06-27 19:01:00 +0200 | <c_wraith> | I don't "better than SQL". I want convenient for common cases and easy enough to switch to SQL outside of them. |
2021-06-27 19:01:41 +0200 | <dminuoso> | The overhead of learning "a completely custom and strange abstraction" usually beats using SQL that you already know. |
2021-06-27 19:01:55 +0200 | <c_wraith> | the big thing I want library support for, especially in Haskell, is marshalling query parameters and unmarshalling results. |
2021-06-27 19:02:00 +0200 | <dminuoso> | I find that with these database layers you end up studying these DSLs to know how to make them spit out the SQL query you already have in your mind |
2021-06-27 19:02:16 +0200 | <dminuoso> | Well, all the -simple libraries give you that. |
2021-06-27 19:02:25 +0200 | <c_wraith> | very painfully |
2021-06-27 19:02:43 +0200 | <c_wraith> | I want something join-aware |
2021-06-27 19:02:45 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
2021-06-27 19:02:59 +0200 | <dminuoso> | The main selling point of rel8 and friends is that it propagates the schema types throughout the type system, right through queries. |
2021-06-27 19:03:08 +0200 | <Rembane> | dminuoso: Does it work? |
2021-06-27 19:03:24 +0200 | <dminuoso> | Im sure it does, there's a few haskell libraries that do |
2021-06-27 19:03:40 +0200 | <dminuoso> | But the price is that you have to use an exotic eDSL |
2021-06-27 19:03:51 +0200 | <dminuoso> | Maybe this is the place where TH would be ideal |
2021-06-27 19:04:06 +0200 | <Rembane> | That's potentially painful. I'll have to take a look at rel8 some day. |
2021-06-27 19:04:11 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
2021-06-27 19:04:28 +0200 | lavaman | (~lavaman@98.38.249.169) |
2021-06-27 19:04:46 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) |
2021-06-27 19:05:00 +0200 | <boxscape> | could one make/does there exist a library where you write a native SQL query in a quasiquote and it typechecks that? |
2021-06-27 19:05:08 +0200 | <boxscape> | or is there something I'm not thinking of preventing that from existing? |
2021-06-27 19:05:11 +0200 | <c_wraith> | thats the thing about rel8. it's not an exotic DSL. it's a normal Haskell DSL |
2021-06-27 19:05:25 +0200 | <dminuoso> | boxscape: That's sort of what I was proposing. You'd need at least TH power for that. |
2021-06-27 19:05:25 +0200 | <boxscape> | (I haven't really used quasiquotes) |
2021-06-27 19:05:30 +0200 | <boxscape> | ah, okay |
2021-06-27 19:05:55 +0200 | <c_wraith> | quasiquotes are essentially String -> Q Exp |
2021-06-27 19:05:58 +0200 | <dminuoso> | boxscape: QQ gives you simple `String -> AST` functions. |
2021-06-27 19:06:03 +0200 | <dminuoso> | That GHC knows to splice |
2021-06-27 19:06:06 +0200 | <dminuoso> | They cant do anything else |
2021-06-27 19:06:18 +0200 | <boxscape> | right, okay |
2021-06-27 19:06:19 +0200 | <c_wraith> | or Q [Decl], in that context. |
2021-06-27 19:06:47 +0200 | <c_wraith> | well, they can run arbitrary IO code at compile time. |
2021-06-27 19:06:52 +0200 | <dminuoso> | QQ can? |
2021-06-27 19:07:01 +0200 | <c_wraith> | the Q monad can |
2021-06-27 19:07:50 +0200 | <dminuoso> | Though, I guess, perhaps parametrized QQs could be used.. |
2021-06-27 19:07:55 +0200 | <c_wraith> | so they can validate your query against the database, if they're set up that way. |
2021-06-27 19:08:12 +0200 | mpt | (~tom@2001:41b8:83c:fa01:9f51:88b4:dd95:965a) |
2021-06-27 19:08:21 +0200 | <dminuoso> | Maybe this is actually something worth exploring |
2021-06-27 19:08:22 +0200 | <c_wraith> | that has a lot of problems that basically match the benefits, unfortunately |
2021-06-27 19:09:00 +0200 | mikoto-chan | (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
2021-06-27 19:09:28 +0200 | <c_wraith> | (do you want compiling to need a running database? how do you handle migrations? etc) |
2021-06-27 19:10:29 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
2021-06-27 19:11:08 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
2021-06-27 19:11:40 +0200 | charukiewicz_ | (~quassel@irouteince04.i.subnet.rcn.com) |
2021-06-27 19:12:20 +0200 | charukiewicz | (~quassel@irouteince04.i.subnet.rcn.com) (Ping timeout: 272 seconds) |
2021-06-27 19:12:38 +0200 | neo | (~neo3@cpe-292712.ip.primehome.com) (Quit: Leaving) |
2021-06-27 19:13:00 +0200 | neo | (~neo3@cpe-292712.ip.primehome.com) |
2021-06-27 19:14:26 +0200 | wallymathieu | (~wallymath@81-234-151-21-no94.tbcn.telia.com) |
2021-06-27 19:18:11 +0200 | xff0x | (~xff0x@2001:1a81:533e:6d00:b6fe:ee81:87af:f03c) (Ping timeout: 268 seconds) |
2021-06-27 19:18:34 +0200 | xff0x | (~xff0x@2001:1a81:533e:6d00:c133:b997:3ccf:96a0) |
2021-06-27 19:19:49 +0200 | brandonh | (~brandonh@151.82.33.7) |
2021-06-27 19:21:16 +0200 | ph88 | (~ph88@2a02:8109:9e00:7e5c:7c55:3c65:74e1:3dc5) (Ping timeout: 268 seconds) |
2021-06-27 19:23:38 +0200 | LukeHoersten | (~LukeHoers@user/lukehoersten) |
2021-06-27 19:24:37 +0200 | mpt | (~tom@2001:41b8:83c:fa01:9f51:88b4:dd95:965a) (Ping timeout: 272 seconds) |
2021-06-27 19:27:28 +0200 | lavaman | (~lavaman@98.38.249.169) (Remote host closed the connection) |
2021-06-27 19:28:24 +0200 | <dminuoso> | c_wraith: It might not need a running database. |
2021-06-27 19:28:35 +0200 | <dminuoso> | Generally it would be enough to just have schema specifications |
2021-06-27 19:28:45 +0200 | <dminuoso> | And some startup glue code that ensures the codified schema and the database match |
2021-06-27 19:32:34 +0200 | <Gurkenglas> | Is there a variant of Monad m where (>>=) is m s t a -> (a -> m t o b) -> m s o b? Does it have its own do notation? |
2021-06-27 19:34:05 +0200 | <shachaf> | Yes, this is called "indexed monad". |
2021-06-27 19:34:40 +0200 | <shachaf> | GHC lets you overload do notation already, so I think it works with indexed monads if you define it. |
2021-06-27 19:34:55 +0200 | <zzz> | what's the elegant way of doing something like multiple inserts on a Map? |
2021-06-27 19:36:32 +0200 | <Gurkenglas> | oh yes right i saw this once! neat. (i was reading a book on category theory and it said an adjunction induces a monad and i went "huh, State s is induced that way and (s,) adjoint (s->) but can i find a way to call that adjunction natural in s and can i transport this to the state monad?") |
2021-06-27 19:37:23 +0200 | <Gurkenglas> | and yeah https://kseo.github.io/posts/2017-01-12-indexed-monads.html gives it do notation |
2021-06-27 19:38:43 +0200 | <zzz> | jkj |
2021-06-27 19:39:36 +0200 | <Gurkenglas> | zzz, more context. what is the meaning of the map entries |
2021-06-27 19:41:39 +0200 | <zzz> | i just want to avoid doing: m' = Map.insert ... m ; m'' = Map.insert ... m' ; etc... |
2021-06-27 19:42:53 +0200 | <shachaf> | You can have a list of insertions. |
2021-06-27 19:43:32 +0200 | <neo> | foldl' on a list should be what you are looking for. |
2021-06-27 19:43:53 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 19:44:56 +0200 | Guest33 | (~textual@c-107-4-204-12.hsd1.mn.comcast.net) |
2021-06-27 19:45:03 +0200 | Guest33 | (~textual@c-107-4-204-12.hsd1.mn.comcast.net) (Client Quit) |
2021-06-27 19:48:51 +0200 | Sgeo | (~Sgeo@user/sgeo) |
2021-06-27 19:49:04 +0200 | mpt | (~tom@2a00:20:8017:8a04:ba09:ca8e:505f:8d30) |
2021-06-27 19:50:34 +0200 | <infinisil> | zzz: fromList + union |
2021-06-27 19:50:54 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
2021-06-27 19:51:00 +0200 | <Gurkenglas> | zzz, if you have precisely two uses of Map.insert in your code and they're consecutive, you can do Map.insert k v . Map.insert k' v' |
2021-06-27 19:52:12 +0200 | <Gurkenglas> | if you touch this map all the time and you're actually doing imperative programming, consider the state monad |
2021-06-27 19:52:25 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2021-06-27 19:52:51 +0200 | safinaskar | (~safinaska@109.252.90.89) |
2021-06-27 19:53:14 +0200 | <Gurkenglas> | if additionally you have multiple things you're touching all the time and nested data structures, consider additionally using lens |
2021-06-27 19:54:34 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
2021-06-27 19:55:21 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 250 seconds) |
2021-06-27 19:55:21 +0200 | <zzz> | thank you all |
2021-06-27 19:55:26 +0200 | v01d4lph4 | (~v01d4lph4@user/v01d4lph4) (Remote host closed the connection) |
2021-06-27 19:55:49 +0200 | MQ-17J | (~MQ-17J@8.21.10.15) (Ping timeout: 258 seconds) |
2021-06-27 19:56:00 +0200 | v01d4lph4 | (~v01d4lph4@user/v01d4lph4) |
2021-06-27 19:57:32 +0200 | notzmv | (~zmv@user/notzmv) (Ping timeout: 272 seconds) |
2021-06-27 19:58:01 +0200 | lavaman | (~lavaman@98.38.249.169) |
2021-06-27 19:58:34 +0200 | <dminuoso> | Profpatsch: By the way, in hindsight the talk was probably a waste of time. When someone like Rich Hickey holds a talk on Clojure/Conj arguing why Clojure is great and everybody else is wrong, he doesn't even need convincing arguments, his audience already is convinced regardless of what you say. |
2021-06-27 19:58:42 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
2021-06-27 20:00:44 +0200 | v01d4lph4 | (~v01d4lph4@user/v01d4lph4) (Ping timeout: 268 seconds) |
2021-06-27 20:02:38 +0200 | lavaman | (~lavaman@98.38.249.169) (Ping timeout: 265 seconds) |
2021-06-27 20:03:01 +0200 | machinedgod | (~machinedg@24.105.81.50) |
2021-06-27 20:07:25 +0200 | brandonh | (~brandonh@151.82.33.7) (Quit: brandonh) |
2021-06-27 20:07:29 +0200 | wroathe | (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
2021-06-27 20:10:20 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 20:11:07 +0200 | Corder_000 | (~Coder_000@177.10.203.30) |
2021-06-27 20:12:45 +0200 | egoist | (~egoist@186.235.82.105) |
2021-06-27 20:13:41 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 268 seconds) |
2021-06-27 20:13:58 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
2021-06-27 20:14:27 +0200 | __monty__ | (~toonn@user/toonn) |
2021-06-27 20:15:00 +0200 | <qrpnxz> | `app = arr $ uncurry id` LOL |
2021-06-27 20:15:26 +0200 | <dminuoso> | % :t arr (uncurry id) |
2021-06-27 20:15:26 +0200 | <yahb> | dminuoso: forall {a :: * -> * -> *} {b} {c}. Arrow a => a (b -> c, b) c |
2021-06-27 20:15:55 +0200 | Guest33 | (~textual@c-107-4-204-12.hsd1.mn.comcast.net) |
2021-06-27 20:18:37 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
2021-06-27 20:18:37 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
2021-06-27 20:19:56 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Remote host closed the connection) |
2021-06-27 20:21:09 +0200 | takuan | (~takuan@178-116-218-225.access.telenet.be) |
2021-06-27 20:22:27 +0200 | amahl | (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) |
2021-06-27 20:23:11 +0200 | safinaskar | (~safinaska@109.252.90.89) () |
2021-06-27 20:23:27 +0200 | mpt | (~tom@2a00:20:8017:8a04:ba09:ca8e:505f:8d30) (Read error: Connection reset by peer) |
2021-06-27 20:24:13 +0200 | fendor | (~fendor@178.165.168.249.wireless.dyn.drei.com) (Read error: Connection reset by peer) |
2021-06-27 20:25:01 +0200 | LukeHoersten | (~LukeHoers@user/lukehoersten) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2021-06-27 20:25:21 +0200 | Corder_000 | (~Coder_000@177.10.203.30) (Quit: WeeChat 3.0.1) |
2021-06-27 20:25:36 +0200 | fendor | (~fendor@178.165.168.249.wireless.dyn.drei.com) |
2021-06-27 20:28:15 +0200 | wroathe_ | (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
2021-06-27 20:28:29 +0200 | wroathe | (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 268 seconds) |
2021-06-27 20:28:48 +0200 | <maerwald> | dminuoso: clojure is a |
2021-06-27 20:28:57 +0200 | <maerwald> | troll language |
2021-06-27 20:29:43 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 268 seconds) |
2021-06-27 20:29:52 +0200 | <maerwald> | "Oh, you passed a different type, lemme do something entirely different, like make your fronted page blank" |
2021-06-27 20:30:19 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 258 seconds) |
2021-06-27 20:30:24 +0200 | chronon | (~chronon@user/chronon) (Quit: leaving) |
2021-06-27 20:30:37 +0200 | MQ-17J | (~MQ-17J@8.21.10.15) |
2021-06-27 20:31:53 +0200 | <dminuoso> | I dont really want to bash languages. |
2021-06-27 20:32:01 +0200 | dunkeln | (~dunkeln@188.71.193.140) |
2021-06-27 20:32:05 +0200 | <maerwald> | I'm not a friend of type classes, because they can already introduce similar confusion, but generally, a typeclass has a common theme |
2021-06-27 20:32:24 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
2021-06-27 20:32:30 +0200 | <maerwald> | Once your function can process arbitrary types, everything goes |
2021-06-27 20:33:28 +0200 | <maerwald> | It's inherent in the language: you can't fix clojure |
2021-06-27 20:35:28 +0200 | <maerwald> | I'm not bashing, I'm providing arguments ;) |
2021-06-27 20:37:09 +0200 | bitdex | (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
2021-06-27 20:38:17 +0200 | dyeplexer | (~dyeplexer@user/dyeplexer) (Remote host closed the connection) |
2021-06-27 20:38:17 +0200 | <dminuoso> | fatal: reference is not a tree: 783db292d12d28786612b8eeec7bb920246b72ce |
2021-06-27 20:38:28 +0200 | <dminuoso> | Mmm, cabal has some really rough ux edges at times.. |
2021-06-27 20:38:42 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) |
2021-06-27 20:38:49 +0200 | <dminuoso> | Of course I know exactly what the problem is, what I did and what I need to do to fix it.. |
2021-06-27 20:39:01 +0200 | <dminuoso> | But if that's the entirety of the error message... *sigh* |
2021-06-27 20:39:11 +0200 | dwt_ | (~dwt_@c-98-200-58-177.hsd1.tx.comcast.net) (Ping timeout: 252 seconds) |
2021-06-27 20:39:22 +0200 | <Clint> | i almost never use a tree as a reference |
2021-06-27 20:39:23 +0200 | waleee | (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) |
2021-06-27 20:41:14 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 272 seconds) |
2021-06-27 20:41:43 +0200 | Ariakenom | (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
2021-06-27 20:42:16 +0200 | MQ-17J | (~MQ-17J@8.21.10.15) (Ping timeout: 265 seconds) |
2021-06-27 20:42:40 +0200 | <hpc> | what's a tree in the context of cabal? |
2021-06-27 20:42:55 +0200 | <davean> | hpc: he's clearly refering to a git repo in a cabal.project |
2021-06-27 20:43:33 +0200 | <davean> | I'm not clear on what error message you'd prefer dminuoso |
2021-06-27 20:44:06 +0200 | <hpc> | ah, i am not used to those commit hashes being called trees |
2021-06-27 20:44:37 +0200 | <dminuoso> | Error while fetching vendored package `foo` via git: fatal: reference is not a tree: 783db292d12d28786612b8eeec7bb920246b72ce |
2021-06-27 20:44:38 +0200 | <davean> | Its NOT a commit hash |
2021-06-27 20:44:42 +0200 | <dminuoso> | davean: Something like that? |
2021-06-27 20:44:44 +0200 | <davean> | hpc: thats a difference |
2021-06-27 20:44:50 +0200 | <dminuoso> | The point is, there's absolutely no context what went wrong where. |
2021-06-27 20:44:51 +0200 | safinaskar | (~safinaska@109.252.90.89) |
2021-06-27 20:45:02 +0200 | <dminuoso> | Some random git error means nothing to a cabal user |
2021-06-27 20:45:04 +0200 | <davean> | hpc: git has commits, trees, and treeishs |
2021-06-27 20:45:08 +0200 | <davean> | (also files, etc) |
2021-06-27 20:45:12 +0200 | <safinaskar> | why this doesn't compile? https://godbolt.org/z/hqK4jWz5E |
2021-06-27 20:46:06 +0200 | <dminuoso> | safinaskar: This is due to a restriction in the haskell report |
2021-06-27 20:46:44 +0200 | <davean> | hpc: you usually put a commit, sure, but what it needs is the tree |
2021-06-27 20:47:00 +0200 | <dminuoso> | It's not mentioned very explicitly, but the Haskell report says that lambda (and thus also <- bound) variables must be monomorphic. |
2021-06-27 20:47:12 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
2021-06-27 20:47:22 +0200 | <dminuoso> | It doesn't exactly state why, Im guessing there's type inference reasons? |
2021-06-27 20:48:44 +0200 | zebrag | (~chris@user/zebrag) |
2021-06-27 20:49:00 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Remote host closed the connection) |
2021-06-27 20:50:21 +0200 | <dminuoso> | Does this require ImpredicativeTypes? |
2021-06-27 20:50:23 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
2021-06-27 20:50:52 +0200 | <dminuoso> | [[forall a. a]] does seem like an impredicative type |
2021-06-27 20:51:30 +0200 | <boxscape> | this works https://paste.tomsmeding.com/HH5iNOKf |
2021-06-27 20:51:53 +0200 | <boxscape> | (ignore the -XPartialTypeSignatures) |
2021-06-27 20:52:45 +0200 | <boxscape> | interestingly giving the type to the argument instead of to the entire lambda expression does not |
2021-06-27 20:53:02 +0200 | <safinaskar> | my code fails even if i enable ImpredicativeTypes (tested with 9.2.0.20210422 [latest available in ghcup]) |
2021-06-27 20:53:44 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2021-06-27 20:54:01 +0200 | <boxscape> | your code wouldn't work even if ImpredicativeTypes could fix this because of https://gitlab.haskell.org/ghc/ghc/-/issues/20020 |
2021-06-27 20:54:34 +0200 | talismanick | (~user@2601:644:8502:d700::f19d) |
2021-06-27 20:55:57 +0200 | notzmv | (~zmv@user/notzmv) |
2021-06-27 21:02:06 +0200 | <safinaskar> | so? what to do? i want to have polymorphic binding in do. i. e. something like this: do { f :: (forall a. a -> Int) <- .....; ..... f 2 .....; ..... f "o" ..... } |
2021-06-27 21:02:12 +0200 | <safinaskar> | is this possible? |
2021-06-27 21:02:59 +0200 | <qrpnxz> | safinaskar, i think you can do it with let but not with <- |
2021-06-27 21:04:34 +0200 | wroathe_ | wroathe |
2021-06-27 21:06:30 +0200 | <boxscape> | (Oh, right, my example worked because I forgot the parentheses around (forall a . [[a]])...) |
2021-06-27 21:06:32 +0200 | LukeHoersten | (~LukeHoers@user/lukehoersten) |
2021-06-27 21:07:50 +0200 | jess | (~jess@libera/staff/jess) () |
2021-06-27 21:07:53 +0200 | tungki | (~Guest54@subs31-116-206-15-16.three.co.id) |
2021-06-27 21:09:30 +0200 | Meh | (~Meh@202.14.120.46) |
2021-06-27 21:09:55 +0200 | Meh | Guest1495 |
2021-06-27 21:12:08 +0200 | <safinaskar> | ok, thanks |
2021-06-27 21:12:59 +0200 | Axman6 | (~Axman6@user/axman6) (Ping timeout: 256 seconds) |
2021-06-27 21:13:06 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
2021-06-27 21:13:28 +0200 | <boxscape> | safinaskar: something like this works https://paste.tomsmeding.com/DpnTBwVd |
2021-06-27 21:13:58 +0200 | <dminuoso> | boxscape: you should even be able to pattern match on the do-bind, no? |
2021-06-27 21:14:18 +0200 | <dminuoso> | Or does this run into the same bug you reported? |
2021-06-27 21:14:27 +0200 | <dminuoso> | I know we talked about this a few days ago, but I cant recall the details |
2021-06-27 21:14:35 +0200 | <boxscape> | dminuoso: no, you're right |
2021-06-27 21:14:46 +0200 | <boxscape> | it works |
2021-06-27 21:15:05 +0200 | <dminuoso> | Then you dont even need impredicative types anymore |
2021-06-27 21:15:15 +0200 | sleym | (~sleym@23.81.181.4) |
2021-06-27 21:16:30 +0200 | <qrpnxz> | what is an impredicative type |
2021-06-27 21:17:02 +0200 | <boxscape> | qrpnxz: if you have a type constructor like Maybe and you have a type with forall as an argument to it, e.g. `Maybe (forall a . a -> a)` |
2021-06-27 21:17:02 +0200 | <Profpatsch> | dminuoso: true |
2021-06-27 21:17:03 +0200 | <dminuoso> | qrpnxz: Take [forall a. a] for instance |
2021-06-27 21:17:15 +0200 | <Profpatsch> | dminuoso: though I think not all points are invalid |
2021-06-27 21:17:27 +0200 | <dminuoso> | qrpnxz: In impredicative types, this type is allowed and it is quantified over all types, including itself. |
2021-06-27 21:17:33 +0200 | <Profpatsch> | I mean Hickey is probably on a local maximum |
2021-06-27 21:17:34 +0200 | unyu | (~pyon@user/pyon) |
2021-06-27 21:17:39 +0200 | <Profpatsch> | one that is pretty good |
2021-06-27 21:17:40 +0200 | <qrpnxz> | ah |
2021-06-27 21:17:49 +0200 | fizbin | (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 268 seconds) |
2021-06-27 21:17:56 +0200 | <safinaskar> | boxscape: thanks. i tried to make Id type with kind (* -> * ): https://godbolt.org/z/YhcjvP41x . and now code doesn't compile |
2021-06-27 21:18:05 +0200 | Guest1495 | (~Meh@202.14.120.46) (Quit: Connection closed) |
2021-06-27 21:18:07 +0200 | xff0x | (~xff0x@2001:1a81:533e:6d00:c133:b997:3ccf:96a0) (Ping timeout: 250 seconds) |
2021-06-27 21:18:11 +0200 | kayprish | (~kayprish@46.240.143.86) |
2021-06-27 21:18:16 +0200 | <safinaskar> | boxscape: so, this means i need to create special newtype for this particular binding?! |
2021-06-27 21:18:25 +0200 | <safinaskar> | boxscape: this is very ugly |
2021-06-27 21:18:45 +0200 | <dminuoso> | Profpatsch: Im not saying his points are invalid, just that the way he losely reasons mostly to accomodate an audience that claps and cheers at everything he says. :) |
2021-06-27 21:18:56 +0200 | <dminuoso> | is not a way that I care for |
2021-06-27 21:18:59 +0200 | xff0x | (~xff0x@2001:1a81:533e:6d00:cffe:3614:284d:42ae) |
2021-06-27 21:20:06 +0200 | <dminuoso> | Rich convincing Clojure fans at Clojure Conj that the clojure way is the true way.. well. He summarized a series of SPJ talks in one and a half sentences, and just dismissed it as "he's totally wrong, we all know dynamic is better than static. QED." |
2021-06-27 21:20:21 +0200 | <boxscape> | safinaskar: hm I'm playing around with it but haven't found a better way yet that works |
2021-06-27 21:20:22 +0200 | <dminuoso> | (I paraphrased a bit) |
2021-06-27 21:21:03 +0200 | <Profpatsch> | yeah |
2021-06-27 21:21:23 +0200 | <boxscape> | safinaskar: never mind I have found a way, hold on |
2021-06-27 21:23:08 +0200 | <boxscape> | safinaskar: this _should_ work, but doesn't: https://paste.tomsmeding.com/tOKilQ57 That's because of the GHC issue I posted above. However, translating it into non-do notation _does_ work: https://paste.tomsmeding.com/BZFWmxK9 |
2021-06-27 21:23:36 +0200 | <boxscape> | safinaskar: the important thing being the type application @(forall a . a -> a), to let Id know that its argument is supposed to be polymorphic |
2021-06-27 21:24:12 +0200 | <dminuoso> | Profpatsch: The original topic is an interesting subject, I pondered quite a bit about it. At the end there's different audiences. In my experience, with the systems I work with, being absolutely strict with input is worth more than any hypothetical "forward compatibility" |
2021-06-27 21:24:21 +0200 | <dminuoso> | Especially when both the client and server are under your control |
2021-06-27 21:24:46 +0200 | <boxscape> | safinaskar: here's a shorter version that still works: https://paste.tomsmeding.com/OxAE9zhh |
2021-06-27 21:24:47 +0200 | <dminuoso> | Then be as strict as you can, since an unparsed field is likely an error on the sending side. |
2021-06-27 21:27:01 +0200 | <Profpatsch> | dminuoso: I think he conflates “not caring about whether something is there” with “providing defaults when something is not there” |
2021-06-27 21:27:03 +0200 | a6a45081-2b83 | (~aditya@122.163.205.132) |
2021-06-27 21:27:45 +0200 | <dminuoso> | Judging from the contents its rather "why do I care what other things you send me. I just care about the values i look at" |
2021-06-27 21:27:47 +0200 | <dminuoso> | *context |
2021-06-27 21:28:01 +0200 | <dminuoso> | The true pinnacle of dynamic programming where all you fling around is lists and maps |
2021-06-27 21:28:30 +0200 | <Rembane> | And poo! |
2021-06-27 21:28:51 +0200 | <dminuoso> | To some extend I can understand his love of maps, since they are so nicely compositional. You can just plug values out, merge them together in new fancy ways |
2021-06-27 21:29:10 +0200 | <dminuoso> | The desire for this even in static type sytems can be found in row types research |
2021-06-27 21:29:47 +0200 | lavaman | (~lavaman@98.38.249.169) |
2021-06-27 21:30:47 +0200 | <boxscape> | that's the "structural vs nominal" divide rather than the "static vs dynamic" divide, isn't it? |
2021-06-27 21:30:53 +0200 | <dminuoso> | Right |
2021-06-27 21:30:57 +0200 | <dminuoso> | well yes and no |
2021-06-27 21:31:03 +0200 | sagax | (~sagax@213.138.71.146) (Remote host closed the connection) |
2021-06-27 21:31:03 +0200 | <boxscape> | (not that you can't have both structural and nominal typing together) |
2021-06-27 21:31:15 +0200 | <dminuoso> | dynamic type systems are inherently nominal |
2021-06-27 21:31:48 +0200 | <Rembane> | Are there no structural dynamic typing systems? |
2021-06-27 21:31:55 +0200 | <Rembane> | *type |
2021-06-27 21:32:19 +0200 | ph88_ | (~ph88@ip5f5af6fd.dynamic.kabel-deutschland.de) |
2021-06-27 21:32:21 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) |
2021-06-27 21:32:36 +0200 | <safinaskar> | boxscape: ok, thanks |
2021-06-27 21:33:56 +0200 | <boxscape> | I suppose checking whether the entire structure matches dynamically probably isn't worth the runtime cost compared to just checking whether the relevant structure matches, which gets you to duck typing |
2021-06-27 21:34:28 +0200 | lavaman | (~lavaman@98.38.249.169) (Ping timeout: 268 seconds) |
2021-06-27 21:34:52 +0200 | <Rembane> | Both sounds structurally typed to me, it's checked at runtime rather than compile time though. |
2021-06-27 21:35:53 +0200 | boxscape | shrugs |
2021-06-27 21:36:01 +0200 | <boxscape> | wikpedia distinguishes between structural and duck |
2021-06-27 21:36:19 +0200 | ph88^ | (~ph88@2a02:8109:9e00:7e5c:6024:1b36:f949:e91) (Ping timeout: 268 seconds) |
2021-06-27 21:36:24 +0200 | <boxscape> | though I'm not sure why dynamic typing would be inherently nominal as dminuoso when duck typing exists... |
2021-06-27 21:36:29 +0200 | <boxscape> | s//said |
2021-06-27 21:37:49 +0200 | superbil | (~superbil@1-34-176-171.HINET-IP.hinet.net) (Ping timeout: 268 seconds) |
2021-06-27 21:45:40 +0200 | eight | (~eight@user/eight) |
2021-06-27 21:47:25 +0200 | tungki | (~Guest54@subs31-116-206-15-16.three.co.id) (Ping timeout: 246 seconds) |
2021-06-27 21:47:31 +0200 | LukeHoersten | (~LukeHoers@user/lukehoersten) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2021-06-27 21:48:21 +0200 | <boxscape> | Does it go back to the "dynamic type systems aren't actually type systems" thing? |
2021-06-27 21:49:16 +0200 | ph88_ | (~ph88@ip5f5af6fd.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
2021-06-27 21:52:30 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
2021-06-27 21:52:43 +0200 | fendor_ | (~fendor@178.165.168.249.wireless.dyn.drei.com) |
2021-06-27 21:53:03 +0200 | fendor | fendor__ |
2021-06-27 21:53:07 +0200 | fendor_ | fendor |
2021-06-27 21:53:10 +0200 | fendor__ | fendor_ |
2021-06-27 21:54:19 +0200 | <safinaskar> | arguing about type systems? here another argument: in typescript (as well as i know) you can get empty list from function returning list of ints and pass it to function accepting list of strings |
2021-06-27 21:55:23 +0200 | <safinaskar> | i. e. you can do something like this haskell code: module X where { f :: [Int]; f = []; g :: [String] -> (); g _ = (); main = return $ g f; } |
2021-06-27 21:55:28 +0200 | <safinaskar> | in haskell this is impossible |
2021-06-27 21:56:21 +0200 | <monochrom> | I can do this in Haskell if you allow me to s/Int/int/ >:) |
2021-06-27 21:56:37 +0200 | <mjrosenb> | lol. |
2021-06-27 21:57:15 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 272 seconds) |
2021-06-27 21:57:22 +0200 | safinaskar | (~safinaska@109.252.90.89) () |
2021-06-27 21:57:33 +0200 | a6a45081-2b83 | (~aditya@122.163.205.132) (Remote host closed the connection) |
2021-06-27 21:58:49 +0200 | MorrowM | (~MorrowM_@bzq-110-168-31-106.red.bezeqint.net) (Read error: Connection reset by peer) |
2021-06-27 21:58:52 +0200 | <dminuoso> | boxscape: The context is that Rich proposes using maps for many things. This comes from reasoning that "often you need some subset of values of some type", another time you need another subset of values.. |
2021-06-27 21:59:06 +0200 | <dminuoso> | Then you might want to compose some subset of this type and then some subset of that type |
2021-06-27 21:59:13 +0200 | MorrowM | (~MorrowM_@bzq-110-168-31-106.red.bezeqint.net) |
2021-06-27 22:00:24 +0200 | xsperry | (~as@user/xsperry) (Ping timeout: 272 seconds) |
2021-06-27 22:00:42 +0200 | <dminuoso> | boxscape: and sorry, I made an incorrect statement here in: "dynamic type systems are inherently nominal" |
2021-06-27 22:00:43 +0200 | <boxscape> | I see |
2021-06-27 22:00:51 +0200 | <dminuoso> | My kid was crying in the background, and I got distracted. |
2021-06-27 22:00:53 +0200 | <boxscape> | okay |
2021-06-27 22:00:58 +0200 | <boxscape> | haha no worries |
2021-06-27 22:01:31 +0200 | <boxscape> | (I hope they're okay) |
2021-06-27 22:02:06 +0200 | <dminuoso> | Sure, its just teething |
2021-06-27 22:02:46 +0200 | <boxscape> | okay, good |
2021-06-27 22:03:25 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) |
2021-06-27 22:04:34 +0200 | superbil | (~superbil@1-34-176-171.HINET-IP.hinet.net) |
2021-06-27 22:04:37 +0200 | mikoto-chan | (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Ping timeout: 258 seconds) |
2021-06-27 22:09:16 +0200 | merijn | (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds) |
2021-06-27 22:10:17 +0200 | <boxscape> | @tell safinaskar: Re: polymorphic bindings in do notation, you don't actually need the Id newtype we had, this works: https://paste.tomsmeding.com/4m8w6cuk |
2021-06-27 22:10:17 +0200 | <lambdabot> | Consider it noted. |
2021-06-27 22:10:59 +0200 | <boxscape> | wait, did I tell lambdabot to tell this to "safinaskar:" with a colon? |
2021-06-27 22:11:11 +0200 | <dminuoso> | boxscape: mmm, I wonder, couldnt you just mix do-notation with lambda style? |
2021-06-27 22:11:21 +0200 | <dminuoso> | might look odd, but it shouldnt be a problem |
2021-06-27 22:11:57 +0200 | <boxscape> | I suppose so, yeah |
2021-06-27 22:11:58 +0200 | <boxscape> | you mean to get around the bug? |
2021-06-27 22:13:11 +0200 | <dminuoso> | https://gist.github.com/dminuoso/ab50177469e73aee70b7dbf1e52603d9 |
2021-06-27 22:13:11 +0200 | <boxscape> | @tell safinaskar Re: polymorphic bindings in do notation, you don't actually need the Id newtype we had, this works: https://paste.tomsmeding.com/4m8w6cuk |
2021-06-27 22:13:11 +0200 | <lambdabot> | Consider it noted. |
2021-06-27 22:13:12 +0200 | <dminuoso> | Yeah |
2021-06-27 22:13:16 +0200 | <dminuoso> | boxscape: ^- this works |
2021-06-27 22:13:40 +0200 | <dminuoso> | Oh my, this I have to keep in my bag of tricks. |
2021-06-27 22:13:42 +0200 | <boxscape> | yeah, that's not too bad |
2021-06-27 22:13:48 +0200 | fendor | (~fendor@178.165.168.249.wireless.dyn.drei.com) (Ping timeout: 252 seconds) |
2021-06-27 22:13:48 +0200 | <boxscape> | actually surprised that's not an indentation error |
2021-06-27 22:13:56 +0200 | <dminuoso> | why should it? |
2021-06-27 22:14:01 +0200 | <dminuoso> | do-expressions are just expressions. |
2021-06-27 22:14:23 +0200 | <dminuoso> | and regarding indention, I have no clue how indention rules even work in haskell |
2021-06-27 22:14:38 +0200 | <boxscape> | I would have expected ghc to read s <- getLine as part of the previous do-notation but I guess not |
2021-06-27 22:14:43 +0200 | <boxscape> | (well, it is part of it) |
2021-06-27 22:14:44 +0200 | <dminuoso> | I only write haskell for a living, dont ask me what GHC even considers as valid input |
2021-06-27 22:14:50 +0200 | <boxscape> | hehe |
2021-06-27 22:15:06 +0200 | <geekosaur> | looks like NondecreasingIndentation at work to me |
2021-06-27 22:15:12 +0200 | <boxscape> | ah |
2021-06-27 22:16:33 +0200 | <dminuoso> | if null args then return [] else do |
2021-06-27 22:16:51 +0200 | <dminuoso> | Interesting! Early-return, I had not seen this trick before. |
2021-06-27 22:17:05 +0200 | <dminuoso> | I've had two or three cases where I wanted this |
2021-06-27 22:17:30 +0200 | <dminuoso> | geekosaur: Thanks! |
2021-06-27 22:24:06 +0200 | _ht | (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection) |
2021-06-27 22:28:44 +0200 | acidjnk | (~acidjnk@p200300d0c72b954690af9c130fd8a450.dip0.t-ipconnect.de) |
2021-06-27 22:29:03 +0200 | fendor | (~fendor@178.165.168.249.wireless.dyn.drei.com) |
2021-06-27 22:29:21 +0200 | dunkeln | (~dunkeln@188.71.193.140) (Ping timeout: 268 seconds) |
2021-06-27 22:34:21 +0200 | glider | (~glider@user/glider) |
2021-06-27 22:40:10 +0200 | justsomeguy | (~justsomeg@user/justsomeguy) |
2021-06-27 22:40:29 +0200 | falafel | (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
2021-06-27 22:42:05 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2021-06-27 22:43:18 +0200 | Guest33 | (~textual@c-107-4-204-12.hsd1.mn.comcast.net) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
2021-06-27 22:44:40 +0200 | haykam | (~haykam@static.100.2.21.65.clients.your-server.de) |
2021-06-27 22:45:55 +0200 | bilegeek | (~bilegeek@2600:1008:b015:3e96:6f34:1a42:6ac5:3b86) |
2021-06-27 22:46:28 +0200 | fendor_ | (~fendor@178.165.168.249.wireless.dyn.drei.com) (Remote host closed the connection) |
2021-06-27 22:47:35 +0200 | fendor_ | (~fendor@178.165.168.249.wireless.dyn.drei.com) |
2021-06-27 22:50:21 +0200 | yoctocell | (~user@h87-96-130-155.cust.a3fiber.se) (Ping timeout: 265 seconds) |
2021-06-27 22:51:30 +0200 | elf_fortrez | (~elf_fortr@adsl-72-50-6-22.prtc.net) |
2021-06-27 22:56:31 +0200 | sleym | (~sleym@23.81.181.4) (Quit: sleym) |
2021-06-27 22:58:50 +0200 | nckx | (~nckx@tobias.gr) (Quit: Updating my Guix System <https://guix.gnu.org>) |
2021-06-27 23:02:53 +0200 | dhil | (~dhil@195.213.192.47) (Ping timeout: 258 seconds) |
2021-06-27 23:03:24 +0200 | fendor | (~fendor@178.165.168.249.wireless.dyn.drei.com) (Ping timeout: 265 seconds) |
2021-06-27 23:04:18 +0200 | nckx | (~nckx@tobias.gr) |
2021-06-27 23:12:45 +0200 | haykam | (~haykam@static.100.2.21.65.clients.your-server.de) (Remote host closed the connection) |
2021-06-27 23:14:59 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 268 seconds) |
2021-06-27 23:15:09 +0200 | Deide1 | (~Deide@wire.desu.ga) |
2021-06-27 23:16:24 +0200 | Deide | (~Deide@user/deide) (Ping timeout: 272 seconds) |
2021-06-27 23:18:30 +0200 | MQ-17J | (~MQ-17J@8.21.10.15) |
2021-06-27 23:18:33 +0200 | bitdex | (~bitdex@gateway/tor-sasl/bitdex) |
2021-06-27 23:19:09 +0200 | haykam1 | (~haykam@static.100.2.21.65.clients.your-server.de) |
2021-06-27 23:20:35 +0200 | takuan | (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
2021-06-27 23:22:22 +0200 | chomwitt | (~Pitsikoko@athedsl-16082.home.otenet.gr) (Ping timeout: 252 seconds) |
2021-06-27 23:24:38 +0200 | chomwitt | (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) |
2021-06-27 23:29:32 +0200 | __monty__ | (~toonn@user/toonn) (Quit: leaving) |
2021-06-27 23:30:37 +0200 | dunkeln | (~dunkeln@94.129.65.28) |
2021-06-27 23:30:42 +0200 | elf_fortrez | (~elf_fortr@adsl-72-50-6-22.prtc.net) (Quit: Client closed) |
2021-06-27 23:35:57 +0200 | dunkeln | (~dunkeln@94.129.65.28) (Ping timeout: 268 seconds) |
2021-06-27 23:36:45 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) |
2021-06-27 23:38:55 +0200 | MQ-17J | (~MQ-17J@8.21.10.15) (Ping timeout: 258 seconds) |
2021-06-27 23:39:11 +0200 | jneira_ | (~jneira_@131.red-79-155-1.dynamicip.rima-tde.net) |
2021-06-27 23:41:30 +0200 | chomwitt | (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4) (Ping timeout: 268 seconds) |
2021-06-27 23:46:49 +0200 | fendor_ | (~fendor@178.165.168.249.wireless.dyn.drei.com) (Read error: Connection reset by peer) |
2021-06-27 23:47:35 +0200 | MQ-17J | (~MQ-17J@d14-69-206-129.try.wideopenwest.com) |
2021-06-27 23:50:15 +0200 | <elvishjerricco> | When a haskell process is killed by SIGTERM, what is its exit status? (Assuming the haskell code makes no effort to handle exceptions/signals/etc.) |
2021-06-27 23:51:20 +0200 | <geekosaur> | signals are reported separately from exit statuses |
2021-06-27 23:51:29 +0200 | <geekosaur> | so it'll show signal 15 |
2021-06-27 23:53:46 +0200 | notzmv | (~zmv@user/notzmv) (Ping timeout: 272 seconds) |
2021-06-27 23:53:48 +0200 | <elvishjerricco> | geekosaur: Right, but I'm interested in the exit status. I was playing with some systemd stuff and decided to use a dummy haskell program (loop on threadDelay) to test some stuff. When I asked systemd to stop the service, it got reported as failed due to exit status |
2021-06-27 23:54:00 +0200 | <elvishjerricco> | I was just wondering if that's because SIGTERM caused the program to exit non-zero |
2021-06-27 23:54:14 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) |
2021-06-27 23:54:15 +0200 | <elvishjerricco> | or if some other part of my system jankery is messed up |
2021-06-27 23:54:20 +0200 | <elvishjerricco> | systemd* |
2021-06-27 23:54:47 +0200 | tromp | (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2021-06-27 23:58:27 +0200 | warnz | (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 250 seconds) |