ghci> :set -XOverloadedStrings ghci> let hdrs = H.insert "Accept" "text/plain" $ H.empty ghci> hdrs H {unH = [("accept","text/plain")]} ghci> H.insert "Accept" "text/html" $ hdrs H {unH = [("accept","text/plain,text/html")]}
ghci> :set -XOverloadedStrings ghci> let hdrs = H.unsafeInsert "accept" "text/plain" $ H.empty ghci> hdrs H {unH = [("accept","text/plain")]} ghci> let hdrs' = H.unsafeInsert "accept" "text/html" $ hdrs ghci> hdrs' H {unH = [("accept","text/html"), ("accept","text/plain")]} ghci> H.lookup "accept" hdrs' Just "text/html"