Guest User

Untitled

a guest
Dec 12th, 2019
108
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