Created
May 13, 2019 21:29
-
-
Save MarcelineVQ/c073c369cf19542c1be7e841530811a1 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
| formatNat' : Nat -> String | |
| formatNat' n = case isLTE 10 n of | |
| (Yes prf) => "." ++ show (n - 10) | |
| (No contra) => show n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment