I have developed a haskell application which is tested with WinHugs interpreter working fine .. when i try to comiple the same application using WinGHCi it prompts a error
lexical error in string/character literal at character '\t'
I have used \t in IO Program to display text
Example :- putStr "\n \n \t \t Hello ! "
Any solutions ?
You may want to try this step-by-step guide:
program.hsthis file should contain a functionmainof the typeIO ()that is executed at the program’s start.ghc -O3 --make program.hsto compileprogram.hsinto an executableprogram.exe.program.exeIf the error still occurs, please post some more code to aid debugging.