hsdev-0.1.7.1: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.

Safe HaskellNone
LanguageHaskell98

HsDev.Tools.Ghc.Prelude

Contents

Synopsis

Documentation

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

Reduce list to one element

one :: a -> [a] Source

Make list from single 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