Created
May 25, 2023 19:02
-
-
Save serpent7776/b50689fa73ed8ec41521911c59e13dad 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
datatype '_ ~ = && of '_ * '_ | |
| || of '_ * '_ | |
| ! of '_ | |
| ` of '_ | |
infix || && | |
fun \ ((\ && $) || (% && ?)) = (! \ || ! $) && (! % || ! ?) | |
| \ ((\ || $) && (% || ?)) = (! \ && ! $) || (! % && ! ?) | |
| \ ($ && %) = ! $ || ! % | |
| \ ($ || %) = ! $ && ! % | |
| \ (` $) = ! (` $) | |
| \ (! $) = (` o `) $ | |
fun main () = () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment