test.icl 7.9 KB
Newer Older
1 2
module test

3 4 5 6 7
// Deprecated libraries: ArgEnv
import qualified ArgEnv
// Deprecated libraries: MersenneTwister
import qualified MersenneTwister
// Deprecated libraries: StdLib
8 9 10 11 12
import qualified StdLib
import qualified StdArrayExtensions
import qualified StdListExtensions
import qualified StdMaybe
import qualified StdLibMisc
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
// Deprecated libraries: Generics
import qualified GenBimap
import qualified GenCompress
import qualified GenDefault
import qualified GenEq
import qualified GenFMap
import qualified GenHylo
import qualified GenLexOrd
import qualified GenLib
import qualified GenMap
import qualified GenMapSt
import qualified GenMonad
import qualified GenParse
import qualified GenPrint
import qualified GenReduce
import qualified GenZip
import qualified _Array
30

31
// Main libraries
Camil Staps's avatar
Camil Staps committed
32 33 34 35 36
//import qualified Clean.PrettyPrint // requires Clean compiler
//import qualified Clean.PrettyPrint.Common // requires Clean compiler
//import qualified Clean.PrettyPrint.Definition // requires Clean compiler
//import qualified Clean.PrettyPrint.Expression // requires Clean compiler
//import qualified Clean.PrettyPrint.Util // requires Clean compiler
37 38 39
import qualified Clean.Doc
//import qualified Clean.Parse // requires Clean compiler
//import qualified Clean.Parse.Comments // requires Clean compiler
40
import qualified Clean.Parse.ModuleName
Camil Staps's avatar
Camil Staps committed
41 42 43 44 45 46
import qualified Clean.Types
//import qualified Clean.Types.CoclTransform // requires Clean compiler
import qualified Clean.Types.Parse
import qualified Clean.Types.Tree
import qualified Clean.Types.Unify
import qualified Clean.Types.Util
47
import qualified Clean.ModuleFinder
48
import qualified Codec.Archive.Tar
Camil Staps's avatar
Camil Staps committed
49 50
import qualified Codec.Compression.Snappy
import qualified Codec.Compression.Snappy.Graph
51 52 53
import qualified Control.Applicative
import qualified Control.Arrow
import qualified Control.Category
Camil Staps's avatar
Camil Staps committed
54 55 56 57 58 59 60
import qualified Control.GenBimap
import qualified Control.GenFMap
import qualified Control.GenHylo
import qualified Control.GenMap
import qualified Control.GenMapSt
import qualified Control.GenMonad
import qualified Control.GenReduce
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
import qualified Control.Monad
import qualified Control.Monad.Fix
import qualified Control.Monad.Identity
import qualified Control.Monad.RWST
import qualified Control.Monad.Reader
import qualified Control.Monad.State
import qualified Control.Monad.Trans
import qualified Control.Monad.Writer
import qualified Crypto.Hash.MD5
import qualified Crypto.Hash.SHA1
import qualified Data.Array
import qualified Data.Bifunctor
import qualified Data.CircularStack
import qualified Data.Complex
import qualified Data.Data
76
import qualified Data.Dynamic
77
import qualified Data.Either
78
import qualified Data.Either.GenJSON
Camil Staps's avatar
Camil Staps committed
79
import qualified Data.Either.Ord
80 81 82
import qualified Data.Encoding.RunLength
import qualified Data.Eq
import qualified Data.Error
83
import qualified Data.Error.GenJSON
84 85 86 87
import qualified Data.Foldable
import qualified Data.Func
import qualified Data.Functor
import qualified Data.Functor.Identity
88
import qualified Data.GenCons
Camil Staps's avatar
Camil Staps committed
89 90 91 92 93 94
import qualified Data.GenDefault
import qualified Data.GenDiff
import qualified Data.GenEq
import qualified Data.GenFDomain
import qualified Data.GenLexOrd
import qualified Data.GenZip
Mart Lubbers's avatar
Mart Lubbers committed
95 96 97 98 99 100 101 102 103 104 105 106 107 108
import qualified Data.Generics
import qualified Data.Graph
import qualified Data.Graph.Inductive
import qualified Data.Graph.Inductive.Basic
import qualified Data.Graph.Inductive.Graph
import qualified Data.Graph.Inductive.Internal.Queue
import qualified Data.Graph.Inductive.Internal.RootPath
import qualified Data.Graph.Inductive.Internal.Thread
import qualified Data.Graph.Inductive.Monad
import qualified Data.Graph.Inductive.NodeMap
import qualified Data.Graph.Inductive.PatriciaTree
import qualified Data.Graph.Inductive.Query
import qualified Data.Graph.Inductive.Query.BFS
import qualified Data.Graph.Inductive.Query.MaxFlow
109 110 111 112 113 114
import qualified Data.Graphviz
import qualified Data.Heap
import qualified Data.IntMap.Base
import qualified Data.IntMap.Strict
import qualified Data.IntSet
import qualified Data.IntSet.Base
115 116 117 118 119 120
import qualified Data.Integer
import qualified Data.Integer.Add
import qualified Data.Integer.Div
import qualified Data.Integer.Mul
import qualified Data.Integer.ToInteger
import qualified Data.Integer.ToString
121 122
import qualified Data.List
import qualified Data.Map
123
import qualified Data.Map.GenJSON
Steffen Michels's avatar
Steffen Michels committed
124
import qualified Data.MapCollection
125 126
import qualified Data.Matrix
import qualified Data.Maybe
Steffen Michels's avatar
Steffen Michels committed
127
import qualified Data.Maybe.Ord
128 129
import qualified Data.Maybe.Gast
import qualified Data.Maybe.GenPrint
Steffen Michels's avatar
Steffen Michels committed
130
import qualified Data.Maybe.GenBinary
131
import qualified Data.Monoid
Camil Staps's avatar
Camil Staps committed
132
import qualified Data.NGramIndex
Camil Staps's avatar
Camil Staps committed
133
import qualified Data.OrdList
134 135
import qualified Data.Queue
import qualified Data.Set
136
import qualified Data.Set.GenJSON
137
import qualified Data.Set.Gast
138
import qualified Data.Stack
139 140 141 142
import qualified Data.Traversable
import qualified Data.Tree
import qualified Data.Tuple
import qualified Data.Word8
Camil Staps's avatar
Camil Staps committed
143
import qualified Data._Array
Steffen Michels's avatar
Steffen Michels committed
144
import qualified Data.Encoding.GenBinary
Camil Staps's avatar
Camil Staps committed
145
import qualified Database.Native
Camil Staps's avatar
Camil Staps committed
146
import qualified Database.Native.JSON
Camil Staps's avatar
Camil Staps committed
147 148 149 150 151 152
import qualified Database.SQL
import qualified Database.SQL.MySQL
import qualified Database.SQL.RelationalMapping
import qualified Database.SQL.SQLite
import qualified Database.SQL._MySQL
import qualified Database.SQL._SQLite
153
import qualified Debug.Performance
Camil Staps's avatar
Camil Staps committed
154
import qualified Debug.Trace
Mart Lubbers's avatar
Mart Lubbers committed
155
//import qualified Graphics.Layout
156
import qualified Graphics.Scalable.Extensions
Steffen Michels's avatar
Steffen Michels committed
157 158 159
import qualified Graphics.Scalable.Image
import qualified Graphics.Scalable.Internal.Image`
import qualified Graphics.Scalable.Internal.Types
Camil Staps's avatar
Camil Staps committed
160
import qualified Graphics.Scalable.Types
161
import qualified Internet.HTTP
Camil Staps's avatar
Camil Staps committed
162
import qualified Internet.HTTP.CGI
163
import qualified Internet.IRC
164 165 166 167 168 169 170 171 172 173
import qualified Math.Geometry
import qualified Math.Random
import qualified Network.IP
import qualified System.CommandLine
import qualified System.Directory
import qualified System.Environment
import qualified System.File
import qualified System.FilePath
import qualified System.GetOpt
import qualified System.IO
174
import qualified System.Options
175 176
import qualified System.OS
import qualified System.OSError
177
import qualified System.Platform
178 179 180
import qualified System.Process
import qualified System.TTS
import qualified System.Time
181
import qualified System.Time.GenJSON
Mart Lubbers's avatar
Mart Lubbers committed
182
import qualified System.Signal
Mart Lubbers's avatar
Mart Lubbers committed
183 184 185 186
import qualified System.Socket
import qualified System.Socket.Ipv4
import qualified System.Socket.Ipv6
import qualified System.Socket.Unix
Mart Lubbers's avatar
ci  
Mart Lubbers committed
187
import qualified System._Signal
Mart Lubbers's avatar
Mart Lubbers committed
188
import qualified System._Socket
189
import qualified System._Directory
190
import qualified System._FilePath
191
import qualified System._Finalized
192
import qualified System._Platform
193 194 195
import qualified System._Pointer
import qualified System._Posix
import qualified System._Unsafe
Camil Staps's avatar
Camil Staps committed
196 197
import qualified Testing.Options
import qualified Testing.TestEvents
198 199 200 201 202
import qualified Text
import qualified Text.CSV
import qualified Text.Encodings.Base64
import qualified Text.Encodings.MIME
import qualified Text.Encodings.UrlEncoding
Camil Staps's avatar
Camil Staps committed
203
import qualified Text.GenJSON
Camil Staps's avatar
Camil Staps committed
204 205 206
import qualified Text.GenParse
import qualified Text.GenPrint
import qualified Text.GenXML
207 208
import qualified Text.GenXML.Gast
import qualified Text.GenXML.GenPrint
Camil Staps's avatar
Camil Staps committed
209
import qualified Text.HTML
210
import qualified Text.HTML.GenJSON
211
import qualified Text.LaTeX
Mart Lubbers's avatar
Mart Lubbers committed
212
import qualified Text.Language
213 214 215 216 217 218 219 220 221 222 223 224
import qualified Text.PPrint
import qualified Text.Parsers.CParsers.ParserCombinators
import qualified Text.Parsers.Simple.Chars
import qualified Text.Parsers.Simple.Core
import qualified Text.Parsers.Simple.ParserCombinators
import qualified Text.Parsers.ZParsers.ParserLanguage
import qualified Text.Parsers.ZParsers.Parsers
import qualified Text.Parsers.ZParsers.ParsersAccessories
import qualified Text.Parsers.ZParsers.ParsersDerived
import qualified Text.Parsers.ZParsers.ParsersKernel
import qualified Text.Show
import qualified Text.StringAppender
Mart Lubbers's avatar
Mart Lubbers committed
225
import qualified Text.Terminal.VT100
226
import qualified Text.URI
Camil Staps's avatar
Camil Staps committed
227
import qualified Text.URI
228 229 230 231
import qualified Text.Unicode
import qualified Text.Unicode.Encodings.JS
import qualified Text.Unicode.Encodings.UTF8
import qualified Text.Unicode.UChar
Mart Lubbers's avatar
Mart Lubbers committed
232

233
Start = "Hello World!"