I have list of strings
field :: [String]
field = ["......",
"......",
"......",
"......",
"......",
"......"]
But it is static. I am trying to write function, that take two numbers (length of one string X and number of all strings Y).
createField :: (Int, Int) -> [String]
For example:
createField 4, 5
It should return this
["....",
"....",
"....",
"....",
"...."]
Can you help me with this?