2025/06/20

Newest at the top

2025-06-20 12:00:16 +0200 <ames> baz
2025-06-20 12:00:00 +0200 <haskellbridge> <Profpatsch> what’s not a function?
2025-06-20 11:59:47 +0200 <ames> well the problem is exactly that it's not a function and ghc does not want to make it one by quantifying over your HasField(s)
2025-06-20 11:59:28 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-06-20 11:58:58 +0200 <haskellbridge> <Profpatsch> cause it should follow directly from the definition of divide2
2025-06-20 11:58:41 +0200 <haskellbridge> <Profpatsch> ames: But then again, ideally HLS could infer the function signature nonetheless
2025-06-20 11:58:03 +0200 <haskellbridge> <Profpatsch> I want to make use of Divisible contravariants ergonomic, but without too much overloading going on; I guess if I just use it somewhere in code it should be fine
2025-06-20 11:57:54 +0200econo_(uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
2025-06-20 11:57:14 +0200 <haskellbridge> <Profpatsch> ames: Oh you mean cause GHC needs to infer monomorphic types for toplevel
2025-06-20 11:56:21 +0200 <ames> this is just a monomorphism restriction thing
2025-06-20 11:53:57 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2025-06-20 11:53:15 +0200 <haskellbridge> <Profpatsch> I feel like it should be possible in principle
2025-06-20 11:51:39 +0200xff0x(~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 245 seconds)
2025-06-20 11:51:27 +0200 <haskellbridge> <Profpatsch> I tried the r1 ~ r2 trick, but that does not seem to work
2025-06-20 11:51:17 +0200 <haskellbridge> <Profpatsch> I’d like GHC to infer the HasField instances via divide2 automatically, but it is stumped
2025-06-20 11:50:55 +0200 <haskellbridge> <Profpatsch> In particular, the definitions of bar and baz
2025-06-20 11:50:43 +0200 <haskellbridge> <Profpatsch> https://play.haskell.org/saved/vc4ycTs6
2025-06-20 11:50:41 +0200 <haskellbridge> <Profpatsch> I need some input from somebody with type-fool knowledge
2025-06-20 11:49:45 +0200m5zs7k(aquares@web10.mydevil.net) m5zs7k
2025-06-20 11:42:33 +0200trickard_(~trickard@cpe-60-98-47-163.wireline.com.au)
2025-06-20 11:42:19 +0200trickard_(~trickard@cpe-60-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-06-20 11:40:10 +0200AlexZenon(~alzenon@178.34.163.228)
2025-06-20 11:38:25 +0200m5zs7k(aquares@web10.mydevil.net) (Ping timeout: 248 seconds)
2025-06-20 11:38:13 +0200szkl(uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
2025-06-20 11:34:44 +0200gmg(~user@user/gehmehgeh) gehmehgeh
2025-06-20 11:34:28 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-06-20 11:33:17 +0200prdak(~Thunderbi@user/prdak) (Ping timeout: 244 seconds)
2025-06-20 11:30:47 +0200AlexZenon(~alzenon@178.34.163.228) (Client Quit)
2025-06-20 11:30:11 +0200AlexZenon(~alzenon@178.34.163.228)
2025-06-20 11:28:49 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2025-06-20 11:28:30 +0200AlexZenon(~alzenon@178.34.163.228) (Quit: ;-)
2025-06-20 11:21:33 +0200gmg(~user@user/gehmehgeh) (Ping timeout: 244 seconds)
2025-06-20 11:14:27 +0200kuribas(~user@ip-188-118-57-242.reverse.destiny.be) kuribas
2025-06-20 11:09:04 +0200trickard_(~trickard@cpe-60-98-47-163.wireline.com.au)
2025-06-20 11:08:50 +0200trickard(~trickard@cpe-60-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-06-20 11:07:01 +0200hsw(~hsw@106.104.103.23) hsw
2025-06-20 11:06:40 +0200hsw(~hsw@106.104.103.23) (Remote host closed the connection)
2025-06-20 11:04:21 +0200ubert(~Thunderbi@2a02:8109:abb3:7000:3fad:3f8c:983d:e01d) ubert
2025-06-20 10:47:58 +0200L29Ah(~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer)
2025-06-20 10:45:30 +0200trickard_trickard
2025-06-20 10:42:43 +0200tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
2025-06-20 10:41:55 +0200kuribas``(~user@2a02:1808:6b:8b15:90b1:c35:d4ac:4294) (Ping timeout: 265 seconds)
2025-06-20 10:40:02 +0200acidjnk(~acidjnk@p200300d6e70b6624416fe602ae3a0480.dip0.t-ipconnect.de) acidjnk
2025-06-20 10:38:56 +0200dhil(~dhil@5.151.29.137) dhil
2025-06-20 10:35:03 +0200tcard(~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303)
2025-06-20 10:25:49 +0200dhil(~dhil@5.151.29.141) (Ping timeout: 245 seconds)
2025-06-20 10:24:40 +0200tcard(~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Quit: Leaving)
2025-06-20 10:18:09 +0200trickard_(~trickard@cpe-60-98-47-163.wireline.com.au)
2025-06-20 10:17:40 +0200trickard(~trickard@cpe-60-98-47-163.wireline.com.au) (Ping timeout: 252 seconds)
2025-06-20 10:15:41 +0200prdak(~Thunderbi@user/prdak) prdak