2025/02/02

Newest at the top

2025-02-02 13:06:17 +0100 <lxsameer> geekosaur: interesting, is there any resource to get familiar with GHC internals? not in code level but an overview
2025-02-02 13:05:04 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2025-02-02 13:03:36 +0100 <geekosaur> similarly, conceptually IO is best thought of as an impure program passed back to the RTS as the result of `main :: IO ()`, but ghc actually does something more performant
2025-02-02 13:02:57 +0100 <geekosaur> breaking things down to actual single parameter functions is certainly doable, but has lousy performance. so in terms of Haskell semantics it makes sense to think that way, but ghc goes for the more performant version
2025-02-02 13:01:29 +0100MyNetAz(~MyNetAz@user/MyNetAz) (Remote host closed the connection)
2025-02-02 13:01:09 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 260 seconds)
2025-02-02 13:01:08 +0100 <lxsameer> geekosaur: awesome
2025-02-02 13:00:26 +0100 <geekosaur> the typechecker will flag it if it isn't
2025-02-02 13:00:24 +0100 <lxsameer> geekosaur: cool thank you
2025-02-02 13:00:06 +0100 <geekosaur> that just means the result of it should be a function
2025-02-02 12:59:53 +0100 <geekosaur> no
2025-02-02 12:59:40 +0100 <lxsameer> geekosaur: and is there any special behaviour if the number of provided arguments are more than what the function expects?
2025-02-02 12:58:39 +0100 <geekosaur> one of the errors you're never supposed to see is "PAP object entered" which means it tried to call a partial application as a function
2025-02-02 12:58:07 +0100 <lxsameer> geekosaur: cool, thank you
2025-02-02 12:57:49 +0100 <geekosaur> actually it does multi-arg internally and uses "partial application objects" when calling them unsaturated
2025-02-02 12:56:44 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-02 12:56:00 +0100 <lxsameer> hey folks, do you know how ghc implements functions? internally, does it implement single arguments functions and break down a function into a composition of single arg functions?
2025-02-02 12:46:21 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2025-02-02 12:43:18 +0100Sgeo(~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2025-02-02 12:41:22 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-02 12:41:12 +0100monochrom(trebla@216.138.220.146)
2025-02-02 12:34:23 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 265 seconds)
2025-02-02 12:29:49 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-02-02 12:29:43 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2025-02-02 12:23:24 +0100wootehfoot(~wootehfoo@user/wootehfoot) wootehfoot
2025-02-02 12:23:19 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-02 12:22:04 +0100sprotte24(~sprotte24@p200300d16f1f590058a60236c8af074f.dip0.t-ipconnect.de)
2025-02-02 12:13:14 +0100alp(~alp@2001:861:8ca0:4940:8c48:9a75:b748:bc3f)
2025-02-02 12:07:59 +0100 <geekosaur> I think the problem there is that makeLenses doesn't use them
2025-02-02 12:05:59 +0100connrs(~connrs@user/connrs) connrs
2025-02-02 12:04:34 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
2025-02-02 11:59:58 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-02 11:59:11 +0100connrs(~connrs@user/connrs) (Client Quit)
2025-02-02 11:57:38 +0100connrs(~connrs@user/connrs) connrs
2025-02-02 11:56:43 +0100lxsameer(~lxsameer@Serene/lxsameer) lxsameer
2025-02-02 11:53:02 +0100ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en
2025-02-02 11:50:15 +0100connrs(~connrs@user/connrs) (Quit: ZNC 1.9.1 - https://znc.in)
2025-02-02 11:49:48 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2025-02-02 11:45:06 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-02 11:44:37 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 248 seconds)
2025-02-02 11:43:41 +0100CiaoSen(~Jura@2a05:5800:2d1:4b00:ca4b:d6ff:fec1:99da) CiaoSen
2025-02-02 11:40:05 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-02-02 11:34:24 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-02-02 11:31:44 +0100monochrom(trebla@216.138.220.146) (Ping timeout: 252 seconds)
2025-02-02 11:30:31 +0100Sgeo(~Sgeo@user/sgeo) Sgeo
2025-02-02 11:29:43 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-02 11:26:50 +0100Sgeo(~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2025-02-02 11:20:39 +0100gmg(~user@user/gehmehgeh) gehmehgeh
2025-02-02 11:20:38 +0100acidjnk_new3(~acidjnk@p200300d6e7283f65c4b195c3583eb276.dip0.t-ipconnect.de) acidjnk
2025-02-02 11:18:54 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)