glover
glover

Reputation: 245

WinGHCi always throws an exception when loading a file

When using WinGHCi to load a *.hs file, an exception is always thrown. Can anyone help me out?

Details: Prelude> :l qsort.hs [1 of 1] Compiling Main ( qsort.hs, interpreted ) ** Exception: CreateDirectory ".": permission denied (Access is denied.)*

Upvotes: 2

Views: 538

Answers (1)

glover
glover

Reputation: 245

It is solved. qsort.hs is in d:\ . Now, I move it to current user's directory, it can be loaded successfully. Anyway, why WinGHCi cannot access d:\? it is still a question.

Upvotes: 3

Related Questions