| Copyright | © Frank Jung 2021-2023 | 
|---|---|
| License | GPL-3.0-only | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Strings
Description
Synopsis
- newtype CharList = CharList {}
- removeNonUpperCase :: String -> String
Types
Example of creating and using new types.
>>>CharList "this will be shown!"CharList {getCharList = "this will be shown!"}
>>>CharList "benny" == CharList "benny"True
>>>CharList "benny" == CharList "andy"False
Constructors
| CharList | |
| Fields | |
Functions
removeNonUpperCase :: String -> String Source #
Remove non upper case characters.
>>>removeNonUpperCase("ABcdeF")"ABF"