Haskell functional programming, function as parameter

前端 未结 0 754
野的像风
野的像风 2020-11-30 18:55

I\'m am training funtional Haskell and cannot usderstand what is wrong with this:

maxBy :: (a -> Int) -> a -> a -> a
maxBy measure a b = max (meas         


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