DEV Community

loading...

Discussion on: Daily Challenge #302 - setAlarm

Collapse
cipharius profile image
Valts Liepiņš

Haskell

setAlarm :: Bool -> Bool -> Bool
setAlarm employed vacation = employed && not vacation
Enter fullscreen mode Exit fullscreen mode