diff options
Diffstat (limited to 'indexing/hsindex/src/HsIndex/CharLists/Symbols.hs')
-rw-r--r-- | indexing/hsindex/src/HsIndex/CharLists/Symbols.hs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/indexing/hsindex/src/HsIndex/CharLists/Symbols.hs b/indexing/hsindex/src/HsIndex/CharLists/Symbols.hs new file mode 100644 index 0000000000..813bacfbde --- /dev/null +++ b/indexing/hsindex/src/HsIndex/CharLists/Symbols.hs @@ -0,0 +1,30 @@ +-- | +-- Module : HsIndex.CharLists.Symbols +-- Copyright : Jean-Luc JOULIN 2018-2019 +-- License : General Public Licence (GPLv3) +-- Maintainer : Jean-Luc JOULIN <jean-luc-joulin@orange.fr> +-- Stability : alpha +-- Portability : portable +-- The list of symbols for all languages. + + +module HsIndex.CharLists.Symbols where + + +-- | Allowed symbols. +allowedSymb = " &~\"'()[]{}<>*+/`^#@°=$£µ%§:;.,?" + +-- | Forbidden symbols. +-- +-- These symbols +forbiddenSymb = "!|\n\r" -- "!|{}\n\r" + +-- | The hyphens symbols. +lstHyph = "-_" + +-- | List of digits. +lstDigit = "0123456789" + +lstSpace = " " + + |