[Haskell-cafe] Re: Using tiny (atomic) mutables between multiple threads

2009-09-13 Thread Felix Martini
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

[Haskell-cafe] Re: Cabal install on Windows 7

2009-09-10 Thread Felix Martini
> 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

Re: [Haskell-cafe] Best text editor

2009-04-13 Thread Felix Martini
I use Intype for Haskell editing on Windows. Although Intype is still in development it has the potential to be one of the best editors for Windows. A bundle with syntax highlighting and Textmate-like snippets is available at http://bitbucket.org/felixmar/haskell-itbundle/.

Re: [Haskell-cafe] [ANN] I/O library for Windows

2009-03-26 Thread Felix Martini
> 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 wo

[Haskell-cafe] [ANN] I/O library for Windows

2009-03-21 Thread Felix Martini
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 network-by

[Haskell-cafe] Hoogle and Network.Socket

2009-02-19 Thread Felix Martini
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

Re: [Haskell-cafe] HSGI: Haskell Server Gateway Interface

2009-02-07 Thread Felix Martini
> 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 http://www.

Re: [Haskell-cafe] HSGI: Haskell Server Gateway Interface

2009-02-07 Thread Felix Martini
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 framew

[Haskell-cafe] Haskell Web Framework

2009-01-25 Thread Felix Martini
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 frameworks

[Haskell-cafe] Use of abbreviations in Haskell

2009-01-02 Thread Felix Martini
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 other

[Haskell-cafe] Re: Problems with Windows

2008-10-30 Thread Felix Martini
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

Re: [Haskell-cafe] lookup tables & style guidelines

2008-04-24 Thread Felix Martini
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 http://www.haskell.org/ma

Re: [Haskell-cafe] Ann: Win32-notify 0.1

2008-04-20 Thread Felix Martini
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 platf

Re: [Haskell-cafe] Need Cabal/library building help for windows

2008-03-18 Thread Felix Martini
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 H

Re: [Haskell-cafe] Need Cabal/library building help for windows

2008-03-17 Thread Felix Martini
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

Re: [Haskell-cafe] Haskell + Windows Mobile?

2008-02-24 Thread Felix Martini
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 effor

[Haskell-cafe] ANN: winerror-0.1

2008-02-17 Thread Felix Martini
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 code

Re: [Haskell-cafe] Cabal, GHC, FFI and Visual Studio on Windows

2008-02-02 Thread Felix Martini
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

[Haskell-cafe] Source code for Visual Haskell

2007-11-22 Thread Felix Martini
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? ___ Haske