Bas van Dijk gmail.com> writes:
> bas bassbox ~/development/haskell/yi $ runhaskell Setup.hs build
> *** Exception: failed to extract ghc path from command line
>
> ...
>
> What can be the problem?
>
> regards,
>
> Bas van Dijk
>
As Stephan mentioned, the easy solution is to use the Makefil
On Sat, Apr 07, 2007 at 08:01:41PM -0700, Jeremy Shaw wrote:
> Also, anyone interested in making an XMPP library should probably be
> aware of the development version of HaXml:
>
> http://www.cs.york.ac.uk/fp/HaXml-devel/
>
> which includes this module:
>
> http://www.cs.york.ac.uk/fp/HaXml-deve
At Sat, 7 Apr 2007 18:34:21 -0700,
Stefan O'Rear wrote:
>
> On Sun, Apr 08, 2007 at 02:03:03AM +0200, Magnus Henoch wrote:
> > I'm hacking a library for writing XMPP clients, and just decided that
> > my work is good enough to call it version 0.0.1. Find source and
> > documentation here:
>
> Co
On Sat, Apr 07, 2007 at 06:34:21PM -0700, Stefan O'Rear wrote:
> On Sun, Apr 08, 2007 at 02:03:03AM +0200, Magnus Henoch wrote:
> > I'm hacking a library for writing XMPP clients, and just decided that
> > my work is good enough to call it version 0.0.1. Find source and
> > documentation here:
>
On Sun, Apr 08, 2007 at 02:03:03AM +0200, Magnus Henoch wrote:
> I'm hacking a library for writing XMPP clients, and just decided that
> my work is good enough to call it version 0.0.1. Find source and
> documentation here:
Congrats, you are (at least) the third person to do this.
Jeremy Shaw (s
I'm hacking a library for writing XMPP clients, and just decided that
my work is good enough to call it version 0.0.1. Find source and
documentation here:
http://www.dtek.chalmers.se/~henoch/text/hsxmpp.html
It contains a werewolf bot as an example. I wanted the bot to speak
several languages,
On Sun, Apr 08, 2007 at 12:13:48AM +0200, Bas van Dijk wrote:
> [EMAIL PROTECTED] ~/development/haskell/yi $ runhaskell Setup.hs build
> *** Exception: failed to extract ghc path from command line
(Disclaimer: I'm only going by what I've heard on #haskell)
That would be a symptom of trying to bui
On 4/6/07, Jean-Philippe Bernardy <[EMAIL PROTECTED]> wrote:
Hello folks,
More that two years after the 0.1.0 release, I would like to attract
people's attention to recent developments on the Yi editor. This
preview release is an attempt to gather more users, testers and
hopefully contributors f
On Fri, Apr 06, 2007 at 01:44:01PM -0600, Scott Bell wrote:
> Ooops! It seems that this doesn't behave well with a -threaded
> RTS. I get an EOF on handles that I know for a fact shouldn't
> be receiving them. It still works well without -threaded, but
> does anyone know why I'm getting this behavi
> you should write compiler version and OS for such problems.
Of course, this was 6.7-20070404 on Linux x86. I haven't had a
change to test it on my 6.6 build.
> I/O in Windows threaded RTS was fixed after initial 6.6 release and
> afaik hWaitForInput should work better now. alternatively, you c
On Apr 7, 2007, at 4:16 PM, Stefan O'Rear wrote:
You can probably use -fallow-incoherent-instances for this. It has a
scary name on purpose since it doesn't usually do what you think it
should... My (very limited!) understanding of type checking
algorithms says that in this case, the worst th
On Sat, Apr 07, 2007 at 01:07:48PM +0100, Joel Reymont wrote:
> Folks,
>
> I'm trying to save time when typing in my ASTs so I thought I would
> create a Plus class like this (I do hide the one from Prelude)
>
> class PlusClass a b c | a b -> c where
> (+) :: a -> b -> c
>
> {-
> instance
On Apr 7, 2007, at 2:01 PM, Pepe Iborra wrote:
So what I would do is to create a thin wrapper:
>i = id :: Integer -> Integer
and write:
> input2 = [ InputDecs [ inp "emaLength" TyNumber ((i 20) + (i
40)) ] ]
I do it like this and it does save typing. It's not bad so I'll stick
to it fo
Pepe,
On Apr 7, 2007, at 2:01 PM, Pepe Iborra wrote:
And without the Integral assumption, you cannot define your
instance. So what I would do is to create a thin wrapper:
>i = id :: Integer -> Integer
and write:
> input2 = [ InputDecs [ inp "emaLength" TyNumber ((i 20) + (i
40)) ] ]
Th
The main problem is that you cannot assume Integral for the values 20
and 40. Those have types (Num a=>a).
And without the Integral assumption, you cannot define your instance.
So what I would do is to create a thin wrapper:
>i = id :: Integer -> Integer
and write:
> input2 = [ InputDecs [
This is the related paste:
http://hpaste.org/1291#a9
--
http://wagerlabs.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Pepe,
On Apr 7, 2007, at 1:31 PM, Pepe Iborra wrote:
> input2 = [ InputDecs [ inp "emaLength" TyNumber ((20::Integer) +
(40::Integer)) ] ]
Thank you for your suggestion! I'm trying to make my AST definition
as succinct as possible, though, so I would really love to have 20 +
40. The issu
input2 =
[ InputDecs [ inp "emaLength" TyNumber (20 + 40) ] ]
(untested). Imho the simple, dumb, best fix for this is to give a
explicit type to those values.
> input2 = [ InputDecs [ inp "emaLength" TyNumber ((20::Integer) +
(40::Integer)) ] ]
This is just one way to fix it. You
Folks,
I'm trying to save time when typing in my ASTs so I thought I would
create a Plus class like this (I do hide the one from Prelude)
class PlusClass a b c | a b -> c where
(+) :: a -> b -> c
{-
instance (Integral a, Integral b) => PlusClass a b Expr where
a + b = NumExpr (NumOp
refined as below. This "one-shot install" runs without any errors. I
wouldn't expect this to necessarily continue to work, as feisty is
"unstable". (A little hazy on what that means)
The troubles are indeed all connected to gtk.
[EMAIL PROTECTED]:~/shellenv/installs/haskell-installs>cat
apt-inst
20 matches
Mail list logo