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__)
31 isAscii#, isControl#, isPrint#, isSpace#,
32 isUpper#, isLower#, isAlpha#, isDigit#, isAlphanum#,
36 head, last, tail, init, null, (++), (\\), genericLength,
37 length, (!!), map, filter, partition, {-BUILTIN: foldl,-}
38 foldl1, scanl, scanl1, {-BUILTIN: foldr,-} foldr1, scanr, scanr1,
39 iterate, repeat, cycle, take, drop, splitAt, takeWhile,
40 dropWhile, span, break, lines, words, unlines, unwords, nub,
41 reverse, and, or, any, all, elem, notElem, sum,
42 product, sums, products, maximum, minimum, concat,
43 transpose, zip, zip3, zip4, zip5, zip6, zip7, zipWith,
44 zipWith3, zipWith4, zipWith5, zipWith6, zipWith7, unzip,
45 unzip3, unzip4, unzip5, unzip6, unzip7,
47 array, listArray, (!), bounds, indices, elems, assocs,
48 accumArray, (//), accum, amap, ixmap,
50 reads, shows, show, read, lex, showChar, showString,
51 readParen, showParen, readLitChar, showLitChar, readSigned,
52 showSigned, showSpace__, readDec, showInt, readFloat, showFloat,
53 _showHex, _showRadix, _showDigit, -- non-std
54 _readList, _showList, _truncate, _round, _ceiling, _floor,
56 _readRational, _showRational, -- extras!
58 stdin, stdout, stderr, stdecho, done, readFile, writeFile,
59 appendFile, readBinFile, writeBinFile, appendBinFile,
60 deleteFile, statusFile, readChan, appendChan, readBinChan,
61 appendBinChan, statusChan, echo, getArgs, getProgName, getEnv,
62 setEnv, sigAction, abort, exit, print, prints, interact,
63 strDispatch, strListDispatch, binDispatch, succDispatch,
65 -- and for foldr/build
71 import TyArray ( Array(..), Assoc(..), _ByteArray )
72 import TyComplex ( Complex(..) )
74 --import Builtin ( trace )
75 import Cls hiding ( String )
77 import PreludeGlaST ( _MutableByteArray, _MutableArray )