Re: [Haskell-cafe] Re: GPL answers from the SFLC

2010-03-05 Thread Ivan Lazar Miljenovic
nd the program is GPL. [1]: http://haskell.org/cpphs/ -- 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] Haskell platform for GHC 6.12.1?

2010-03-05 Thread Ivan Lazar Miljenovic
Andrew Coppin writes: > Is there a reason why a new precompiled binary can't be put up for > download? I would assume because no-one has supplied one (Duncan doesn't use Windows; don't know about the rest of the cabal-install developers). -- Ivan Lazar Miljenovic ivan

Re: [Haskell-cafe] ghc leaking memory?

2010-03-06 Thread Ivan Lazar Miljenovic
eplace it. [1] http://github.com/jgm/illuminate -- 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] ptys and hGetContent problem

2010-03-08 Thread Ivan Lazar Miljenovic
ls a program. -- 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
Vasyl Pasternak writes: > Could anyone tell me what is going on, and how to declare SomeMonad as > instance of Applicative ? You can't, because you can't define new instances for type aliases. If you really want SomeMonad to have a custom instance, define it as a newtype.

Re: [Haskell-cafe] Proposal: Australian Hackathon

2010-03-16 Thread Ivan Lazar Miljenovic
that time 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
bleInstances, FlexibleContexts, EmptyDataDecls, ScopedTypeVariables, > TypeOperators, TypeSynonymInstances #-} You sure you have enough language extensions there? ;-) -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haske

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

2010-03-18 Thread Ivan Lazar Miljenovic
ksah 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
the list, and I figured that haskell-beginners 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 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 Mil

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

2010-03-20 Thread Ivan Lazar Miljenovic
l, why are you using a do block? Secondly, 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 Miljeno

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

2010-03-20 Thread Ivan Lazar Miljenovic
hanks 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 IvanMiljeno

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

2010-03-21 Thread Ivan Lazar Miljenovic
Integer deriving (Eq, Ord) > > 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-

[Haskell-cafe] ANNOUNCE: AusHac2010

2010-03-22 Thread Ivan Lazar Miljenovic
lwiki/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 IvanMiljenovi

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

2010-03-22 Thread Ivan Lazar Miljenovic
ked at the package.) Providing 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 abov

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

2010-03-22 Thread Ivan Lazar Miljenovic
Don Stewart 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.wordpre

Re: [Haskell-cafe] derivable type classes

2010-03-23 Thread Ivan Lazar Miljenovic
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://www.haskell.org/mailman/listi

Re: [Haskell-cafe] accents

2010-03-24 Thread Ivan Lazar Miljenovic
) Use the text package for I/O (and set 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
7;old' 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
`(>>=)' > In the expression: ((>>=) . f) 1 (\ f x -> f x) 2 > In the definition of `it': it = ((>>=) . f) 1 (\ f x -> f x) 2 > Some definitions and exports got changed, so in 6.12 the (-> a) Monad instance is exported whereas in 6.10 it isn'

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 writes: > On Fri, Mar 26, 2010 at 8:59 PM, Ivan Lazar Miljenovic > 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 wh

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

2010-03-26 Thread Ivan Lazar Miljenovic
zaxis 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 Miljenov

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

2010-03-27 Thread Ivan Lazar Miljenovic
ckages 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 Iv

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

2010-03-28 Thread Ivan Lazar Miljenovic
'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...@gmai

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

2010-03-28 Thread Ivan Lazar Miljenovic
gt; > Any thoughts 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 __

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. -- I

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

2010-03-30 Thread Ivan Lazar Miljenovic
orm > > Ubuntu (10.4) doesn't seem 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
lleviated (through the use of testing, creating installers, etc.). The same goes with Mac OSX. -- 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
IRC, 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
ed as an Int _are_ 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://w

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

2010-04-01 Thread Ivan Lazar Miljenovic
n what it prints and parses is consistent: I don't expect a user 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 f

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

2010-04-01 Thread Ivan Lazar Miljenovic
quot; would require using something 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 mailin

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

2010-04-01 Thread Ivan Lazar Miljenovic
Don Stewart 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 IvanMiljenov

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

2010-04-01 Thread Ivan Lazar Miljenovic
Don Stewart writes: > Portability? You already have GHC on the machine, right? You don't > necessarily need the GHC API to get something prototyped quickly. I meant in the sense of writing this as a tool, which will also work if the user prefers JHC, YHC, etc. over GHC. --

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

2010-04-01 Thread Ivan Lazar Miljenovic
only other 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

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

2010-04-04 Thread Ivan Lazar Miljenovic
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 Ivan

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

2010-04-05 Thread Ivan Lazar Miljenovic
Joe Fredette 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... >_>

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

2010-04-05 Thread Ivan Lazar Miljenovic
Joe Fredette 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.miljen

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

2010-04-05 Thread Ivan Lazar Miljenovic
"well, why not?" has been 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

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

2010-04-06 Thread Ivan Lazar Miljenovic
h this is to do with the inconsistency you 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 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 IvanMiljen

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

2010-04-06 Thread Ivan Lazar Miljenovic
t) 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
irstOthers. 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 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 list Haskell-C

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

