ghcup-0.2.7.0 / lib / GHCup / Prelude / JSON.hs
module GHCup.Prelude.JSON whereimport qualified Data.Text as TmapHead :: (a -> a) -> [a] -> [a]mapHead _ [] = []mapHead f (x:xs) = f x : xslower :: Char -> Charlower = T.head . T.toLower . T.singletonupper :: Char -> Charupper = T.head . T.toUpper . T.singleton