Created
April 11, 2023 22:23
-
-
Save Ismael-VC/48c0baca37dcd28985a247ecc6804dc5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@foo ( a b -- bool ) [ | |
( if ) [ ( a b ) EQU ] ?&then [ | |
( else ) [ | |
#00 ( return false ) | |
RTN | |
] &then [ | |
#01 ( return true ) | |
] | |
] | |
RTN | |
] | |
@bar ( a b -- bool ) [ | |
( if ) [ ( a b ) NEQ ] ?&else [ | |
( then ) [ | |
#01 ( return true ) | |
RTN | |
] &else [ | |
#01 ( return true ) | |
] | |
] | |
RTN | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment