[Haskell-cafe] Re: Best Linux for Haskell?

2007-11-06 Thread Ivan Lazar Miljenovic
for a newbie :p -- Ivan Lazar Miljenovic [EMAIL PROTECTED] signature.asc Description: PGP signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ptys and hGetContent problem

2010-03-08 Thread Ivan Lazar Miljenovic
. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How to define instance for type synonym with parameter.

2010-03-15 Thread Ivan Lazar Miljenovic
. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Proposal: Australian Hackathon

2010-03-16 Thread Ivan Lazar Miljenovic
period. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Code that doesn't compile - but should :)

2010-03-16 Thread Ivan Lazar Miljenovic
, UndecidableInstances, FlexibleContexts, EmptyDataDecls, ScopedTypeVariables, TypeOperators, TypeSynonymInstances #-} You sure you have enough language extensions there? ;-) -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] [Announcement] Fedora 12 rpms for leksah 0.8.0.1 now available

2010-03-18 Thread Ivan Lazar Miljenovic
, leksah menu item appears under * Applications-Programming* (in GNOME) and *Development* menu of KDE. Which, of course, assumes you use one of the two major DEs... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Re: Why does `flip` cause function type so different ?

2010-03-19 Thread Ivan Lazar Miljenovic
was catering more for the type of questions he had. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Occurs check error, help!

2010-03-20 Thread Ivan Lazar Miljenovic
boblettoj bobletto...@msn.com writes: shuffle i cards = do gen - mkStdGen 10 return ([(cards!!i) : (shuffle (randomR (0, ((length cards)-2)) gen) (delete (cards!!i) cards))]) Thta last line doesn't make sense; should it be on the line above? -- Ivan Lazar Miljenovic

Re: [Haskell-cafe] Occurs check error, help!

2010-03-20 Thread Ivan Lazar Miljenovic
, mkStdGen :: Int - StdGen : you need to provide it with a number and it doesn't return a monadic value, so you can't use - with it. Thirdly, have a look at randoms and randomRs. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Occurs check error, help!

2010-03-20 Thread Ivan Lazar Miljenovic
. thanks OK, I thought you were doing something with random ordering of lists (note that if you want to shuffle some lists, there is a package on Hackage that implements Oleg's perfect shuffling function). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Data.Number.BigFloat/Fixed

2010-03-21 Thread Ivan Lazar Miljenovic
) and import Data.Ratio newtype Fixed e = F Rational deriving (Eq, Ord, Enum, Real, RealFrac) -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

[Haskell-cafe] ANNOUNCE: AusHac2010

2010-03-22 Thread Ivan Lazar Miljenovic
/AusHac2010 We will shortly be adding an extended version of the Who table; please also add your details there as well as which projects you would be interested in hacking in. Hoping to see you there! -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Bytestrings and [Char]

2010-03-22 Thread Ivan Lazar Miljenovic
a ByteString version as well might be a viable option; replacing the current one is quite likely not. My question or discussion point: Why not depreciate [Char] altogether and favour of lazy Bytestrings? I believe I've answered this above. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] which version is in the platform

2010-03-22 Thread Ivan Lazar Miljenovic
Don Stewart d...@galois.com writes: The beta of the 2010.2.0.0 release is now up, which is based on GHC 6.12. Hang on, you just announced 2010.1.0.0... have you suddenly released _another_ major version? :p -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] derivable type classes

2010-03-23 Thread Ivan Lazar Miljenovic
extension, if type Foo instantiates a typeclass Baz, then you can derive Baz for newtype Bar = Bar Foo. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] accents

2010-03-24 Thread Ivan Lazar Miljenovic
an encoding) 3) GHC 6.12.1 uses the system's locale for encoding; as such if your system normally lets you see accented characters then putStrLn, etc. will print them out. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Windows version of Haskell Platform containing ghc 6.12

2010-03-26 Thread Ivan Lazar Miljenovic
' version (2009.2.0.2) which contains ghc 6.10 The windows version hasn't been finalised yet. See http://www.haskell.org/pipermail/libraries/2010-March/013299.html for a beta version. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Why is it so different between 6.12.1 and 6.10.4_1 ?

