suve

awful: function: impl

Declaration

bool :impl ( bool $p , bool $q )
bool :-> ( bool $p , bool $q )

Summary

Results the result of boolean formula p → q.

Example

# :impl example.
!if :impl lTRUE lfalse
    :writeln s"I think something's wrong..."
!else
    :writeln s"Boolean logic in awful seems to work fine."
!fi

wikipage modified on 2014/0601/2317