Frederik Eaton wrote:
P.S. Here are some suggestions for the GHCi debugger documentation:
http://www.haskell.org/ghc/dist/current/docs/users_guide/ghci-debugger.html
There is one major restriction: breakpoints and single-stepping are only available
in interpreted modules; compiled code is
Andrei Formiga wrote:
Hello,
The Visual Haskell 0.2 release notes [1] say that sources are
available, but the download page only has binaries available. Where
are the sources? Also, does it use the Visual Studio SDK, and is it
compatible with VS 2008? Thanks.
[1]
I came to the same conclusions. I think using either the current
encoding or utf8 are perfectly reasonable interpretations of the
standard. Jhc used to use the current locale always, but now it uses
utf8 always as that was easier to make portable to other operating
systems. (though current locale
Duncan Coutts wrote:
From the H98 report:
All I/O functions defined here are character oriented. [...]
These functions cannot be used portably for binary I/O.
In the following, recall that String is a synonym for [Char]
(Section 6.1.2).
So ordinary
Duncan Coutts wrote:
So here is a concrete proposal:
* Haskell98 file IO should always use UTF-8.
* Haskell98 IO to terminals should use the current locale
encoding.
Personally, I'd find this deeply surprising. I don't care that much what
locale gets used for I/O (if it
On Tue, 2008-02-26 at 13:22 +, Simon Marlow wrote:
So some alternatives that fix this are
1. all text I/O is in the locale encoding (what C and Hugs do)
2. stdin/stdout/stderr and terminals are always in the locale
encoding, everything else is UTF-8
I was initially
On Wed, 2008-02-27 at 00:31 +1100, Roman Leshchinskiy wrote:
Duncan Coutts wrote:
So here is a concrete proposal:
* Haskell98 file IO should always use UTF-8.
* Haskell98 IO to terminals should use the current locale
encoding.
Personally, I'd find this deeply
Duncan Coutts wrote:
On Wed, 2008-02-27 at 00:31 +1100, Roman Leshchinskiy wrote:
Duncan Coutts wrote:
So here is a concrete proposal:
* Haskell98 file IO should always use UTF-8.
* Haskell98 IO to terminals should use the current locale
encoding.
Personally, I'd find this
Simon Marlow wrote:
Duncan Coutts wrote:
Let's call this one proposal 0:
* Haskell98 file IO should always use UTF-8.
* Haskell98 IO to terminals should use the current locale
encoding.
and the others:
1. all text I/O is in the locale encoding (what C and Hugs do)
Roman Leshchinskiy wrote:
Duncan Coutts wrote:
On Wed, 2008-02-27 at 00:31 +1100, Roman Leshchinskiy wrote:
Also, would this affect the encoding used for file names? If so, how?
No, that's a separate issue.
Hmm, so how do I reliably read a list of file names from a file?
You didn't say
Why not leave the defaults as they ARE OR USE utf-8 and give the
programmer the capability to specify what encoding they want when
they want to use a different one?
John
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
The H98 spec has the inside half of story nailed down: Char is
Unicode, and Handles are text I/O that deal in [Char]. The outside
half of the story is the binary encoding of the [Char], which was
unspecified, and left to the implementation.
The implementation dependence allows GHC to create a
Op 26-feb-2008, om 18:42 heeft Chris Kuklewicz het volgende geschreven:
The goal is that more complicated situations are reflected in
more complicated ghc or main invocations. The least complicated
usage defaults to being identical cross-platform and regardless of
terminal I/O.
I think the
On Tue, 2008-02-26 at 07:28 -0800, John Meacham wrote:
On Tue, Feb 26, 2008 at 01:34:54PM +, Duncan Coutts wrote:
Personally I'm not really fussed about which compromise we pick. I think
the more important point is that all the Haskell implementations pick
the same compromise so that
Reinier Lamers wrote:
Op 26-feb-2008, om 18:42 heeft Chris Kuklewicz het volgende geschreven:
The goal is that more complicated situations are reflected in
more complicated ghc or main invocations. The least complicated
usage defaults to being identical cross-platform and regardless of
On Tue, 2008-02-26 at 14:18 +, Simon Marlow wrote:
Simon Marlow wrote:
Duncan Coutts wrote:
Let's call this one proposal 0:
* Haskell98 file IO should always use UTF-8.
* Haskell98 IO to terminals should use the current locale
encoding.
and the others:
16 matches
Mail list logo