Varia



About this list Date view Thread view Subject view Author view

Marcin 'Qrczak' Kowalczyk (qrczak@knm.org.pl)
5 Jan 2001 22:33:41 GMT


Array.// takes time size_of_array * number_of_changed_elements. Could it be improved please? Array.accum has quadratic time too. The range of accepted character escapes in character and string literals depends on the compiler used to compile nhc. When nhc is compiled with a compiler whose Char has e.g. 31 bits, character literals are indeed wide; characters in string literals are always truncated to 8bit. Could they be made truly wide? Literal values would be represented as Int and [Int] instead of Char and String inside nhc and there would be a different method for storing string literals containing characters >= '\256' in generated code. Characters would still be truncated to 8 bits for I/O and C strings for now. I would like to access the representation of IOError and throw IOErrorC. I can steal DIOError.hi and DErrNo.hi, but could it be done in a more official way? Or is there an exported function which constructs or throws a right IOError value basing on an errno number (number supplied by me, not necessarily taken from errno)? -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTĘPCZA QRCZAK


About this list Date view Thread view Subject view Author view