---------------------------------------------------------------------- --- Knud van Eeden --- 07 September 2008 - 08:21 pm ------------------ Computer: Editor: Text: TSE: Syntax: Highlight: Language: Computer: Haskell: File: Source: haskell.txt === --- cut here: begin --------------------------------------------------file: extension: .hs .lhs .xhs--- cut here: end ---------------------------------------------------- === --- cut here: begin --------------------------------------------------wordset=0-9A-Z_a-z HiliteIncompleteQuotes=TRUE IgnoreCaseOfKeyWords=FALSE HiliteIf0StyleComments=TRUE Transparent=FALSE CursorLineFlag=TransparentCursorLine NumberFlag=Integer|C-Hex|ASM-Hex MultiLineDelimited1={- -} TillEOL1=-- TillEOLStartCol1=0 Quote1=" Quote2=' Directive1=# [KeyWords1] class case data deriving do else import instance if in let module newtype of primitive type then where [KeyWords2] ! !! & && ( ) * ** + ++ , < > -> .. / // /= :: ; < <- <= = == => > >= >> >>= [ ] ^ _ ` { | || } ~ [KeyWords3] Addr EQ EmptyRec EmptyRow Either False FilePath GT Hugs_Error Hugs_ExitWith Hugs_Return Hugs_SuspendThread IO IOError IOResult Just LT Left Maybe Nothing Ordering Rec Right Ratio Rational ST True [KeyWords4] abs absReal accumulate acos acosh all and any appendFile applyM approxRational asTypeOf asciiTab asin asinh atan atan2 atanh break catch ceiling chr compare concat concatMap const cos cosh curry cycle decodeFloat denominator digitToInt div divMod doubleToFloat doubleToRatio doubleToRational drop dropWhile either elem encodeFloat enumFrom enumFromThen enumFromThenTo enumFromTo error even exp exponent fail filter flip floatDigits floatProperFraction floatRadix floatRange floatToRational floor foldl foldl' foldl1 foldr foldr1 fromDouble fromEnum fromInt fromInteger fromIntegral fromRational fromRealFrac fst gcd getChar getContents getLine guard head hugsIORun hugsPutStr id inRange index init intToDigit intToRatio interact ioeGetErrorString isAlpha isAlphanum isAscii isControl isDenormalized isDigit isHexDigit isIEEE isInfinite isLower isNaN isNegativeZero isOctDigit isPrint isSpace isUpper iterate last lcm length lex lexDigits lexLitChar lexmatch lines log logBase lookup map mapM mapM_ max maxBound maximum maybe min minBound minimum mod negate nonnull not notElem null numerator numericEnumFrom numericEnumFromThen numericEnumFromThenTo numericEnumFromTo odd or ord otherwise pi pred primAcosDouble primAcosFloat primAsinDouble primAsinFloat primAtanDouble primAtanFloat primCharToInt primCmpChar primCmpDouble primCmpFloat primCmpInt primCmpInteger primCompAux primCosDouble primCosFloat primDivDouble primDivFloat primDivInt primDoubleDecode primDoubleDigits primDoubleEncode primDoubleMaxExp primDoubleMinExp primDoubleRadix primEqChar primEqDouble primEqFloat primEqInt primEqInteger primEvenInt primEvenInteger primExitWith primExpDouble primExpFloat primFloatDecode primFloatDigits primFloatEncode primFloatMaxExp primFloatMinExp primFloatRadix primIntToChar primIntToDouble primIntToFloat primIntToInteger primIntegerToDouble primIntegerToFloat primIntegerToInt primLogDouble primLogFloat primMaxInt primMinInt primMinusDouble primMinusFloat primMinusInt primMinusInteger primModInt primMulDouble primMulFloat primMulInt primMulInteger primNegDouble primNegFloat primNegInt primNegInteger primPiDouble primPiFloat primPlusDouble primPlusFloat primPlusInt primPlusInteger primPmFlt primPmInt primPmInteger primPmNpk primPmSub primQrmInt primQrmInteger primQuotInt primRationalToDouble primRationalToFloat primRemInt primShowsDouble primShowsFloat primShowsInt primShowsInteger primSinDouble primSinFloat primSqrtDouble primSqrtFloat primTanDouble primTanFloat primbindIO primretIO print product properFraction protectEsc putChar putStr putStrLn quot quotRem range rangeSize rationalToDouble rationalToFloat rationalToRealFloat read readDec readField readFile readFloat readHex readIO readInt readList readLitChar readLn readOct readParen readSigned reads readsPrec realFloatToRational recip reduce rem repeat replicate return reverse round scaleFloat scanl scanl1 scanr scanr1 seq sequence show showChar showField showInt showList showLitChar showParen showSigned showString shows showsPrec significand signum signumReal sin sinh snd span splitAt sqrt strict subtract succ sum tail take takeWhile tan tanh toEnum toInt toInteger toLower toRational toUpper truncate uncurry undefined unlines until unwords unzip unzip3 userError words writeFile zero zip zip3 zipWith zipWith3 [KeyWords5] Bool Char Float Int Integer Long String [KeyWords6] Bounded Double Enum Eq Eval Functor Fractional Floating Ix Integral Monad MonadZero MonadPlus Num Ord Read Real RealFrac RealFloat Show Void [KeyWords7] [KeyWords8] [KeyWords9]--- cut here: end ---------------------------------------------------- === Steps: Overview: 1. Save this as haskell.txt in your TSE ..\synhi directory 2. Run the TSE macro ..\mac\syncfg2.mac 3. Save the result immediately as haskell.syn in your TSE ..\synhi directory 4. Run the TSE macro ..\mac\syncfg.mac 5. Choose 'configure associations' 6. Press 'Ins' key to insert a new association 7. Give the name of your mapping file haskell 8. Give the extension to be associated with, File extensions are .hs .lhs .xhs If you now load TSE again, and open a file with the extension .hs it will highlight the syntax. === Book: see also: === Diagram: see also: === File: see also: === File: version: control: see also: === Help: see also: === Image: see also: === Internet: see also: --- Haskell: Link: Can you give an overview of links? http://goo.gl/Elqy9 --- Computer: Editor: Text: TSE: Syntax: Highlight: Link: Overview: Can you give an overview of links? http://goo.gl/IlARM === Podcast: see also: === Record: see also: === Screencast: see also: === Table: see also: === Video: see also: === <version>1.0.0.0.6</version> ----------------------------------------------------------------------
|