Yes, but to get a reasonable string implementation you need
{-# LANGUAGE OverloadedStrings #-}
plus lots of other ceremony.(There's only one form of string literal in C++ too; the "s" and "sv" suffixes shown above are operators, not part of the literal).