Haskell IO: Couldn't match type `IO' with `[]'

前端 未结 0 1277
悲哀的现实
悲哀的现实 2020-12-14 15:05
playerInstruction :: [String] -> Int -> [String]
playerInstruction mapList count = do
    if count == 0
        then printf "First direction : "
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题