#5673: GHCi ignores {-# LANGUAGE OverloadedStrings #-}
--------------------+-------------------------------------------------------
 Reporter:  erikd   |          Owner:                  
     Type:  bug     |         Status:  new             
 Priority:  normal  |      Component:  GHCi            
  Version:  7.0.4   |     Resolution:                  
 Keywords:          |       Testcase:                  
Blockedby:          |             Os:  Unknown/Multiple
 Blocking:          |   Architecture:  Unknown/Multiple
  Failure:  Other   |  
--------------------+-------------------------------------------------------

Comment(by erikd):

 I agree with momeata.

 My main problem with this is the element of surprise; the main function
 works correctly while calling newlineCount doesn't.

 Even Haskell beginners are being told that in most cases ByteString or
 Text should be chosen over String. They are also encouraged to try things
 out in GHCi. This behavior will confound and confuse them. It certainly
 did that for me and I've although I'm not anywhere near a Haskell expert I
 have been using Haskell for many years.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5673#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to