typed-wire-0.3.1.0: Language-independent type-safe communication

Safe HaskellSafe
LanguageHaskell2010

TW.JsonRepr

Synopsis

Documentation

camelTo2 :: Char -> String -> String Source

Better version of camelTo. Example where it works better:

(taken from Aeson library)

camelTo '_' 'CamelAPICase' == "camel_apicase"
camelTo2 '_' 'CamelAPICase' == "camel_api_case"