1 -- compiled solely to produce an .hi file
5 -- NO: really builtin (0.20+): trace,
7 (%), numerator, denominator, approxRational,
9 realPart, imagPart, conjugate, mkPolar, cis,
10 polar, magnitude, phase,
12 _appendPS, _breakPS, _concatPS, _dropPS, _dropWhilePS,
13 _filterPS, _foldlPS, _foldrPS, _headPS, _indexPS, _lengthPS,
14 _linesPS, _mapPS, _nilPS, _consPS, _nullPS, _packCBytes,
15 _packCString, _packString, _byteArrayToPS, _psToByteArray,
16 _reversePS, _spanPS, _splitAtPS, _substrPS, _tailPS, _takePS,
17 _takeWhilePS, _unpackPS, _wordsPS, _putPS,
19 (&&), (||), not, otherwise,
20 (^), (^^), appendBin, asTypeOf, atan2, fromIntegral,
21 fromRealFrac, gcd, isAlpha, isAlphanum, isAscii, isControl,
22 isDigit, isLower, isNullBin, isPrint, isSpace, isUpper, lcm,
23 maxChar, maxInt, minChar, minInt, nullBin, subtract, toLower,
24 toUpper, until, fst, snd, id, const, (.), flip, ($),
27 #if defined(__UNBOXED_INSTANCES__)
32 isAscii#, isControl#, isPrint#, isSpace#,
33 isUpper#, isLower#, isAlpha#, isDigit#, isAlphanum#,
37 head, last, tail, init, null, (++), (\\), genericLength,
38 length, (!!), map, filter, partition, {-BUILTIN: foldl,-}
39 foldl1, scanl, scanl1, {-BUILTIN: foldr,-} foldr1, scanr, scanr1,
40 iterate, repeat, cycle, take, drop, splitAt, takeWhile,
41 dropWhile, span, break, lines, words, unlines, unwords, nub,
42 reverse, and, or, any, all, elem, notElem, sum,
43 product, sums, products, maximum, minimum, concat,
44 transpose, zip, zip3, zip4, zip5, zip6, zip7, zipWith,
45 zipWith3, zipWith4, zipWith5, zipWith6, zipWith7, unzip,
46 unzip3, unzip4, unzip5, unzip6, unzip7,
48 array, listArray, (!), bounds, indices, elems, assocs,
49 accumArray, (//), accum, amap, ixmap,
51 reads, shows, show, read, lex, showChar, showString,
52 readParen, showParen, readLitChar, showLitChar, readSigned,
53 showSigned, showSpace__, readDec, showInt, readFloat, showFloat,
54 _showHex, _showRadix, _showDigit, -- non-std
57 _readRational, _showRational, -- extras!
59 stdin, stdout, stderr, stdecho, done, readFile, writeFile,
60 appendFile, readBinFile, writeBinFile, appendBinFile,
61 deleteFile, statusFile, readChan, appendChan, readBinChan,
62 appendBinChan, statusChan, echo, getArgs, getProgName, getEnv,
63 setEnv, sigAction, abort, exit, print, prints, interact,
64 strDispatch, strListDispatch, binDispatch, succDispatch,
66 -- and for foldr/build
69 _newArray, _freezeArray, _arrEleBottom,
70 _rangeComplaint_Ix_Int
74 import TyArray ( Array(..), Assoc(..), _ByteArray )
75 import TyComplex ( Complex(..) )
77 --import Builtin ( trace )
78 import Cls hiding ( String )
80 import PreludeGlaST ( _MutableByteArray, _MutableArray )