2010-03-26 Thread Ivan Lazar Miljenovic
and exports got changed, so in 6.12 the (- a) Monad instance is exported whereas in 6.10 it isn't. fac n = let { f = foldr (*) 1 [1..n] } in f Why do you bother with the interior definition of f in there? fac = product . enumFromTo 1 -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Why is it so different between 6.12.1 and 6.10.4_1 ?

2010-03-26 Thread Ivan Lazar Miljenovic
David Menendez d...@zednenem.com writes: On Fri, Mar 26, 2010 at 8:59 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Some definitions and exports got changed, so in 6.12 the (- a) Monad instance is exported whereas in 6.10 it isn't. What? From where? I thought the whole reason

Re: [Haskell-cafe] Why is it so different between 6.12.1 and 6.10.4_1 ?

2010-03-27 Thread Ivan Lazar Miljenovic
zaxis z_a...@163.com writes: Why do you bother with the interior definition of f in there? Because i want to try a C code style not layout style without `do` syntax sugar . Haskell /= C, so stop trying to code as if it is. If you like C so much, then use C. -- Ivan Lazar Miljenovic

Re: [Haskell-cafe] Haskell-friendly Linux Distribution

2010-03-27 Thread Ivan Lazar Miljenovic
to the Arch packages on Hackage. It might be worth looking into. We may not have as many packages as Arch (because we don't just churn them willy-nilly) but Gentoo has a fair number of up-to-date Haskell packages in its overlay. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Haskell.org re-design

2010-03-28 Thread Ivan Lazar Miljenovic
. ^^ This. It's too boring and depressing with all that grayscale. Why not use the coloured version of the logo ( http://haskell.org/sitewiki/images/a/a8/Haskell-logo-60.png ) and base the colour scheme off that? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] which version is in the platform

2010-03-28 Thread Ivan Lazar Miljenovic
on how to best present this? A list of package names with links to the specific version on Hackage (and maybe a short description of what they are)? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Can everyone please update your code to the latest QuickCheck, Parsec, and HaXml this week? Thanks!

2010-03-28 Thread Ivan Lazar Miljenovic
want to use, and that makes cabal unhappy. Better (well, OK, maybe not _better_ per se but relevant) question: why isn't QuickCheck usage optional in so many of these libraries? There should be no reason for most people to build the testing functions, etc. in these libraries. -- Ivan Lazar

Re: [Haskell-cafe] Re: Haskell-friendly Linux Distribution

2010-03-30 Thread Ivan Lazar Miljenovic
to? Is this an omission? Hasn't been ported yet IIRC. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: building encoding on Windows?

2010-03-30 Thread Ivan Lazar Miljenovic
. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Data.Graph?

2010-03-31 Thread Ivan Lazar Miljenovic
, it doesn't really have many graph operations defined there.) -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Integers v ints

2010-04-01 Thread Ivan Lazar Miljenovic
stored as an Int (IIUC anyway); however computable reals are almost always inefficient. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-01 Thread Ivan Lazar Miljenovic
to bother running it (and would question why anyone would). How does the inclusion of a test option to Cabal allow any substantial benefits to developers over building the package with a build-time flag to enable building a test suite? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Ivan Lazar Miljenovic
like the GHC API, which immediately reduces the niceness and portability of such a tool/library. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Ivan Lazar Miljenovic
Don Stewart d...@galois.com writes: Well, you can 'script' GHC: [snip] To at least get the fully qualified types exported from a module. Which increases the portability _how_ precisely? :p -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] The 8 Most Important GSoC Projects

2010-04-01 Thread Ivan Lazar Miljenovic
Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-01 Thread Ivan Lazar Miljenovic
thought is that perhaps ./Setup uses a different version of the Cabal library than what cabal-install uses. My understanding is that Setup.hs will use whatever libraries you already have installed; cabal-install will use the latest allowable version of libraries. -- Ivan Lazar Miljenovic

Re: [Haskell-cafe] Hackage accounts and real names

