Just to let you know that that is not a homework just for one function representing the map. It is my project wich I subdivided into peaces but since I am not that new to haskell I am not sure if I am on the right track so that is my code till now:
type Line = [Char] type Board = [Line] so my question is if this is ok to represent a map. If yes I will try to write the function which makes it 4 x 4 myself. What I jsut need as an answer is Yes or No. Just to let you know is that I am trying to build the Wumpus World iliali16 wrote: > > Hi can you please tell me how can I represent 4x4 map in haskell.Should I > show it as a list of lines and each line to be a list of char or I am > mistaken? Thanks in advance! > -- View this message in context: http://www.nabble.com/How-can-I-represent-4x4-map-in-haskell-tp16396273p16396290.html Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe