Logs: freenode/#haskell
| 2020-10-03 21:19:01 | <hpc> | the funny thing is, that one's actually not half bad |
| 2020-10-03 21:19:29 | <hpc> | if it wasn't for a few bits like map = fmap, it wouldn't even be a prelude replacement |
| 2020-10-03 21:19:49 | <hpc> | just a ton of reexports |
| 2020-10-03 21:24:36 | × | ashbreeze quits (~mark@72-161-254-200.dyn.centurytel.net) (Remote host closed the connection) |
| 2020-10-03 21:26:42 | × | jneira quits (501e65ce@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.101.206) (Ping timeout: 256 seconds) |
| 2020-10-03 21:27:45 | → | _ashbreeze_ joins (~mark@72-161-254-200.dyn.centurytel.net) |
| 2020-10-03 21:29:35 | → | thir joins (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) |
| 2020-10-03 21:30:25 | × | chaosmasttter quits (~chaosmast@p200300c4a711ea01f472f055cac452c2.dip0.t-ipconnect.de) (Quit: WeeChat 2.9) |
| 2020-10-03 21:33:47 | × | thir quits (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-10-03 21:34:54 | → | machinedgod joins (~machinedg@d67-193-126-196.home3.cgocable.net) |
| 2020-10-03 21:35:28 | → | nbloomf joins (~nbloomf@2600:1700:83e0:1f40:2c94:3287:2d16:a9db) |
| 2020-10-03 21:36:23 | <dsal> | OK. Removing that Setup Stack thing seemed to get all my github CI flowing again. |
| 2020-10-03 21:36:27 | × | nbloomf quits (~nbloomf@2600:1700:83e0:1f40:2c94:3287:2d16:a9db) (Client Quit) |
| 2020-10-03 21:38:13 | → | jle` joins (~mstksg@cpe-23-240-75-236.socal.res.rr.com) |
| 2020-10-03 21:38:13 | × | jle` quits (~mstksg@cpe-23-240-75-236.socal.res.rr.com) (Changing host) |
| 2020-10-03 21:38:13 | → | jle` joins (~mstksg@unaffiliated/mstksg) |
| 2020-10-03 21:39:44 | × | snakemasterflex quits (~snakemast@213.100.206.23) (Ping timeout: 272 seconds) |
| 2020-10-03 21:43:25 | × | jle` quits (~mstksg@unaffiliated/mstksg) (Ping timeout: 240 seconds) |
| 2020-10-03 21:45:16 | × | conal quits (~conal@66.115.157.94) (Quit: Computer has gone to sleep.) |
| 2020-10-03 21:51:15 | → | hiptobecubic joins (~john@unaffiliated/hiptobecubic) |
| 2020-10-03 21:53:40 | → | kers joins (~kers@185.204.1.185) |
| 2020-10-03 21:55:11 | → | Damex joins (~root@staticline10864.toya.net.pl) |
| 2020-10-03 21:59:13 | × | Damex quits (~root@staticline10864.toya.net.pl) (Client Quit) |
| 2020-10-03 21:59:15 | <Squarism> | Using classes as a way of make "typed modules". Types/functions dependent on types defined for a particular instance of a class. I see no way of making private member of the "typed module" class. Is there any around trick to that? |
| 2020-10-03 22:01:15 | → | Rudd0 joins (~Rudd0@185.189.115.103) |
| 2020-10-03 22:01:27 | × | __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving) |
| 2020-10-03 22:04:25 | × | m0rphism quits (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 240 seconds) |
| 2020-10-03 22:08:27 | → | nbloomf joins (~nbloomf@2600:1700:83e0:1f40:81f1:ca65:c0dc:8656) |
| 2020-10-03 22:11:23 | → | materialfuture[m joins (materialfu@gateway/shell/matrix.org/x-npxsmoygxswgzvnn) |
| 2020-10-03 22:13:38 | → | wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) |
| 2020-10-03 22:17:31 | × | nbloomf quits (~nbloomf@2600:1700:83e0:1f40:81f1:ca65:c0dc:8656) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-03 22:18:58 | × | nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Remote host closed the connection) |
| 2020-10-03 22:19:27 | hackage | polysemy-http 0.3.0.0 - Polysemy effect for http-client https://hackage.haskell.org/package/polysemy-http-0.3.0.0 (tek) |
| 2020-10-03 22:20:38 | → | aveltras joins (~user@2a01:cb16:203c:6c2d:a498:f2b7:b329:ae47) |
| 2020-10-03 22:24:48 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 260 seconds) |
| 2020-10-03 22:25:59 | × | aveltras quits (~user@2a01:cb16:203c:6c2d:a498:f2b7:b329:ae47) (Remote host closed the connection) |
| 2020-10-03 22:26:02 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 2020-10-03 22:28:15 | × | isovector1 quits (~isovector@172.103.216.166) (Quit: Leaving) |
| 2020-10-03 22:28:18 | × | shafox quits (~shafox@106.51.234.111) (Remote host closed the connection) |
| 2020-10-03 22:28:43 | → | nineonine joins (~nineonine@216.81.48.202) |
| 2020-10-03 22:29:43 | → | irc_user joins (uid423822@gateway/web/irccloud.com/x-qmbsqpmesujkhtzf) |
| 2020-10-03 22:31:04 | → | thir joins (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) |
| 2020-10-03 22:32:27 | → | alp joins (~alp@2a01:e0a:58b:4920:d804:7750:2986:4170) |
| 2020-10-03 22:32:27 | hackage | curl-runnings 0.16.0 - A framework for declaratively writing curl based API tests https://hackage.haskell.org/package/curl-runnings-0.16.0 (aviaviavi) |
| 2020-10-03 22:35:25 | × | thir quits (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-10-03 22:35:57 | <MarcelineVQ> | that is beyond dad-tier punnery |
| 2020-10-03 22:39:45 | <hpc> | that is up there with acme-schoenfinkel for sure |
| 2020-10-03 22:40:34 | → | oisdk joins (~oisdk@2001:bb6:3329:d100:90dd:27e0:f28c:37bd) |
| 2020-10-03 22:40:55 | <hpc> | hasslich = unschoen is still my all-time favorite programming joke |
| 2020-10-03 22:41:21 | <hpc> | it's so simple, but it's got so much prerequisite knowledge too |
| 2020-10-03 22:43:44 | × | mirrorbird quits (~psutcliff@2a00:801:42a:82eb:6edc:4c78:a574:2a8f) (Quit: Leaving) |
| 2020-10-03 22:45:55 | × | madjestic quits (~madjestic@86-88-72-244.fixed.kpn.net) (Ping timeout: 240 seconds) |
| 2020-10-03 22:50:42 | <MarcelineVQ> | roughly 100% prerequisite knowlege |
| 2020-10-03 22:52:10 | <koz_> | @hoogle Env |
| 2020-10-03 22:52:11 | <lambdabot> | module System.Posix.Env |
| 2020-10-03 22:52:11 | <lambdabot> | module Control.Comonad.Env |
| 2020-10-03 22:52:11 | <lambdabot> | Control.Comonad.Env type Env e = EnvT e Identity |
| 2020-10-03 22:52:19 | <MarcelineVQ> | like explaining an isomorphism just by naming your functions finkle and einhorn |
| 2020-10-03 22:52:37 | <koz_> | MarcelineVQ: That causes _physical_ pain. |
| 2020-10-03 22:52:47 | <koz_> | @hoogle Alt |
| 2020-10-03 22:52:48 | <lambdabot> | Data.Monoid newtype Alt f a |
| 2020-10-03 22:52:48 | <lambdabot> | Data.Monoid Alt :: f a -> Alt f a |
| 2020-10-03 22:52:48 | <lambdabot> | Language.Haskell.Exts.Syntax data Alt l |
| 2020-10-03 22:53:08 | <MarcelineVQ> | @hoogle Arg |
| 2020-10-03 22:53:09 | <lambdabot> | Data.Semigroup data Arg a b |
| 2020-10-03 22:53:09 | <lambdabot> | Data.Semigroup Arg :: a -> b -> Arg a b |
| 2020-10-03 22:53:09 | <lambdabot> | Test.Hspec type family Arg e :: Type |
| 2020-10-03 22:53:11 | × | lagothrix quits (~lagothrix@unaffiliated/lagothrix) (Read error: Connection reset by peer) |
| 2020-10-03 22:53:17 | → | xirhtogal joins (~lagothrix@unaffiliated/lagothrix) |
| 2020-10-03 22:53:18 | xirhtogal | is now known as lagothrix |
| 2020-10-03 22:54:19 | → | snakemasterflex joins (~snakemast@213.100.206.23) |
| 2020-10-03 22:55:33 | <koz_> | MarcelineVQ: Wait, what's Arg from Data.Semigroup meant to be? |
| 2020-10-03 22:56:36 | <MarcelineVQ> | ArgMin/ArgMax |
| 2020-10-03 22:56:49 | <MarcelineVQ> | https://hackage.haskell.org/package/base-4.14.0.0/docs/Data-Semigroup.html#t:Arg |
| 2020-10-03 22:57:28 | × | Ariakenom quits (~Ariakenom@h-155-4-221-50.NA.cust.bahnhof.se) (Read error: Connection reset by peer) |
| 2020-10-03 22:59:13 | × | snakemasterflex quits (~snakemast@213.100.206.23) (Ping timeout: 256 seconds) |
| 2020-10-03 23:00:22 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie) |
| 2020-10-03 23:00:39 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 2020-10-03 23:00:39 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 2020-10-03 23:00:39 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 2020-10-03 23:01:38 | → | shatriff joins (~vitaliish@78.111.190.146) |
| 2020-10-03 23:05:57 | × | AlterEgo- quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Quit: Leaving) |
| 2020-10-03 23:18:32 | × | shatriff quits (~vitaliish@78.111.190.146) (Remote host closed the connection) |
| 2020-10-03 23:18:45 | → | mirrorbird joins (~psutcliff@2a00:801:42a:82eb:6edc:4c78:a574:2a8f) |
| 2020-10-03 23:24:52 | × | ryansmccoy quits (~ryansmcco@193.37.254.27) (Ping timeout: 272 seconds) |
| 2020-10-03 23:24:56 | × | mitchellsalad quits (uid40617@gateway/web/irccloud.com/x-yibkddeecqmzocfr) (Quit: Connection closed for inactivity) |
| 2020-10-03 23:25:27 | → | ryansmccoy joins (~ryansmcco@68.235.48.108) |
| 2020-10-03 23:26:50 | → | OmegaDoug joins (8e749d03@lnsm3-torontoxn-142-116-157-3.internet.virginmobile.ca) |
| 2020-10-03 23:28:53 | × | underlifE quits (~underlife@31.170.22.3) (Quit: Leaving) |
| 2020-10-03 23:30:24 | → | da39a3ee5e6b4b0d joins (~textual@n11211935170.netvigator.com) |
| 2020-10-03 23:32:05 | <OmegaDoug> | Hi. I want to model the Coinbase API and one of the keys is called "type". When I try to make a record with a key called "type" I get a parse error but "type1" works. What's the idiomatic way to model and serialize the data so I pass a key called "type" to Coinbase using Aeson? |
| 2020-10-03 23:33:09 | → | nbloomf joins (~nbloomf@2600:1700:83e0:1f40:683c:11e3:ba18:6adc) |
| 2020-10-03 23:34:55 | × | da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Ping timeout: 240 seconds) |
| 2020-10-03 23:34:55 | × | cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 240 seconds) |
| 2020-10-03 23:38:47 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 2020-10-03 23:39:13 | × | xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 260 seconds) |
| 2020-10-03 23:40:41 | × | oisdk quits (~oisdk@2001:bb6:3329:d100:90dd:27e0:f28c:37bd) (Quit: oisdk) |
| 2020-10-03 23:41:28 | <dsal> | You can name the field anything you want. I'd probably not name it type just because there may be more than one thing called type anyway, so maybe a name that has something to do with what it's the type of. |
| 2020-10-03 23:44:37 | <OmegaDoug> | dsal, this is Coinbase's api, so I have no choice but to use the key names that they specify. So if I use the name _type it gets serialized as _type, and not type. I suppose what I need to do is name the field as _type and (de)serialize to/from "type". Do you know the best way to do that? |
| 2020-10-03 23:45:49 | <dsal> | You can name it whatever you want and add field manipulation in your FromJSON instance. |
All times are in UTC.