2010-04-04 Thread Ivan Lazar Miljenovic
to be anonymous in these kinds of situations, but in terms of submitting open source software? Unless their employer is worried about them releasing proprietary software on Hackage, I don't see the potential for embarrasment there. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Hackage accounts and real names

2010-04-05 Thread Ivan Lazar Miljenovic
Joe Fredette jfred...@gmail.com writes: You guys don't _really_ think my name is Joe Fredette, right? I'm actually Batman. Batman, Joe, whatever your name is... I notice that the HWN has turned into the Haskell Whenever-I-can-be-bothered-getting-around-to-it News... _ -- Ivan Lazar

Re: [Haskell-cafe] Hackage accounts and real names

2010-04-05 Thread Ivan Lazar Miljenovic
Joe Fredette jfred...@gmail.com writes: Unfortunately, Ivan, it's not so much the Whenever-I-can-be-bothered and more the Joe-had-4-finals-in-2-weeks-and-3-papers-to-write. HWN should be back shortly. Hang on, I thought your name was Batman, not Joe... -- Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] Hackage accounts and real names

2010-04-05 Thread Ivan Lazar Miljenovic
Ross (and I hope I dealt with the flaky arguments he linked to in my reply). And yet at times (and I would think that this is one of those times) well, why not? _can_ be a valid argument. I am frankly amazed that why should I use my real name is a valid attack on the policy. -- Ivan Lazar

Re: [Haskell-cafe] Re: Hackage accounts and real names

2010-04-06 Thread Ivan Lazar Miljenovic
mention above). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Hackage accounts and real names

2010-04-06 Thread Ivan Lazar Miljenovic
Miguel Mitrofanov miguelim...@yandex.ru writes: Out of curiosity: is there something wrong with my nickname migmit? How it was derived is at least apparent, as opposed to nicknames that have nothing to do with people's real names. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Re: Hackage accounts and real names

2010-04-06 Thread Ivan Lazar Miljenovic
variant) rather than against... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Established names for a couple of list functionals?

2010-04-06 Thread Ivan Lazar Miljenovic
. But it was an internal non-exported function. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Ivan Lazar Miljenovic
Thomas Schilling nomin...@googlemail.com writes: Another attempt: http://i.imgur.com/ENvl7.png I like the layout, but hate the colour scheme. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-07 Thread Ivan Lazar Miljenovic
a Symbian phone, so I can probably help you out there. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Confusions about the Haskell Platform (for Mac)

2010-04-07 Thread Ivan Lazar Miljenovic
something that depends upon it with another version of GHC (since the package manager _knows_ that the dependency is installed, yet GHC is vehement that it knows nothing about it). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] lhaskell.vim: syntax highlighting fix for pragmas and comments in TeX mode

2010-04-07 Thread Ivan Lazar Miljenovic
Tomas Janousek t...@nomi.cz writes: (Who's supposed to send it to vim maintainer? Me, or cafe?) You. It's your patch/fix, and it's a bit difficult to ascertain which part of the amorphous mass that is haskell-cafe is meant to be doing your bidding for you ;-) -- Ivan Lazar Miljenovic

Re: [Haskell-cafe] Confusions about the Haskell Platform (for Mac)

2010-04-07 Thread Ivan Lazar Miljenovic
manager for Haskell packages. Cabal is far superior to all of them 8-) Except for the fact that you can't uninstall, check for non-Haskell-library dependencies, etc. ... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] ANNOUNCE: JSONb-1.0.0

2010-04-07 Thread Ivan Lazar Miljenovic
Jason Dusek jason.du...@gmail.com writes: A new release of JSONb, taking advantage of the latest Attoparsec. http://hackage.haskell.org/package/JSONb-1.0.0 Is this meant to be a continuation of the json-b package? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

[Haskell-cafe] What is the consensus about -fwarn-unused-do-bind ?

2010-04-09 Thread Ivan Lazar Miljenovic
and disable a warning globally. What does the Haskell community think? Is -fwarn-unused-do-bind a worthwhile warning (and code should be updated so as not to cause it to find anything to warn about)? Or is it more of a hindrance to be disabled? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] ANN: darcsum.el 1.2 released

