
22 May
2020
22 May
'20
3:10 p.m.
Hello Alexander, Il 22 maggio 2020 alle 20:20 Alexander Chen ha scritto:
Hi,
I want to re-write a function maximumBy (its an assignment).
However, I don't get how it works.
maximumBy compare [1,53,9001, 10] 9001
but what does it actually do to get there?
Do you know how to use foldr and friends?