SHARE
TWEET

Untitled

a guest Dec 12th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. extremum (x:xs) = if (all (\y -> ((maximum x == maximum y) || (maximum x == minimum y))) xs ) then maximum x else if
  2.  all (\y -> ((minimum x == maximum y) || (minimum x == minimum y))) xs then minimum x else 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top