I am trying to figure out how to search for a character in a string of character that will output its coordinate.
I am trying to search for the character 'A'
The list is:
["OPQ","EAB","XGV"]
The function is:
searchA :: [[Char]] -> (Int,Int)
The user then calls the function as such:
searchA ["OPQ","EAB","XGV"]
I am expecting an output of (1,1)
Sorry guys, new to stackoverflow and haskell