2010-04-09 Thread Ivan Lazar Miljenovic
to get a darcs repo? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] persist and retrieve of IO type?

2010-04-10 Thread Ivan Lazar Miljenovic
you actually use them... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Cabal dependency hell

2010-04-11 Thread Ivan Lazar Miljenovic
always found it irritating... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Cabal dependency hell

2010-04-12 Thread Ivan Lazar Miljenovic
packages! [y/n] Which, in its own way, means that cabal-install is still phoning home; you then even need network access if you're building packages that you've already downloaded the sources for. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Can't install Criterion package on ghc ..

2010-04-13 Thread Ivan Lazar Miljenovic
] Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Why not do as the nice error message says and report this bug? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] instance Eq (a - b)

2010-04-14 Thread Ivan Lazar Miljenovic
, Bool. You didn't make such a restriction; you wanted it for _all_ function types. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] What is the consensus about -fwarn-unused-do-bind ?

2010-04-14 Thread Ivan Lazar Miljenovic
Short version: using something like mapM but disregarding the result (rather than using mapM_) can sometimes lead to space leaks. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] ghc #defines

2010-04-14 Thread Ivan Lazar Miljenovic
://www.haskell.org/ghc/docs/latest/html/users_guide/options-phases.html (Note: I don't know how authorative/complete that list is.) -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] ANN: haskell-src-exts 1.9.0

2010-04-15 Thread Ivan Lazar Miljenovic
with the server? Looks built to me... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] cabal: other-modules

2010-04-15 Thread Ivan Lazar Miljenovic
happily builds and installs (!) the package anyway, but I'm getting linker errors when using it. Interesting; it normally complains when this occurs (for me at least); care to share the .cabal file to see which files it didn't complain about? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] ANN: haskell-src-exts 1.9.0

2010-04-15 Thread Ivan Lazar Miljenovic
Sean Leather leat...@cs.uu.nl writes: Hmm, now it does. Apparently, the server saw my email and responded nicely. Well, it takes half an hour or so... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe

Re: [Haskell-cafe] ANN: haskell-src-exts 1.9.0

2010-04-15 Thread Ivan Lazar Miljenovic
/1.9.0/logs/success/. I believe that's longer than 30 minutes. Interesting maybe there was some error on Hackage that stopped the builder from working... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe

Re: [Haskell-cafe] Re: cabal: other-modules

2010-04-15 Thread Ivan Lazar Miljenovic
they mean why doesn't this do what I think it should? None of its definitions seem to match what you mean: http://wordnetweb.princeton.edu/perl/webwn?s=moral -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe

Re: [Haskell-cafe] Building regex-posix for windows

2010-04-15 Thread Ivan Lazar Miljenovic
which should probably be included and used on Windows. As far as I know Haskell Platform uses MinGW and it includes regex-posix. I'm not sure if it uses MinGW or Cygwin. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] ghc package problem

2010-04-16 Thread Ivan Lazar Miljenovic
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] what does the '~' mean ?

2010-04-16 Thread Ivan Lazar Miljenovic
Stefan Holdermans ste...@vectorfabrics.com writes: Irrefutable pattern? ;-) Ahhh, yes, that's it. I knew it started with `i', but that's about it... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe

Re: [Haskell-cafe] ghc package problem

2010-04-16 Thread Ivan Lazar Miljenovic
...@googlemail.com [mailto:thebenmach...@googlemail.com] On Behalf Of Ben Millwood Sent: Friday, April 16, 2010 20:57 To: Phyx Cc: Ivan Lazar Miljenovic; haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] ghc package problem On Fri, Apr 16, 2010 at 2:40 PM, Phyx loneti...@gmail.com wrote: So same error

Re: [Haskell-cafe] US Patent for the idea of using Haskell to implement UAX #9

2010-04-17 Thread Ivan Lazar Miljenovic
Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] redirecting cabal-install from /tmp

2010-04-17 Thread Ivan Lazar Miljenovic
, since other applications would probably want to keep using /tmp for TMPDIR. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] problem with cabal on snow leopard