2010-04-07 Thread Ivan Lazar Miljenovic
t;>> testing on any of those. I have 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
nds 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 ___ Haskell-C

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

2010-04-07 Thread Ivan Lazar Miljenovic
Tomas Janousek 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 Milje

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 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 IvanMiljenovic.word

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

2010-04-09 Thread Ivan Lazar Miljenovic
ptions don't appeal to me as being excessive usage of boilerplate; the third involves too much code duplication. However, I am loath to just go and disable a warning globally. What does the Haskell community think? Is -fwarn-unused-do-bind a worthwhile warning (and code should be updat

Re: [Haskell-cafe] Re: GSoC: Hackage 2.0

2010-04-09 Thread Ivan Lazar Miljenovic
l haskell > definitions on the haddock page, and then hide most of them by default under > an expander of some sort. Rather than, you know, providing the maintainer with a patch with some improved documentation? -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovi

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

2010-04-09 Thread Ivan Lazar Miljenovic
ng 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-09 Thread Ivan Lazar Miljenovic
executed until 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
;t know about you, but I 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
kages! [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...@gma

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

2010-04-13 Thread Ivan Lazar Miljenovic
v] > > 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 mailin

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

2010-04-14 Thread Ivan Lazar Miljenovic
if the domain is, for instance, 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@hask

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

2010-04-14 Thread Ivan Lazar Miljenovic
3263 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-Ca

Re: [Haskell-cafe] ghc #defines

2010-04-14 Thread Ivan Lazar Miljenovic
ike they're here: http://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 ___ Haskel

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

2010-04-15 Thread Ivan Lazar Miljenovic
o "built on" available. Is it an issue 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
uot;other-module", > then "cabal install" 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 fi

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

2010-04-15 Thread Ivan Lazar Miljenovic
Sean Leather 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 mailin

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

2010-04-15 Thread Ivan Lazar Miljenovic
archive/haskell-src-exts/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 __

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

2010-04-15 Thread Ivan Lazar Miljenovic
lly" when 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 _

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

2010-04-15 Thread Ivan Lazar Miljenovic
x.h 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
ays reinstall all the dependencies on every change. >> It doesn't seem to see that they're already installed. > > Can we have more details, please? > > As a first idea, you might try > > ghc-pkg unregister offending-package >

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

2010-04-16 Thread Ivan Lazar Miljenovic
Stefan Holdermans 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 mailing

Re: [Haskell-cafe] ghc package problem

2010-04-16 Thread Ivan Lazar Miljenovic
Message- > From: thebenmach...@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

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

