Question
I have defined a user defined type as
type asd = [(Char,Int)]
How can i assigin a value to a type asd such as asd= [("Hello",1)] (Not in run time) to keep hard code a value in source code
is this possible ? , becouse there is no variable concept in functional programming
You are defining a constant. An example would be:
That is, you just declare what the value of
asdis.