2010-04-17 Thread Ivan Lazar Miljenovic
that all the libraries i removed are still there. how can i fix this? Cabal uses the ghc-pkg database to know which libraries are installed. If you want to wipe everything and start afresh, then delete the ~/.ghc directory (assuming you did per-user installs). -- Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] redirecting cabal-install from /tmp

2010-04-17 Thread Ivan Lazar Miljenovic
Erlend Hamberg ehamb...@gmail.com writes: On Sunday 18. April 2010 00.49.28 Ivan Lazar Miljenovic wrote: Except I think Chris wants to be able to specify a directory, since other applications would probably want to keep using /tmp for TMPDIR. alias cabal=TMPDIR=/foo cabal Ooohhh, forgot you

Re: [Haskell-cafe] building Haskell Platform for CentOS 5.2 with a /tmp mounted noexec

2010-04-17 Thread Ivan Lazar Miljenovic
, could you have gone straight from 6.8.3 to 6.12.1 (or if not that, since 6.10.1 built then presumably 6.10.4 probably would have as well). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell

Re: [Haskell-cafe] Functional Dependencies conflicts

2010-04-17 Thread Ivan Lazar Miljenovic
living room -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Embedded funcional programming?

2010-04-17 Thread Ivan Lazar Miljenovic
://www.reddit.com/r/haskell/comments/boc3t/does_this_mean_we_cant_use_haskell_for_iphone/ -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] problem with cabal on snow leopard

2010-04-17 Thread Ivan Lazar Miljenovic
the same thing or where is it hidden/what am i overlooking? There is as yet no release of gtk2hs that works with GHC 6.12.1. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Confusions about the Haskell Platform (for Mac)

2010-04-18 Thread Ivan Lazar Miljenovic
name as their defacto implementation (Python [though the implementation is technically CPython], Perl, Ruby, etc.). Whilst Haskell has other implementations apart from GHC, none of the others are as featureful, etc. So pretty much if you want Haskell, then you want GHC. -- Ivan Lazar Miljenovic

Re: [Haskell-cafe] Profiling

2010-04-20 Thread Ivan Lazar Miljenovic
the -prof -auto-all, the project compiles without any error or warning. I build GHC (6.10.4) from source, without changing any build option. This has nothing to do with GHC. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-23 Thread Ivan Lazar Miljenovic
smaller, more modular libraries over large monolithic ones also affects this. When considering Haskell vs Python, I wonder if the stability of Python's libraries is due to their relative maturity in that the fundamental libraries have had time to settle down. -- Ivan Lazar Miljenovic ivan.miljeno

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-23 Thread Ivan Lazar Miljenovic
. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Unicode strings and runCommand / runProcess

2010-04-23 Thread Ivan Lazar Miljenovic
System.Process runCommand echo привет ?...@825b Are you arguing about IO-specific stuff like this, or for all non-ASCII Strings? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-23 Thread Ivan Lazar Miljenovic
and network usage. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-23 Thread Ivan Lazar Miljenovic
generally _are_ buildable/usable for their repositories (e.g. XMonad and XMonad-Contrib). But these are large multi-person projects with moving targets; the stuff i write is being developed by myself only. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-23 Thread Ivan Lazar Miljenovic
Gwern Branwen gwe...@gmail.com writes: On Fri, Apr 23, 2010 at 7:17 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: 2) Not all head repositories are kept stable/buildable at all times. Perfect, meet better. Wait, no no - aw goddammit Perfect! Why do you do this every single time

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-24 Thread Ivan Lazar Miljenovic
those change (sufficiently)? I don't get this; just because someone changes a unit test (because they thought of a new case, etc.) they should bump the package version even if all the changes were internal and not exported? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-24 Thread Ivan Lazar Miljenovic
Roman Leshchinskiy r...@cse.unsw.edu.au writes: On 24/04/2010, at 18:06, Ivan Lazar Miljenovic wrote: I would think that the API is all the functions/classes/datatypes/instances/etc. exported from the library in combination with their types. So the semantics of those functions doesn't

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-24 Thread Ivan Lazar Miljenovic
automating the test for detecting if the intention of a function changes in this manner? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-24 Thread Ivan Lazar Miljenovic
could get around this, there remains another problem: automatically generating the kind of input each function expects (how do you encode pre-conditions automatically for such a tool to pick up? What about pure parsing functions?). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Using a library in a executable within same cabal package

