1import System.Environment
10 let oname = case args of
11 [] -> "../Data/Text/Fusion/CaseMapping.hs"
13 psc <- parseSC "SpecialCasing.txt"
14 pcf <- parseCF "CaseFolding.txt"
16 Left err -> print err >> return undefined
19 Left err -> print err >> return undefined
21 h <- openFile oname WriteMode
22 mapM_ (hPutStrLn h) ["{-# LANGUAGE Rank2Types #-}"
23 ,"-- AUTOMATICALLY GENERATED - DO NOT EDIT"
24 ,"-- Generated by scripts/SpecialCasing.hs"
25 ,"module Data.Text.Fusion.CaseMapping where"
27 ,"import Data.Text.Fusion.Internal"
29 mapM_ (hPutStrLn h) (mapSC "upper" upper toUpper scs)
30 mapM_ (hPutStrLn h) (mapSC "lower" lower toLower scs)
31 mapM_ (hPutStrLn h) (mapCF cfs)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list