2010-04-17 Thread Ivan Lazar Miljenovic
en upon a time machine, we here at Humorix (and, indeed, the whole world) implore you to travel back to 1100, track down a law teacher called Irnerius, and prevent him from founding his school using whatever means necessary. Your contribution to humanity will truly make the world (in an alternate

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

2010-04-17 Thread Ivan Lazar Miljenovic
nce 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/haskell-cafe

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

2010-04-17 Thread Ivan Lazar Miljenovic
thinks 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). -- Iv

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

2010-04-17 Thread Ivan Lazar Miljenovic
Erlend Hamberg 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&q

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

2010-04-17 Thread Ivan Lazar Miljenovic
t; I wonder, 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-Ca

Re: [Haskell-cafe] Functional Dependencies conflicts

2010-04-17 Thread Ivan Lazar Miljenovic
Daniel Fischer writes: > Wow. Makes me wonder what quicksilver says about IncoherentInstances. Not quicksilver, but according to lambdabot: @quote incoherent sproingie says: * enables IncoherentInstances and ends up with Sarah Palin in his living room -- Ivan Lazar Miljeno

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

2010-04-17 Thread Ivan Lazar Miljenovic
eddit.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/haskell-cafe

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

2010-04-17 Thread Ivan Lazar Miljenovic
ehow 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 Hask

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

2010-04-18 Thread Ivan Lazar Miljenovic
most "newer" languages have the same 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 "

Re: [Haskell-cafe] Profiling

2010-04-20 Thread Ivan Lazar Miljenovic
n I build the project without 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.wordpres

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

2010-04-23 Thread Ivan Lazar Miljenovic
perfect. The fact that we encourage 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

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

2010-04-23 Thread Ivan Lazar Miljenovic
g the package. -- 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
; Prelude 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-Ca

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

2010-04-23 Thread Ivan Lazar Miljenovic
ve wrt space 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
there are some projects which 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.milj

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

2010-04-23 Thread Ivan Lazar Miljenovic
Gwern Branwen writes: > On Fri, Apr 23, 2010 at 7:17 PM, Ivan Lazar Miljenovic > 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? *You* get

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

2010-04-24 Thread Ivan Lazar Miljenovic
sions to be bumped > whenever 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.miljen

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

2010-04-24 Thread Ivan Lazar Miljenovic
Roman Leshchinskiy 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 func

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

2010-04-24 Thread Ivan Lazar Miljenovic
s, etc. how would you go about 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 Hask

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

2010-04-24 Thread Ivan Lazar Miljenovic
Even if we 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
everal times. 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 lis

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

2010-04-24 Thread Ivan Lazar Miljenovic
good idea; at a guess I would think that it hasn't already because if the semantics of a function change then in most cases developers would either change the function name or its type at the same time and so this situation hasn't arisen too many times (John's example to the

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

2010-04-24 Thread Ivan Lazar Miljenovic
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 IvanMilj

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

2010-04-24 Thread Ivan Lazar Miljenovic
Ross Paterson 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 IvanMiljenovic.wordpre

Re: [Haskell-cafe] FGL up for adoption

2010-04-24 Thread Ivan Lazar Miljenovic
t; 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@

Re: [Haskell-cafe] FGL up for adoption

2010-04-24 Thread Ivan Lazar Miljenovic
out :p I can't take 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 ___ Haske

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

2010-04-24 Thread Ivan Lazar Miljenovic
rk?) 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
raphs that are simple, or maybe multiple edges are fine. Even when considering Arbitrary instances for something like String you may wish to have a custom variant that makes sense for what you're testing. My conclusion: it is not possible to have hard-and-fast conclusions for things like this

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

2010-04-25 Thread Ivan Lazar Miljenovic
ld people prefer I work on FGL instead? [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 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 > "new

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

2010-04-26 Thread Ivan Lazar Miljenovic
some point, it would be nice if it survives in the > code. Hmmm 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 secti

Re: [Haskell-cafe] Broken ghc documentation links

2010-04-26 Thread Ivan Lazar Miljenovic
raries/base-4.2.0.0/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 interes

  1   2   3   4   5   6   7   8   9   10   >