I run often in the problem that GHC interprets "some text" as String when I need Text in places where both are acceptable, only to find later the error in another use and forcing an explicit type annotation.
Is there a way to set a preference for GHC to prefer Text and not String? The question is likely the same as this one but the only answer there is very heavy and not likely usable for me. Is there a better one?
I would like to be able to set a preference, that unqualified "some text" is of type Text to avoid the error in the following contrived example:
import Data.Text
some = "some"
text1 = "text1":: Text
two = Data.Text.concat [some, text1]