Constants in Idris
Constants support character, string, boolean, and numeric values.
To run the program, put the code in a file named constants.idr
and use the Idris compiler to execute it:
Now that we can define and use constants in a basic Idris program, let’s learn more about the language.