2010-04-24 Thread Ivan Lazar Miljenovic
. However, this is causing problems with building haddock documentation: http://hackage.haskell.org/trac/hackage/ticket/656 -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-24 Thread Ivan Lazar Miljenovic
there, but we could bump the version number as it would require little work. I would argue that it would involve bumping a minor version number, not a major version number (which indicates an API change) since it's just a bug fix. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-24 Thread Ivan Lazar Miljenovic
Ross Paterson r...@soi.city.ac.uk writes: Same major version: any code using fully explicit imports that worked with the old version will work with the new version, in the same way. By this you mean that additions have been made? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] FGL up for adoption

2010-04-24 Thread Ivan Lazar Miljenovic
be interested in taking over the maintenance and future development. Anybody interested? I'm willing to help out. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] FGL up for adoption

2010-04-24 Thread Ivan Lazar Miljenovic
over FGL fully though, as I've got a huge backlog of other project I want to work on (then again, I guess everyone does... _ ). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] I need help getting started

2010-04-24 Thread Ivan Lazar Miljenovic
?) or can you use a pre-defined function? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] The instability of Haskell libraries

2010-04-25 Thread Ivan Lazar Miljenovic
-- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] What do _you_ want to see in FGL?

2010-04-25 Thread Ivan Lazar Miljenovic
? [5]: http://hackage.haskell.org/package/SourceGraph -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: What do _you_ want to see in FGL?

2010-04-26 Thread Ivan Lazar Miljenovic
Christian Maeder christian.mae...@dfki.de writes: Ivan Lazar Miljenovic schrieb: - Having a separate parameter (using associated types?) for the node type rather than just using Int. Just Int for nodes was disappointing. It should have been at least a newtype. This then loses

Re: [Haskell-cafe] What do _you_ want to see in FGL?

2010-04-26 Thread Ivan Lazar Miljenovic
I haven't come across Metamorphic Programming before, will have to have a read through it (which isn't that appealing at the moment, since I'm in the middle of the literature review section of my PhD :s). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com

Re: [Haskell-cafe] Broken ghc documentation links

2010-04-26 Thread Ivan Lazar Miljenovic
/Prelude.html#t%3AIO 2) Click source, which redirects to http://haskell.org/ghc/docs/6.12.1/html/libraries/base-4.2.0.0/src/GHC-Types.html#IO 3) Observe a Not Found page Is there anyone interested in fixing this? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] Why does cabal select base-3.0.3.2 when base-4.2.0.0 is available?

2010-04-26 Thread Ivan Lazar Miljenovic
the new base version 4.x. [snip] -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Why does cabal select base-3.0.3.2 when base-4.2.0.0 is available?

2010-04-26 Thread Ivan Lazar Miljenovic
Bjorn Buckwalter bjorn.buckwal...@gmail.com writes: On Mon, Apr 26, 2010 at 19:38, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Bjorn Buckwalter bjorn.buckwal...@gmail.com writes: Why does cabal seem to prefer base-3.0.3.2 over base-4.2.0.0 when installing packages

Re: [Haskell-cafe] Why does cabal select base-3.0.3.2 when base-4.2.0.0 is available?

2010-04-26 Thread Ivan Lazar Miljenovic
be edited without affecting the tarball in question (thus making them even more like Gentoo's ebuild or Arch's PKGBUILD files). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Broken ghc documentation links

2010-04-26 Thread Ivan Lazar Miljenovic
Daniel Fischer daniel.is.fisc...@web.de writes: Am Montag 26 April 2010 13:36:22 schrieb Ivan Lazar Miljenovic: So, the problem is that there are broken links _in Hoogle_; No, hoogle just sends you to http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Prelude.html#t%3AIO

  1   2   3   4   5   6   7   8   9   10   >