Friday, 3 June 2016

GHCi: Change working directory

Usually GHCi can able to see the source files in whatever directory it was run. To change the source directory use ‘:cd’ command.


Prelude> :cd {PATH TO YOUR SOURCE DIRECTORY}



Previous                                                 Next                                                 Home

No comments:

Post a Comment