Skip to content

Improved response from GHCi about ":l" or ":r".

I inadvertently wrote :l instead of :r and after typing on "return" GHCi replied\\

Prelude> :l
Ok, modules loaded: none.

It disturbed me for a few moments. Why OK? Sorry but again this does not make sense here. The interpreter does not load anything. It is better to say\\

Failed, modules loaded: none.

And so after I write\\

Prelude> :r
Ok, modules loaded: none.

Here too it is better to say\\

Failed, modules loaded: none.
Trac metadata
Trac field Value
Version 8.0.2
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information