!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! Haskell highlighting for Nedit !! Koen Claessen, September 1998 nedit.highlightPatterns: \ Haskell:1:0{\n\ comments1:"{-":"-}"::Comment::\n\ comments2:"--":"$"::Comment::\n\ comments3:"#!":"$"::Comment::\n\ strings:"""":"""":"\\n":String::\n\ chars:"'.'":::String::\n\ keywords:"<(type|data|let|in|case|of|module|class|where|instance|import|do|deriving|-\\>|\\<-|=\\>|if|then|else|newtype|hiding|infix|infixl|infixr|primitive)>":::Keyword::\n\ symbols:"<(\\||\\.|:|=)>":::Keyword::\n\ braces:"[{}\\[\\]]":::Keyword::\n\ }\n\ Literate Haskell:1:0{\n\ comments1:"{-":"-}"::Comment:Code:\n\ comments2:"--":"$"::Comment:Code:\n\ comments3:"#!":"$"::Comment:Code:\n\ strings:"""":"""":"\\n":String:Code:\n\ chars:"'.'":::String:Code:\n\ keywords:"<(type|data|let|in|case|of|module|class|where|instance|import|do|deriving|-\\>|\\<-|=\\>|if|then|else|newtype|hiding|infix|infixl|infixr|primitive)>":::Keyword:Code:\n\ symbols:"<(\\||\\.|:|=)>":::Keyword:Code:\n\ braces:"[{}\\[\\]]":::Keyword:Code:\n\ comments11:"{-":"-}"::Comment:Code1:\n\ comments21:"--":"$"::Comment:Code1:\n\ comments31:"#!":"$"::Comment:Code1:\n\ strings1:"""":"""":"\\n":String:Code1:\n\ chars1:"'.'":::String:Code1:\n\ keywords1:"<(type|data|let|in|case|of|module|class|where|instance|import|do|deriving|-\\>|\\<-|=\\>|if|then|else|newtype|hiding|infix|infixl|infixr)>":::Keyword:Code1:\n\ symbols1:"<(\\||\\.|:|=)>":::Keyword:Code1:\n\ braces1:"[{}\\[\\]]":::Keyword:Code1:\n\ Code:"^\\>":"$"::Plain::\n\ CodeBeginEnd:"^[\\\\]begin{code}$":"^[\\\\]end{code}$"::Meta Keyword::\n\ Code1:"^":"$"::Plain:CodeBeginEnd:\n\ Text:"^.":"$"::Text Comment::\n\ }\n\ nedit.languageModes: \ Haskell:.gs .hs:"#!/usr/bin/runhugs.*":Auto::::\n\ Literate Haskell:.lhs:"#!/usr/bin/runhugs.*":Auto::::\n\ nedit.styles: \ Keyword:blue3:Plain\n\ Comment:red4:Italic\n\ Text Comment:grey35:Plain\n\ String:darkgreen:Plain\n\ Meta Keyword:purple4:Plain\n