Bulat Ziganshin wrote:
i suggest you to use IORef Bool instead - as it was said once by
SimonM, it's safe to use in m/t environment, of course without all
fancy features of MVar locking
Is it also safe for other types such as Int? And is this documented
somewhere? If not it would be helpful to
Is there any %LOCALAPPDATA% on Windows XP? If not, what is the
difference between %LOCALAPPDATA% and %APPDATA% in Windows Vista/7?
XP does not define the %LOCALAPPDATA% environment variable, but it is
equivalent to %USERPROFILE%\Local Settings\Application Data.
Data in local application data
2009/4/22 Simon Marlow:
You might want to run the process under ProcMon and see if you can
figure out what's going on (if you can bear to use ProcMon, it's a
very poor replacement for strace IMO).
You could try StraceNT instead (not as good as strace though).
As I understand it, programs compiled with GHC currently use MSYS for all
I/O operations, resulting in all kinds of strange behaviour in corner cases.
(E.g., if you use System.Directory and ask whether C:\\ is a directory, it
says no, yet you can read the contents of that directory.) I would
Hi all,
winio is an I/O library for Windows using Windows API functions and
has I/O completion port support. The main goal of this library is to
support Simon Marlow's new Handle API once he has added that to GHC.
The library also has a compatibility module for socket functions from
the
The Network.Socket module works fine on Windows. The original Winsock
implementation was based on the Berkeley sockets api.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi all,
Simon Marlow has recently posted a patch that adds Unicode support to
Handle I/O. He mentioned that it didn't work yet on Windows so i was
thinking of looking at the source code to see how the new Unicode
support works and perhaps try to make it work on Windows.
I have built GHC from
Hi Manlio,
Have you looked at
http://www.haskell.org/haskellwiki/WebApplicationInterface ? If you
did is there something in that proposal that you think should be
changed or is not clear? There is currently a lot of interest in
writing web frameworks for Haskell and it would be great if the
There is a separate channel where we can discuss in detail?
Or should I just use this thread?
This is a good topic for the web-de...@haskell.org list. I'll post my
reply there.
Felix
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Hi Michael,
May i suggest Johan Tibell's web application interface (see
http://github.com/tibbe/hyena/tree/master). It is similar to WSGI.
Hyena can then be used as an application server and frameworks won't
have to create their own servers. Many people have different opinions
about web
Hi all,
There is currently a discussion on reddit/programming about Haskell.
One complaint is that Haskell functions often use abbreviated names. I
tend to agree with that. In my personal experience it generally takes
more time to learn a third party Haskell library than libraries
written in
Hi John,
You don't have to compile hsc2hs yourself. It is part of the standard
GHC installation. Cabal should be able to find it. You can check if it
does by running runghc Setup.hs configure -v when configuring a
package. Compiling network-2.2.0.0 against parsec-3.0.0 with
msys/mingw worked fine
and Windows support is less of an issue: git appears to work reasonably well
on Windows these days.
Congratulations on the switch, but isn't the decision a bit premature?
I have read the log of last week's GHC meeting on IRC and nobody
seemed to know if Git runs well on Windows with a large
What are good options for concurrent dictionaries? A while ago i wrote
a concurrent hash table prototype, but there are probably better
solutions for Haskell.
Regards,
Felix
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Conal Elliott:
I'd love to see this functionality available cross-platform. Are there
plans for a unified library with a single API?
+1
It would be nice if the two inotify packages and this one could be
combined. And if someone would add a kqueue backend for the BSD's and
OSX then most
Alistair Bayley wrote:
Upgrading GHC to fix this seems a little extreme. You can just add
gcc-lib (i.e. C:\ghc\ghc-6.8.1\gcc-lib) to your path.
Version 6.8.2 is a bugfix release over 6.8.1 and fixes other bugs as well.
___
Haskell-Cafe mailing list
Ryan Ingram wrote:
For reference, I'm using GHC6.8.1 on WinXP.
setup.hs: ld is required but it could not be found.
I did have the same issue with GHC 6.8.1 on Windows. It is fixed in
version 6.8.2.
http://haskell.org/ghc/download_ghc_682.html#windows
Regards,
Felix
Bulat Ziganshin wrote:
is there any haskell implementation for Windows Mobile? does they are
support creation of GUI apps and internet networking features?
CeGCC (http://cegcc.sourceforge.net/) is a cross compiler for Windows
CE, so it's possible to port GHC to Windows Mobile with some
This is a small package for error handling when making foreign calls
to the Windows API. The functions are similar to those in
Foreign.C.Error, e.g. throwWinErrorIf corresponds to throwErrnoIf.
Dynamic io errors are thrown with GHC so the catchWinError function
can catch specific Windows error
Magnus Therning wrote:
Is it possible to get Cabal to use 'cl' (Microsoft's C/C++ compiler
shipped with Visual Studio Express)?
Duncan Coutts wrote:
The problem is to get GHC to use 'cl'. That's a longer term project that
GHC HQ are interested in. There's something about it on the GHC dev
I have located the problem i had with GHC. I had compiled the readline
library from a spec file. Apparently it is not compatible with the
binary GHC release. With the prebuilt readline package from
sunfreeware GHC works fine now.
Regards,
Felix
___
Christian Maeder wrote:
Maybe my new binary release is easier to install
Your new release installed ok, but GHC does not work on my system. I
can compile a simple hello world program, but running ghci or doing
other compilations result in program termination of GHC and the
terminal. GHC 6.6 did
Hello all,
I am trying to get a working GHC on Solaris Nevada (Solaris 11). I've
tried the binary versions for Solaris 10 made by Christian Maeder. I
couldn't get GHC 6.8.2 to install properly and GHC 6.6 does not work
(it crashes the moment it needs to link to a library). After that i
tried to
On Jan 17, 2008 2:08 PM, Yitzchak Gale wrote:
I would hope that ghc will link to editline-ext on all platforms.
Unfortunately it seems that editline cannot currently be build on
Windows. I have tried to build the editline source from
http://www.thrysoee.dk/editline/ with MinGW/msys. Pdcurses
On Dec 16, 2007 10:56 AM, Duncan Coutts wrote:
Note that for data files like the .ghci file it's probably better to use
getAppUserDataDirectory ghci which will return $HOME/.ghci on unix
systems and C:/Documents And Settings/user/Application Data/ghci on
Windows.
I've added a proposal and a
On Dec 16, 2007 2:21 AM, Yitzchak Gale wrote:
The current behavior is not more WIndows native - it is
arguably much worse. The %HOMEPATH% variable
should definitely not be used. The folder that it points
to is not a home directory and should not be used
that way.
That's not correct. It is
On Dec 14, 2007 11:46 PM, Duncan Coutts [EMAIL PROTECTED] wrote:
It sounds like a bad idea to me. I agree with your initial reaction and
principle that we don't want to be baking Un*x behaviour into APIs that
are supposed to do whatever is native on the current platform.
I agree with Duncan.
Hi all,
Overlapped IO support for files and sockets is now in place in my test
version of ghc-head. File functions use the win32 api and large files
and Unicode filenames are supported (i'm not sure if ghc currently
supports that for Windows).
I've addded a new type Hdl which is an alias for FD
Hi all,
The documentation of Visual Haskell mentions that the source code is
available under a BSD license. The code is not available from the
download page (http://www.haskell.org/visualhaskell/downloads.html).
Does anone know where to get it?
___
I have made a prototype for overlapped IO that works with a modified
version of Takano Akio's SSC library. I have been trying to add it to
GHC's IO implementation but there are some issues. Instead of file
descriptors windows handles are needed. The GHC handle implementation
is currently based
30 matches
Mail list logo