Point-free in Haskell

后端 未结 5 986
刺人心
刺人心 2020-12-14 09:30

I have this code that I want to make point-free;

(\\k t -> chr $ a + flip mod 26 (ord k + ord t -2*a))

How do I do that?

Also are the

5条回答
  •  隐瞒了意图╮
    2020-12-14 10:03

    Connect on IRC, #haskell, and ask lambdabot !:

     @pl (\k t -> chr $ a + flip mod 26 (ord k + ord t -2*a))
     [the answer]
    

提交回复
热议问题