Created
January 10, 2024 02:01
-
-
Save Philogy/a7dd9d1663ecec9755cae0d6444fc1c5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(defn _double [:uint256 x] :uint256 [:internal :pure] | |
(* x 2)) | |
(defn add [:uint256 x] :uint256 [:external :pure] | |
(if (< x 10) 0 (self/_double x))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment