Last active
June 13, 2017 12:20
-
-
Save deque-blog/c33a72d6c3c0f3df1bf8fb89e8b4cc3f 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
Idris> :doc Num | |
Interface Num | |
The Num interface defines basic numerical arithmetic. | |
Parameters: | |
ty | |
Methods: | |
(+) : Num ty => ty -> ty -> ty | |
(*) : Num ty => ty -> ty -> ty | |
fromInteger : Num ty => Integer -> ty | |
Child interfaces: | |
Integral ty | |
Fractional ty | |
Neg ty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment