j n S r SSKrSSKJrJrJrJrJrJrJ r J
r
SSKJrJ
r
JrJrJrJrJrJrJrJr SSKJr / SQr " S S\5 r " S S
\5 r " S S\5 r " S
S\5 r " S S\5 r " S S\5 r " S S\5 r " S S\5 r! " S S\5 r" " S S\5 r# " S S\5 r$g)z
pygments.lexers.haskell
~~~~~~~~~~~~~~~~~~~~~~~
Lexers for Haskell and related languages.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)Lexer
RegexLexerbygroups
do_insertionsdefaultincludeinheritline_re)
TextCommentOperatorKeywordNameStringNumberPunctuationGeneric
Whitespace) unistring)
HaskellLexer
HspecLexer
IdrisLexer AgdaLexerCryptolLexerLiterateHaskellLexerLiterateIdrisLexerLiterateAgdaLexerLiterateCryptolLexer KokaLexerc \ rS rSrSrSrSrSS/rS/rS/r S r
S
rSr/ S\
4PS
\R 4PS\R S4PS\R$ S4PS\R$ S4PS\R( 4PSR+ SR- \5 5 \R$ 4PS\R0 4PS\R4 - S- \R6 4PS\R4 - S- \4PS\R8 - S- \R: 4PS\R8 - S- \R: 4PS\R: 4PS\R: 4PS \R: 4PS!\R6 4PS"\R> 4PS#\R: 4PS$\4PS%\ RB 4PS&\ RB 4PS'\ RB 4PS(\ RB 4PS)\ RD 4PS*\ RF 4PS+\ RH 4PS,\ RJ 4PS-\R0 S.4PS/\S04PS1\R: 4PS2\RL 4PS3\'4PS\
4S/\S04S4\'S54S6\4S7\R8 - S8- \R8 - S9- \(" \RR \
\\
\5 S54S7\R8 - S:- \(" \RR \
\\
\'5 S;4S7\R8 - S<- \(" \RR \
\'5 S;4S=\RR S54/S\
4S7\R8 - S<- \(" \RR \
\'5 S;4S>\R8 - S?- \RR S54/S\
4S>\R8 - S@- \R: 4SA\R4 - SB- \R6 4S
\R 4S\R S4SC\'4S$\4SD\'SE4S4\'SF4/ SG\R 4S\R SH4SI\R S54SJ\R 4/SK\R0 S54SL\RT SM4S-\R0 S54/SN\4SL\RT SM4S/\S54/SO\RT S54SP\R8 - SQ- \RT S54SR- \5 \RT S54SR\RT S54SS\RT S54ST\RT S54SU\(" \
\RT 5 S54/SV.r+SWr,gX)Yr zH
A Haskell lexer based on the lexemes defined in the Haskell 98 Report.
Haskellzhttps://www.haskell.org/haskellhsz*.hsztext/x-haskellz0.8)caseclassdatar derivingdoelsefamilyifin
infix[lr]?instanceletnewtypeofthentypewhere_NULSOHz[SE]TXEOTENQACKBELBSHTLFVTFFCRzS[OI]DLEzDC[1-4]NAKSYNETBCANEMSUBESCz[FGRU]SSPDEL\s+!--(?![!#$%&*+./<=>?@^|_~:\\]).*?$\{-comment
\bimport\bimport
\bmodule\bmodule \berror\b\b({})(?!\')\b|z'[^\\]'z^[_z][\w\']*z'?[_z][\w']*z('')?[z(')[z
(')\[[^\]]*\]z(')\([^)]*\)z(')[:!#$%&*+.\\/<=>?@^|~-]+\\(?![:!#$%&*+.\\/<=>?@^|~-]+)+(<-|::|->|=>|=)(?![:!#$%&*+.\\/<=>?@^|~-]+):[:!#$%&*+.\\/<=>?@^|~-]*[:!#$%&*+.\\/<=>?@^|~-]+z40[xX]_*[\da-fA-F](_*[\da-fA-F])*_*[pP][+-]?\d(_*\d)*zR0[xX]_*[\da-fA-F](_*[\da-fA-F])*\.[\da-fA-F](_*[\da-fA-F])*(_*[pP][+-]?\d(_*\d)*)?z\d(_*\d)*_*[eE][+-]?\d(_*\d)*z+\d(_*\d)*\.\d(_*\d)*(_*[eE][+-]?\d(_*\d)*)?z0[bB]_*[01](_*[01])*z0[oO]_*[0-7](_*[0-7])*z 0[xX]_*[\da-fA-F](_*[\da-fA-F])*z \d(_*\d)*' character"string\[\]\(\)[][(),;`{}]\)#popqualified\bz([z][\w.]*)(\s+)(as)(\s+)([z][\w.]*)z][\w.]*)(\s+)(hiding)(\s+)(\()funclistz][\w.]*)(\s+)(\()[\w.]+[z][\w.]*z]\w*z(_[\w\']+|[z ][\w\']*),\(rg rg #pop:2[^-{}]+#push-\}[-{}][^\\']'\\escape[^\\"]+[abfnrtv"\'&\\]z\^[][z@^_]o[0-7]+x[\da-fA-F]+\d+ (\s+)(\\)rootrS rU rg rQ r^ r` rt N)-__name__
__module____qualname____firstlineno____doc__nameurlaliases filenames mimetypes
version_addedreservedasciir r Single Multiliner Reservedr Exceptionformatjoinr CharuniLlFunctionLuTyper
Wordr FloatBinOctHexIntegerBuiltinr r NamespaceEscapetokens__static_attributes__r} J/usr/lib/rads/venv/lib/python3.13/site-packages/pygments/lexers/haskell.pyr r s D
$C$GI!"IMFH
9E*
Z *
27>>B *
W&& 2*
G,,h7*
G,,h7*
4>>**
%
%chhx&8
97;K;KL*
%*
cff_{
*DMM:*
svv
*D1*
+
-w||<*
svv
+W\\:!*
" w||,#*
$ gll+%*
&