Re: [Haskell-cafe] Learn You a Haskell for Great Good - a few doubts

2011-03-06 Thread Richard O'Keefe
On 7/03/2011, at 5:38 PM, Karthick Gururaj wrote: > Defn 1. Given four arbitrary a, b, c and d on a set X which is an > instance of Ord (so a = b, a > b and a < b are defined), let: > (a, b) > (c, d) iff a > c (GT) > (a, b) < (c, d) iff a < c (LT) > (a, b) = (c, d) iff a = c. (EQ) > (pleas

Re: [Haskell-cafe] Learn You a Haskell for Great Good - a few doubts

2011-03-06 Thread Karthick Gururaj
On Mon, Mar 7, 2011 at 6:12 AM, Richard O'Keefe wrote: > > On 4/03/2011, at 10:47 PM, Karthick Gururaj wrote: > >> On Fri, Mar 4, 2011 at 10:42 AM, Richard O'Keefe wrote: >>> >>> On 4/03/2011, at 5:49 PM, Karthick Gururaj wrote: I meant: there is no reasonable way of ordering tuples, let alo

Re: [Haskell-cafe] Learn You a Haskell for Great Good - a few doubts

2011-03-06 Thread Richard O'Keefe
On 4/03/2011, at 10:47 PM, Karthick Gururaj wrote: > On Fri, Mar 4, 2011 at 10:42 AM, Richard O'Keefe wrote: >> >> On 4/03/2011, at 5:49 PM, Karthick Gururaj wrote: >>> I meant: there is no reasonable way of ordering tuples, let alone enum >>> them. >> >> There are several reasonable ways to o

Re: [Haskell-cafe] ANNOUNCE: cinvoke 0.1 released

2011-03-06 Thread Yves Parès
It evokes me Python's ctypes module. Nice job ! I think It will be useful. 2011/3/6 Remi Turk > I am happy to finally announce cinvoke 0.1, a binding to the > C library cinvoke[1], allowing functions to be loaded and called > whose names and types are not known before run-time. > > Why? > > Som

Re: [Haskell-cafe] can't download haskell-mode for emacs: directory is empty

2011-03-06 Thread Richard Cobbe
On Sun, Mar 06, 2011 at 09:51:39PM +0200, Yitzchak Gale wrote: > Richard Cobbe wrote: > > I'm trying to see if I'm running the latest version of haskell-mode.el. > > Unfortunately, the download link at the top of > > points to a > > direct

Re: [Haskell-cafe] can't download haskell-mode for emacs: directory is empty

2011-03-06 Thread Yitzchak Gale
Richard Cobbe wrote: > I'm trying to see if I'm running the latest version of haskell-mode.el. > Unfortunately, the download link at the top of > points to a > directory with nothing in it. > Is there somewhere else I should be looking? I

Re: [Haskell-cafe] ANN: bash-0.0.0

2011-03-06 Thread Roman Cheplyaka
* Ivan Lazar Miljenovic [2011-03-06 15:27:50+1100] > On 6 March 2011 14:57, Jason Dusek wrote: > >  Many-a-time, have I used higher level languages to generate > >  Bash scripts. Here, for the first time, I have taken the time > >  to write a structured and safe Bash pretty printer, leveraging >

Re: [Haskell-cafe] can't download haskell-mode for emacs: directory is empty

2011-03-06 Thread Alvaro Vilanova
http://stackoverflow.com/questions/4975033/emacs-haskell-mode-2-8-0-where-is-it/ > What's the status on this package? > > unknown? :S ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] can't download haskell-mode for emacs: directory is empty

2011-03-06 Thread Richard Cobbe
I'm trying to see if I'm running the latest version of haskell-mode.el. Unfortunately, the download link at the top of points to a directory with nothing in it. Is there somewhere else I should be looking? I tried sending email to the ma

Re: [Haskell-cafe] Benchmarks game updated

2011-03-06 Thread Chris Smith
On Sun, 2011-03-06 at 09:46 +0300, Nikitiskiy Dmitriy wrote: > As I see, some examples compilled with similar flags: > > /usr/local/src/ghc-7.0.2/bin/ghc --make -O2 -fglasgow-exts -rtsopts > -funbox-strict-fields -fexcess-precision -fvia-c -optc-O3 > spectralnorm.ghc-4.hs -o spectralnorm.ghc-4.ghc

[Haskell-cafe] ANNOUNCE: cinvoke 0.1 released

2011-03-06 Thread Remi Turk
I am happy to finally announce cinvoke 0.1, a binding to the C library cinvoke[1], allowing functions to be loaded and called whose names and types are not known before run-time. Why? Sometimes you can't use the Haskell foreign function interface because you parse the type of the function from so

Re: [Haskell-cafe] Creating a darcs repo and trac

2011-03-06 Thread Henning Thielemann
On Sun, 6 Mar 2011, Dominic Steintiz wrote: I'd like to create a darcs repo for a package I've just created so people can do: darcs get http://code.haskell.org/largeword I can logon to code.haskell.org but I don't have permission to create a directory in /srv/code which is what I thought I ha

[Haskell-cafe] Creating a darcs repo and trac

2011-03-06 Thread Dominic Steintiz
I'd like to create a darcs repo for a package I've just created so people can do: darcs get http://code.haskell.org/largeword I can logon to code.haskell.org but I don't have permission to create a directory in /srv/code which is what I thought I had to do. Ditto I would like to create a trac in

[Haskell-cafe] Combinatorial Problems

2011-03-06 Thread Richard Senington
Hello all, I have just uploaded a very early (0.0.1) version of a library I am working on to hackage. The library is for representing some well known combinatorial problems, and provide loading routines for standard repositories of these problems. At the moment is only support SAT-3 and the

Re: [Haskell-cafe] Haskell Platform 2011.2

2011-03-06 Thread Andrew Coppin
On 06/03/2011 01:22 AM, Don Stewart wrote: P.S. you can help by testing the installers, and reporting issues on the HP trac and mailing list. The candidate installers are here: http://code.galois.com/darcs/haskell-platform/download-website/ Is there some way to navigate to this page from

Re: [Haskell-cafe] Use of uninstantiated type class

2011-03-06 Thread Ryan Ingram
On Fri, Mar 4, 2011 at 3:45 PM, Yves Parès wrote: > Hello, > > For testing purposes, I am trying to make an overlay to IO which carries a > phantom type to ensure a context. > I define contexts using empty type classes : > > class CtxFoo c > class CtxBar c > > The overlay : > > newtype MyIO c a =

Re: [Haskell-cafe] Linking errors when compiling projects with the ncurses-0.2 library

2011-03-06 Thread Max Bolingbroke
Hi Roman, 2011/3/5 Román González : > ld: warning: in /Users/roman/.homebrew/lib/libncursesw.dylib, file was built > for unsupported file format which is not the architecture being linked > (i386) This is the problem. You are using OS X 10.6 and Homebrew is building a 64 bit ncurses. However, GHC