00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 $language_data = array (
00043 'LANG_NAME' => 'Haskell',
00044 'COMMENT_SINGLE' => array( 1 => '--'),
00045 'COMMENT_MULTI' => array('{-' => '-}'),
00046 'CASE_KEYWORDS' => 0,
00047 'QUOTEMARKS' => array('"'),
00048 'ESCAPE_CHAR' => "\\",
00049 'KEYWORDS' => array(
00050
00051 1 => array(
00052 'as',
00053 'case', 'of', 'class', 'data', 'default',
00054 'deriving', 'do', 'forall', 'hiding', 'if', 'then',
00055 'else', 'import', 'infix', 'infixl', 'infixr',
00056 'instance', 'let', 'in', 'module', 'newtype',
00057 'qualified', 'type', 'where'
00058 ),
00059
00060 2 => array(
00061 'Foreign', 'Numeric', 'Prelude'
00062 ),
00063
00064 3 => array(
00065 'not', 'otherwise', 'maybe',
00066 'either', 'fst', 'snd', 'curry', 'uncurry',
00067 'compare',
00068 'max', 'min', 'succ', 'pred', 'toEnum', 'fromEnum',
00069 'enumFrom', 'enumFromThen', 'enumFromTo',
00070 'enumFromThenTo', 'minBound', 'maxBound',
00071 'negate', 'abs', 'signum',
00072 'fromInteger', 'toRational', 'quot', 'rem',
00073 'div', 'mod', 'quotRem', 'divMod', 'toInteger',
00074 'recip', 'fromRational', 'pi', 'exp',
00075 'log', 'sqrt', 'logBase', 'sin', 'cos',
00076 'tan', 'asin', 'acos', 'atan', 'sinh', 'cosh',
00077 'tanh', 'asinh', 'acosh', 'atanh',
00078 'properFraction', 'truncate', 'round', 'ceiling',
00079 'floor', 'floatRadix', 'floatDigits', 'floatRange',
00080 'decodeFloat', 'encodeFloat', 'exponent',
00081 'significand', 'scaleFloat', 'isNaN', 'isInfinite',
00082 'isDenomalized', 'isNegativeZero', 'isIEEE',
00083 'atan2', 'subtract', 'even', 'odd', 'gcd',
00084 'lcm', 'fromIntegral', 'realToFrac',
00085 'return', 'fail', 'fmap',
00086 'mapM', 'mapM_', 'sequence', 'sequence_',
00087 'id', 'const','flip',
00088 'until', 'asTypeOf', 'error', 'undefined',
00089 'seq','map','filter', 'head',
00090 'last', 'tail', 'init', 'null', 'length',
00091 'reverse', 'foldl', 'foldl1', 'foldr',
00092 'foldr1', 'and', 'or', 'any', 'all', 'sum',
00093 'product', 'concat', 'concatMap', 'maximum',
00094 'minimum', 'scanl', 'scanl1', 'scanr', 'scanr1',
00095 'iterate', 'repeat', 'cycle', 'take', 'drop',
00096 'splitAt', 'teakWhile', 'dropWhile', 'span',
00097 'break', 'elem', 'notElem', 'lookup', 'zip',
00098 'zip3', 'zipWith', 'zipWith3', 'unzip', 'unzip3',
00099 'unzip', 'unzip3', 'lines', 'words', 'unlines',
00100 'unwords', 'showPrec', 'show', 'showList',
00101 'shows', 'showChar', 'showString', 'showParen',
00102 'readsPrec', 'readList', 'reads', 'readParen',
00103 'read', 'lex', 'putChar', 'putStr', 'putStrLn',
00104 'print', 'getChar', 'getLine', 'getContents',
00105 'interact', 'readFile', 'writeFile', 'appendFile',
00106 'readIO', 'readLn', 'ioError', 'userError', 'catch'
00107 ),
00108
00109 4 => array (
00110 'Bool', 'Maybe', 'Either', 'Ord', 'Ordering',
00111 'Char', 'String', 'Eq', 'Enum', 'Bounded',
00112 'Int', 'Integer', 'Float', 'Double', 'Rational',
00113 'Num', 'Real', 'Integral', 'Fractional',
00114 'Floating', 'RealFrac', 'RealFloat', 'Monad',
00115 'Functor', 'Show', 'ShowS', 'Read', 'ReadS',
00116 'IO'
00117 ),
00118
00119 5 => array (
00120 'IOError', 'IOException'
00121 )
00122 ),
00123
00124 'SYMBOLS' => array(
00125 '|', '->', '<-', '@', '!', '::', '_', '~', '=',
00126 '&&', '||', '==', '/=', '<', '<=', '>',
00127 '>=','+', '-', '*','/', '**', '^', '^^',
00128 '>>=', '>>', '=<<', '$', '.', '$!',
00129 '++', '!!'
00130 ),
00131 'CASE_SENSITIVE' => array(
00132 GESHI_COMMENTS => true,
00133 1 => true,
00134 2 => true,
00135 3 => true,
00136 4 => true,
00137 5 => true
00138 ),
00139 'STYLES' => array(
00140 'KEYWORDS' => array(
00141 1 => 'color: #06c; font-weight: bold;',
00142 2 => 'color: #06c; font-weight: bold;',
00143 3 => 'font-weight: bold;',
00144 4 => 'color: #cccc00; font-weight: bold;',
00145 5 => 'color: maroon;'
00146 ),
00147 'COMMENTS' => array(
00148 1 => 'color: #5d478b; font-style: italic;',
00149 'MULTI' => 'color: #5d478b; font-style: italic;'
00150 ),
00151 'ESCAPE_CHAR' => array(
00152 ),
00153 'BRACKETS' => array(
00154 0 => 'color: green;'
00155 ),
00156 'STRINGS' => array(
00157 0 => 'background-color: #3cb371;'
00158 ),
00159 'NUMBERS' => array(
00160 0 => 'color: red;'
00161 ),
00162 'METHODS' => array(
00163 1 => 'color: #060;'
00164 ),
00165 'REGEXPS' => array(
00166 ),
00167 'SYMBOLS' => array(
00168 0 => 'color: #66cc66; font-weight: bold;'
00169 ),
00170 'SCRIPT' => array(
00171 )
00172 ),
00173 'URLS' => array(
00174
00175 1 => '',
00176
00177 2 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/{FNAME}.html',
00178
00179 3 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:{FNAME}',
00180
00181 4 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}',
00182
00183 5 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}',
00184 ),
00185 'OOLANG' => false,
00186 'OBJECT_SPLITTERS' => array(
00187 ),
00188 'REGEXPS' => array(
00189 ),
00190 'STRICT_MODE_APPLIES' => GESHI_NEVER,
00191 'SCRIPT_DELIMITERS' => array(
00192 ),
00193 'HIGHLIGHT_STRICT_BLOCK' => array(
00194 )
00195 );
00196
00197 ?>