loading...

re: Daily Challenge #75 - Set Alarm VIEW POST

FULL DISCUSSION
 

Solved On Purescript

setAlarm :: Boolean -> Boolean -> Boolean
setAlarm employed vacation =
   case (Tuple employed vacation) of
     (Tuple true false) ->
         true

     (Tuple _ _) ->
         false       
code of conduct - report abuse