summaryrefslogtreecommitdiff
path: root/indexing/hsindex/src/HsIndex/CharLists/English.hs
blob: 27adf8186e71f60cf3ed81710b2196072ce8c361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
-- |
-- Module      :  HsIndex.CharLists.English
-- 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 letters, numbers and symbol definition for the english language.


module HsIndex.CharLists.English where

import           HsIndex.Types
import           HsIndex.Functions
import           HsIndex.CharLists.Symbols
import           HsIndex.CharLists.French       



ordEnglish = lstLatinLetter

ordEnglishUpperLower = upperLower lstLatinLetter


-- | 
langDefEnglish :: LangDef
langDefEnglish = LangDef
  { lstLetters  = lstSpace ++ ordEnglishUpperLower
  , lstNumbers  = lstDigit
  , lstSymbols  = Nothing
  , lstSubs     = subsFrenchUpperLower++subsSymb
  , lstSecOrder = [Symbols, Numbers, Letters]
  }