based on ghc-pkg list
in my global ghc install I have bytestring-0.9.0.1
in my local ghc install I have bytestring-0.9.1.0
this difference of versions I strongly think is causing my problems..
When I run cabal install bytestring from the CLI, I get resolving
differences
If my
Galchin, Vasili [EMAIL PROTECTED] writes:
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package binary-0.4.2 requires bytestring-0.9.0.1
package bio-0.3.4.1 requires bytestring-0.9.1.0
ah ha .. Ketil,
Simon Peyton-Jones wrote:
can you tell us about the most persuasive, fun application
you've encountered, for type families or functional dependencies?
I'm using them to provide witnesses to lenses.
Given two lenses on the same base type, I want to compare them, and if
Martin Hofmann wrote:
I've already posted this mail on haskell-cafe, but apparently the
subject suggested a too simple question, so I try it here again. I am
picking up a discussion with the same topic from haskell-users on
8th November.
Note that you have been sending to haskell-cafe again.
Janis Voigtlaender wrote:
Martin Hofmann wrote:
I've already posted this mail on haskell-cafe, but apparently the
subject suggested a too simple question, so I try it here again. I am
picking up a discussion with the same topic from haskell-users on
8th November.
Note that you have been
Good morning,
I wonder if it is possible to embed regular HTML code inside gitit (on
0.3.2) pages, such as java applets like the following.
APPLET CODE = GHood.class ARCHIVE = GHood.jar WIDTH = 1100 HEIGHT = 400
ALT = you should see an instance of GHood here, as an applet PARAM NAME
= eventSource
Is it possible to use cabal to build the files that hat would need to
do tracing (i.e. .htx files)?
/M
--
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
Martin Hofmann wrote:
Thunks with reference on themselves was mentioned as main reason for
loop.
A safe recursive definition would be
let x = Foo (x+1)
However, if you leave out the constructor,
let x = x + 1
you get a loop (or a deadlock).
Are there any other reasons?
A program
I was not sure about it, so I just speculated.
Anyway, thanks a lot.
martin
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Wed, 2008-12-03 at 01:52 -0600, Galchin, Vasili wrote:
Warning: This package indirectly depends on multiple versions of the
same
package. This is highly likely to cause a compile failure.
package binary-0.4.2 requires bytestring-0.9.0.1
package bio-0.3.4.1 requires bytestring-0.9.1.0
On Tue, 2008-12-02 at 22:56 -0600, Galchin, Vasili wrote:
Hello,
http://www.cse.unsw.edu.au/~dons/fps.html
Are the papers/slides still up-to-date for someone to get up-to-speed
on ByteString motivation and implementation?
Yes.
Anything more recent?
It links to the stream fusion paper
On Wed, 2008-12-03 at 09:36 +, Magnus Therning wrote:
Is it possible to use cabal to build the files that hat would need to
do tracing (i.e. .htx files)?
No, but if you'd like to add support that'd be a great service to
everyone.
Duncan
___
Hi,
Am 03.12.2008 um 02:00 schrieb Gwern Branwen:
I haven't looked at the source, so take this as off-the-cuff: try
importing not Control.Exception but Control.OldException.
changing Control.Exceptionto Control.OldException didn't work. But
changing SomeException to Exception seems to solve
Hello,
suppose a simple C function like this:
void printStuff(FILE *f)
{
fprintf (f, Hello World\n);
}
In order to use it I need to import fopen and pass to it a Ptr CFile:
foreign import ccall unsafe fopen fopen :: CString - CString - IO (Ptr
CFile)
foreign import ccall unsafe fclose
I've just discovered the GMP license problem. (see
http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes)
From my understanding, the gmp is GPL, GHC statically links it on windows.
As a consequence, any program compiled using GHC must be distributed
under a GPL compatible license.
In
lionel:
I've just discovered the GMP license problem. (see
http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes)
From my understanding, the gmp is GPL, GHC statically links it on windows.
As a consequence, any program compiled using GHC must be distributed
under a GPL compatible
On Wed, 2008-12-03 at 15:36 +0100, Lionel Barret De Nazaris wrote:
I've just discovered the GMP license problem. (see
http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes)
From my understanding, the gmp is GPL, GHC statically links it on
windows.
Lesser GPL:
+++ Hugo Pacheco [Dec 03 08 09:36 ]:
Good morning,
I wonder if it is possible to embed regular HTML code inside gitit (on
0.3.2) pages, such as java applets like the following.
APPLET CODE = GHood.class ARCHIVE = GHood.jar WIDTH = 1100 HEIGHT =
400 ALT = you should see an
Hello Andrea,
Wednesday, December 3, 2008, 5:09:21 PM, you wrote:
How can I pass to printStuff a stdout FILE pointer?
afair, stdout syntax used to import variables. it was discussed
just a day or two ago :)
--
Best regards,
Bulatmailto:[EMAIL PROTECTED]
Hello Don,
Wednesday, December 3, 2008, 5:36:57 PM, you wrote:
From my understanding, the gmp is GPL, GHC statically links it on windows.
GMP is *LGPL*.
Supporting this is trivial with a dynamically linked / DLL libgmp.
the whole problem is that it links in statically, that reduces
license
Hallo,
Don Stewart wrote:
Supporting this is trivial with a dynamically linked / DLL libgmp. With
a statically linked one, it is also possible, since the API calls to
libgmp are specified.
Is it also possible? How?
This shouldn't prevent commercial use -- lots of other companies
On Wed, Dec 03, 2008 at 07:08:00PM +0300, Bulat Ziganshin wrote:
Hello Andrea,
Wednesday, December 3, 2008, 5:09:21 PM, you wrote:
How can I pass to printStuff a stdout FILE pointer?
afair, stdout syntax used to import variables. it was discussed
just a day or two ago :)
you mean
Hello Andrea,
Wednesday, December 3, 2008, 7:23:20 PM, you wrote:
either some error in the code (i neevr used this feature) or stdout
may be defile by a macro. can you try to define function for it:
FILE *out() {return stdout;}
On Wed, Dec 03, 2008 at 07:08:00PM +0300, Bulat Ziganshin wrote:
Hello Bulat,
On Wed, Dec 03, 2008 at 07:26:39PM +0300, Bulat Ziganshin wrote:
either some error in the code (i neevr used this feature) or stdout
may be defile by a macro.
the second you said:
/* C89/C99 say they're macros. Make them happy. */
(from stdio.h)
can you try to define
On Tue, Dec 2, 2008 at 9:49 AM, Tobias Kräntzer
[EMAIL PROTECTED] wrote:
Hi,
I'm new to haskell and wonted to start tinkering a bit with this language,
specifically with HXQ. I have installed ghc with macports.
Now while building HXQ I get the following error:
Main.hs:20:9:
Not in
yes, I am talking about inserting HTML inside the wiki.Thanks, I will check
on that and report back,
hugo
On Wed, Dec 3, 2008 at 3:44 PM, John MacFarlane [EMAIL PROTECTED] wrote:
+++ Hugo Pacheco [Dec 03 08 09:36 ]:
Good morning,
I wonder if it is possible to embed regular HTML code
From time to time, I've wanted to have a more pleasant way of writing
point-free compositions of curried functions. One might want to
transform both the first and second arguments, for instance, or only
the third argument, of a curried function. I've never known a
(non-cryptic) way to do this.
Brandon S. Allbery KF8NH wrote:
On 2008 Dec 2, at 14:44, Andrew Coppin wrote:
Regardless, it has been my general experience that almost everything
obtained from Hackage fails miserably to compile under Windows.
(IIRC, one package even used a Bash script as part of the build
process!) I
Jason Dusek wrote:
Andrew Coppin [EMAIL PROTECTED] wrote:
...it has been my general experience that almost everything
obtained from Hackage fails miserably to compile under
Windows. (IIRC, one package even used a Bash script as part of
the build process!) I haven't seen similar problems on
Hello,
For further development of the vty package I'm really only paying
attention to the requirements that fall out of the Yi project. Are
there any other projects that depend on the vty package?
In addition, the vty project has it's own wiki: http://trac.haskell.org/vty/
Right now there isn't
On a different level, I was trying the wiki on my laptop, but have now
installed it in a remote server.
However, with the same configurations, I can create users but not log in, it
simply returns to the front page. It is hosted at
http://haskell.di.uminho.pt:8080
It does not seem to be a
Solved, just something with my Safari cookies, sorry.
On Wed, Dec 3, 2008 at 8:40 PM, Hugo Pacheco [EMAIL PROTECTED] wrote:
On a different level, I was trying the wiki on my laptop, but have now
installed it in a remote server.
However, with the same configurations, I can create users but not
On Thu, Dec 04, 2008 at 11:56:10AM +1300, Yuriy wrote:
Hi,
Is there any haskell library to work with ZIP file format?
Thanks,
Yuriy
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zip-archive
On Wed, Dec 3, 2008 at 5:59 PM, Yuriy [EMAIL PROTECTED] wrote:
On Thu, Dec 04, 2008 at 11:56:10AM +1300, Yuriy wrote:
Hi,
Is there any haskell library to work with ZIP file format?
Thanks,
Yuriy
module Test where
--why does this work:
data Test = Test
class Foo t where
foo :: Num v = t - v - IO ()
instance Foo Test where
foo _ 1 = print $ one
foo _ _ = print $ not one
--but this doesn't?
class Bar t where
bar :: Foo v = t - v - IO ()
instance Bar Test where
bar _ Test
Almost as fast as typing proper google query :)
Thanks.
On Wed, Dec 03, 2008 at 06:01:59PM -0500, Jeff Heard wrote:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zip-archive
On Wed, Dec 3, 2008 at 5:59 PM, Yuriy [EMAIL PROTECTED] wrote:
On Thu, Dec 04, 2008 at 11:56:10AM +1300,
Numeric literals are special. Their type is (Num t) = t, so it can
belong to any type that is instance of Num. Whereas Test belongs to
Test type only so you cannot call bar on any instance of Foo.
So your pattern constrains type signature of bar more then it is
constrained by class
Am Donnerstag, 4. Dezember 2008 00:05 schrieb Anatoly Yakovenko:
module Test where
--why does this work:
data Test = Test
class Foo t where
foo :: Num v = t - v - IO ()
instance Foo Test where
foo _ 1 = print $ one
foo _ _ = print $ not one
--but this doesn't?
class Bar t
Yes; I had a similar question, and it turns out Num is special, or
rather, pattern matching on integer literals is special. See the
thread
http://www.nabble.com/Pattern-matching-on-numbers--td20571034.html
The summary is that pattern matching on a literal integer is different
than a regular
Hmm, I think I finally see the real problem.
At some point when logged in, the session expires and the wiki prompts again
for the login information. However, the cookies still assume we are logged
in and do not allow me to log in again.
The solution is to remove the cookies for the wiki server.
I
On Wed, Dec 3, 2008 at 11:53 AM, Andrew Coppin
[EMAIL PROTECTED] wrote:
Brandon S. Allbery KF8NH wrote:
On 2008 Dec 2, at 14:44, Andrew Coppin wrote:
Regardless, it has been my general experience that almost everything
obtained from Hackage fails miserably to compile under Windows. (IIRC,
Thanks for your help.
On Wed, Dec 3, 2008 at 3:47 PM, Ryan Ingram [EMAIL PROTECTED] wrote:
Yes; I had a similar question, and it turns out Num is special, or
rather, pattern matching on integer literals is special. See the
thread
This is pretty cool. I was wondering how much work would it be for
gitit to be able to use markdown from the comment sections in source
files? It would be a really good way to manage documentation.
Basically I would like to be able to point gitit at an existing git
repo, and have it provide a
+++ Anatoly Yakovenko [Dec 03 08 17:03 ]:
This is pretty cool. I was wondering how much work would it be for
gitit to be able to use markdown from the comment sections in source
files? It would be a really good way to manage documentation.
Basically I would like to be able to point gitit
On Wed, Dec 3, 2008 at 5:54 PM, John MacFarlane [EMAIL PROTECTED] wrote:
+++ Anatoly Yakovenko [Dec 03 08 17:03 ]:
This is pretty cool. I was wondering how much work would it be for
gitit to be able to use markdown from the comment sections in source
files? It would be a really good way to
I had fun with SELinux when using Haskell for CGI programs. The
default SELinux policy forbids CGI programs that execute code in their
data segment. I had to write a policy module that allowed
httpd_sys_script_t self:process execmem. Oh joy.
John
___
I think that Anatoly was suggestion a bridge between markdown and haddock
syntax.
Of course gitit would read haddock-documented sources and generate different
results than haddock itself (showing highlighted source code is the most
significant).
Being practical, this is very close to the
Being practical, this is very close to the markdownish literate haskell you
are suggesting.
hugo
yea, i agree. But is there any way to generalize this to non haskell projects?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
andrewcoppin:
Jason Dusek wrote:
Andrew Coppin [EMAIL PROTECTED] wrote:
...it has been my general experience that almost everything
obtained from Hackage fails miserably to compile under
Windows. (IIRC, one package even used a Bash script as part of
the build process!) I haven't seen
Bulat Ziganshin [EMAIL PROTECTED] wrote:
Don wrote:
Lionel wrote:
From my understanding, the gmp is GPL, GHC statically
links it on windows.
GMP is *LGPL*.
Supporting this is trivial with a dynamically linked / DLL
libgmp.
the whole problem is that it links in statically, that
50 matches
Mail list logo