Access parameter of function passed to higher order function

后端 未结 0 574
野的像风
野的像风 2020-12-14 15:28

Assuming I have an expression like the following in Haskell


highO :: Int -> (Int -> Int) -> Int
highO arg1 (f val) 
     | val < 0 = f val
     |         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题