Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --promociono :: (Int, Int) -> Bool
  2. --promociono (a, b) = ((a+b) > 14) && (a >=6) && (b >= 6)
  3.  
  4. dioRecuperatios :: (Int, Int) -> Bool
  5. dioRecuperatios tupla = ((>0).fst) tupla || ((>0).snd) tupla
  6.  
  7. recuperoDeGusto :: ((Int, Int),(Int, Int)) -> Bool
  8. recuperoDeGusto tupla = (dioRecuperatios.snd) tupla && (promociono.fst) tupla
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement