diff options
| author | kr.angelov <kr.angelov@chalmers.se> | 2008-05-22 11:59:31 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@chalmers.se> | 2008-05-22 11:59:31 +0000 |
| commit | df0c4f81fa9c620d7c63af79c0b183a6beccf0bd (patch) | |
| tree | 0cdc80b29f8f5df0ad280f17be0ba9d46fbd948c /src-3.0/GF/Text/ExtraDiacritics.hs | |
| parent | 6394f3ccfbb9d14017393b433a38a3921f1083e5 (diff) | |
remove all files that aren't used in GF-3.0
Diffstat (limited to 'src-3.0/GF/Text/ExtraDiacritics.hs')
| -rw-r--r-- | src-3.0/GF/Text/ExtraDiacritics.hs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src-3.0/GF/Text/ExtraDiacritics.hs b/src-3.0/GF/Text/ExtraDiacritics.hs deleted file mode 100644 index f3d811c2c..000000000 --- a/src-3.0/GF/Text/ExtraDiacritics.hs +++ /dev/null @@ -1,37 +0,0 @@ ----------------------------------------------------------------------- --- | --- Module : ExtraDiacritics --- Maintainer : (Maintainer) --- Stability : (stable) --- Portability : (portable) --- --- > CVS $Date: 2005/04/21 16:23:36 $ --- > CVS $Author: bringert $ --- > CVS $Revision: 1.5 $ --- --- (Description of the module) ------------------------------------------------------------------------------ - -module GF.Text.ExtraDiacritics (mkExtraDiacritics) where - -mkExtraDiacritics :: String -> String -mkExtraDiacritics = mkExtraDiacriticsWord - -mkExtraDiacriticsWord :: String -> String -mkExtraDiacriticsWord str = case str of - [] -> [] - '<' : cs -> '<' : spoolMarkup cs - -- - '/' : cs -> toEnum 0x0301 : mkExtraDiacriticsWord cs - '~' : cs -> toEnum 0x0306 : mkExtraDiacriticsWord cs - ':' : cs -> toEnum 0x0304 : mkExtraDiacriticsWord cs -- some of these could be put in LatinA - '.' : cs -> toEnum 0x0323 : mkExtraDiacriticsWord cs - 'i' : '-' : cs -> toEnum 0x0268 : mkExtraDiacriticsWord cs -- in IPA extensions - -- Default - c : cs -> c : mkExtraDiacriticsWord cs - -spoolMarkup :: String -> String -spoolMarkup s = case s of - [] -> [] -- Shouldn't happen - '>' : cs -> '>' : mkExtraDiacriticsWord cs - c1 : cs -> c1 : spoolMarkup cs |
