Prelude> False || True
True
Prelude> False || 5
<interactive>:6:10:
No instance for (Num Bool) arising from the literal ‘5’
In the second argument of ‘(||)’, namely ‘5’
In the expression: False || 5
In an equation for ‘it’: it = False || 5
Prelude>
Note that depending on language it may work different