hsdev-0.3.1.3: Haskell development library

Safe HaskellNone
LanguageHaskell98

HsDev.Tools.Ghc.Prelude

Contents

Synopsis

Documentation

reduce :: ([a] -> a) -> [a] -> [a] Source #

Reduce list to one element

trim :: String -> String Source #

Trim string

Regexes

rx :: String -> String -> Maybe String Source #

Match regex

srx :: String -> String -> String -> String Source #

Replace regex

splitRx :: String -> String -> [String] Source #

Split by regex

Case

titleCase :: String -> String Source #

Convert to title case

camelCase :: String -> String Source #

Convert to camel case

underscoreCase :: String -> String Source #

Convert to underscore case

module Data.Char

module Data.List

module Data.Maybe