Re: [Haskell-cafe] ANN: Cabal v1.18.0 released

2013-09-05 Thread Rogan Creswick
I ran into another oddity due to old build artifacts today -- it was easy to fix, but very confusing; cabal repl was exiting with unrecognised command: repl. tl/dr; if you see this, delete the old 'dist' dir and re-run 'cabal configure'. Here's a snippit of my shell session to explain in more

Re: [Haskell-cafe] Proposal: Hackage's packages should be seperated by buildable

2013-08-25 Thread Rogan Creswick
On Sun, Aug 25, 2013 at 12:48 AM, He-chien Tsai depot...@gmail.com wrote: I'm sick for checking whether package is obsolete or not. I think packages build failed long time ago should be collected and moved to another page until someone fix them, or hackage pages should have a filter for

[Haskell-cafe] PPC binaries for GHC 7.x?

2013-08-21 Thread Rogan Creswick
Does anyone have PPC binaries for GHC 7.x? I've been trying to help a PPC user compile a large haskell application, and it (and it's dependencies) require a newer ghc; the latest ppc binaries we've found are for 6.10, and we have been unable to compile a never ghc from source (6.12 /almost/

Re: [Haskell-cafe] PPC binaries for GHC 7.x?

2013-08-21 Thread Rogan Creswick
On Wed, Aug 21, 2013 at 2:29 AM, Joey Adams joeyadams3.14...@gmail.comwrote: What operating system? Oh, I should have specified -- OS X (I'm not certain which version of OS X; probably not particularly new) --Rogan ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-08 Thread Rogan Creswick
On Thu, Aug 8, 2013 at 11:58 AM, Dorin Lazar dorin.la...@gmail.com wrote: I was also in awe of the fact that nobody really says anything about these difficulties, and felt like an estranged child that messed things up badly; however, it seems that the real issue is that nobody really does it

Re: [Haskell-cafe] List Monads and non-determinism

2013-07-19 Thread Rogan Creswick
On Fri, Jul 19, 2013 at 3:23 PM, Matt Ford m...@dancingfrog.co.uk wrote: I started by putting brackets in ([1,2] = \n - [3,4]) = \m - return (n,m) This immediately fails when evaluated: I expect it's something to do with the n value now not being seen by the final return. You're

Re: [Haskell-cafe] List Monads and non-determinism

2013-07-19 Thread Rogan Creswick
] = (\n - [3,4] = (\m - return (n,m))) You violated the implied grouping that these new parentheses make explicit when you tried to apply the associative law above. Timon's post continues from this point to show the full deconstruction. --Rogan Any thoughts? Matt On 19 Jul 2013, at 23:35, Rogan

Re: [Haskell-cafe] cabal-dev: installing/running with profiling enabled

2013-07-01 Thread Rogan Creswick
Hi Ömer, I've replied in-line below. On Mon, Jul 1, 2013 at 2:34 PM, Ömer Sinan Ağacan omeraga...@gmail.comwrote: So I tried installing the program in a fresh cabal-dev environment with profiling enabled, so that all dependencies would be also installed with profiling enabled. But for some

Re: [Haskell-cafe] GSoC Project Proposal: Markdown support for Haddock

2013-04-05 Thread Rogan Creswick
On Fri, Apr 5, 2013 at 10:12 AM, Petr Pudlák petr@gmail.com wrote: While I like the idea of allowing any markup language (let's say supported by Pandoc) and freedom it gives to developers, it also has also drawbacks: It makes contributing more difficult, if a project uses some wierd,

[Haskell-cafe] ANN: cabal-dev 0.9.2 - sandboxed haskell builds

2013-02-27 Thread Rogan Creswick
The (ever growing) cabal-dev team is happy to announce v. 0.9.2! Cabal-dev is a tool to test development libraries by creating a sandboxed package and dependency build environment. Executing `cabal-dev install` will create a sandbox, named cabal-dev in the current directory, and populate it with

Re: [Haskell-cafe] Best approach to avoid dependency hells

2012-12-05 Thread Rogan Creswick
On Wed, Dec 5, 2012 at 11:13 AM, Jason Dagit dag...@gmail.com wrote: Let's say you are working in a directory foo that contains a cabal file for package foo. When you type 'cabal-dev install', cabal-dev looks at foo.cabal in the current directory, it uses it to calculate constraints and then

Re: [Haskell-cafe] Install a script with Cabal?

2012-06-05 Thread Rogan Creswick
On Tue, Jun 5, 2012 at 4:28 AM, Ketil Malde ke...@malde.org wrote: Rogan Creswick cresw...@gmail.com writes: I have a small project that installs a couple of Haskell tools and a script that uses these. Cabal will of course build and install the Haskell programs, but how can I get Cabal

Re: [Haskell-cafe] Installing REPA

2012-04-06 Thread Rogan Creswick
On Fri, Apr 6, 2012 at 7:02 AM, Dominic Steinitz idontgetoutm...@googlemail.com wrote: Hi, I'm trying to install REPA but getting the following. Do I just install base? The only safe way to upgrade base is to upgrade GHC -- I'm not sure which ghc has base-4.4 though (Based on Dmitry's

Re: [Haskell-cafe] Install a script with Cabal?

2012-03-21 Thread Rogan Creswick
On Tue, Mar 20, 2012 at 1:45 AM, Ketil Malde ke...@malde.org wrote: I have a small project that installs a couple of Haskell tools and a script that uses these.  Cabal will of course build and install the Haskell programs, but how can I get Cabal to install the script as well?  There's a host

Re: [Haskell-cafe] cabal-install problem with alex dependency in bytestring-lexing

2012-03-17 Thread Rogan Creswick
On Mar 16, 2012 3:12 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 17 March 2012 09:02, Erik de Castro Lopo mle...@mega-nerd.com wrote: Ivan Lazar Miljenovic wrote: One trivial solution is to assume ~/.cabal/bin is on the PATH and to ignore system-wide packages, which I

Re: [Haskell-cafe] Building a Haskell project which depends on an old version of base

2012-02-14 Thread Rogan Creswick
On Tue, Feb 14, 2012 at 12:14 PM, Steven J. Murdoch steven.murd...@cl.cam.ac.uk wrote: $ ghc-pkg list base /Users/ghc6/homebrew/Cellar/ghc/6.12.3/lib/ghc/package.conf.d   base-3.0.3.2   base-4.2.0.2 I'm a bit fuzzy on the details when it comes to the core packages that are distributed with

Re: [Haskell-cafe] Google Summer of Code 2012 Announced

2012-02-06 Thread Rogan Creswick
On Mon, Feb 6, 2012 at 12:54 PM, Johan Tibell johan.tib...@gmail.com wrote:  2. Advertise the projects on haskell-cafe, reddit, twitter, Google+ Does anyone know if the GSOC trac is in use this year? (or will be?). I started advocating for an extension to cabal to specify Setup.hs build

Re: [Haskell-cafe] Need advice: Haskell in Web Client

2012-01-17 Thread Rogan Creswick
On Tue, Jan 17, 2012 at 3:07 AM, C K Kashyap ckkash...@gmail.com wrote: Perhaps HTML5's canvas element would meet your requirement. There a few JS chart implementation for HTML5 floating on the internet. The Google Charting API *might* be sufficient: http://code.google.com/apis/chart/

Re: [Haskell-cafe] buildDepends syntax and checks

2012-01-04 Thread Rogan Creswick
On Wed, Jan 4, 2012 at 2:29 AM, Shakthi Kannan shakthim...@gmail.com wrote: #2 Is there a way to cross-check if the defined dependencies are in fact correct, or is it left to the package owner to write them? Generally speaking, this is undecidable (if I remember my complexity classes

Re: [Haskell-cafe] Haskell Platform for OSX ?

2011-11-09 Thread Rogan Creswick
On Wed, Nov 9, 2011 at 3:37 AM, dokondr doko...@gmail.com wrote: In case I upgrade to the latest Haskell Platform, what will happen to packages already installed  in my ~/.cabal folder? Some of these are quite old and most probably will be incompatible with GHC 7 Does upgrade process remove

Re: [Haskell-cafe] capri cabal-dev virtualenv cab

2011-11-08 Thread Rogan Creswick
On Tue, Nov 8, 2011 at 1:43 AM, Paul R paul.r...@gmail.com wrote: At the moment, my strategy to swap GHC is purely based on the PATH environment, and that works well if you don't forget to set this env before hacking a project. This is the best solution I'm currently aware of, but there are

Re: [Haskell-cafe] capri cabal-dev virtualenv cab

2011-11-08 Thread Rogan Creswick
On Mon, Nov 7, 2011 at 11:40 PM, Rustom Mody rustompm...@gmail.com wrote: Does anyone give me a little comparison of these? capri cabal-dev: Capri and cabal-dev both sandbox Haskell builds by restricting the set of packages that cabal can see -- I haven't had much luck with capri personally,

Re: [Haskell-cafe] capri cabal-dev virtualenv cab

2011-11-08 Thread Rogan Creswick
On Tue, Nov 8, 2011 at 10:57 AM, Brent Yorgey byor...@seas.upenn.edu wrote: I'm guessing the OP was actually referring to 'virthualenv', which was recently released and works with Haskell (but is similar to virtualenv for python).  It seems that virthualenv lets you set up independent

Re: [Haskell-cafe] Haskell Platform for OSX ?

2011-11-08 Thread Rogan Creswick
On Tue, Nov 8, 2011 at 4:30 PM, Giovanni Tirloni gtirl...@sysdroid.com wrote: 3) How to install it into a separate location so it would not ruin my current platform?  You can install it under a different username. You can also use a sandboxed build tool like cabal-dev or virthualenv -- both

Re: [Haskell-cafe] control-c only caught once -- bug?

2011-10-28 Thread Rogan Creswick
On Fri, Oct 28, 2011 at 12:47 PM, Brian Johnson brianjohnsonhaskellc...@gmail.com wrote: Hi, The second time I press control-c, it isn't caught -- the program exits instead.  Why? Interesting -- this works as you want with runghc, but it works as you describe when compiled with ghc --make.

Re: [Haskell-cafe] The best way to call Java from Haskell?

2011-10-11 Thread Rogan Creswick
On Tue, Oct 11, 2011 at 1:56 AM, dokondr doko...@gmail.com wrote: On Tue, Oct 11, 2011 at 12:42 PM, Yitzchak Gale g...@sefer.org wrote: Just out of curiosity, why do you not consider GF at all similar? To an outsider like me, there does appear to be quite a bit of similarity. As I

Re: [Haskell-cafe] haskell i18n best practices

2011-09-30 Thread Rogan Creswick
On Thu, Sep 29, 2011 at 3:54 PM, Paulo Pocinho poci...@gmail.com wrote: Hello list. I've been trying to figure a nice method to provide localisation. An The grammatical framework excels at translation and localization -- it probably has the highest learning curve of the options; but it will

Re: [Haskell-cafe] haskell i18n best practices

2011-09-30 Thread Rogan Creswick
On Fri, Sep 30, 2011 at 2:09 PM, Felipe Almeida Lessa felipe.le...@gmail.com wrote: On Fri, Sep 30, 2011 at 5:44 PM, Rogan Creswick cresw...@gmail.com wrote: The grammatical framework excels at translation and localization -- it probably has the highest learning curve of the options

Re: [Haskell-cafe] emacs literate haskell mode

2011-09-27 Thread Rogan Creswick
On Tue, Sep 27, 2011 at 11:24 AM, Mathijs Kwik math...@bluescreen303.nl wrote: Hi all, I'm using haskell-mode for emacs and I'm using it to open a literate haskell file which uses latex. This works fine, haskell code has syntax highlighting, and special symbols like lambda get used.

Re: [Haskell-cafe] Error in Installing Data.deriveTH

2011-09-16 Thread Rogan Creswick
On Thu, Sep 15, 2011 at 12:37 PM, mukesh tiwari mukeshtiwari.ii...@gmail.com wrote: Hello all I am trying to install Data.deriveTH . When i tried cabal install derive , i got this error. Many errors of this type can be avoided by using cabal-dev [1] instead of cabal-install for development --

Re: [Haskell-cafe] ANN: numerals

2011-09-16 Thread Rogan Creswick
2011/9/16 Roel van Dijk vandijk.r...@gmail.com: Hello everyone, I would like to announce the release of the numerals and numerals-base packages. * Numerals The numerals package contains functions to convert numbers to number words in a number of languages. For now the package only

[Haskell-cafe] conditionally exposing modules in cabal

2011-08-18 Thread Rogan Creswick
I would like to conditionally expose a number of internal modules in a library depending on a cabal flag - the idea is that new features could be implemented externally to the library without contaminating the source with undesirable changes. However, I've been unable to find a way to structure a

Re: [Haskell-cafe] conditionally exposing modules in cabal

2011-08-18 Thread Rogan Creswick
On Thu, Aug 18, 2011 at 4:41 AM, Antoine Latter aslat...@gmail.com wrote: One problem to consider - a downstream user of the new features won't know that they need to pass special flags to your module, and may not even know that they are using your module if the dependency is a few steps

[Haskell-cafe] writing a good Setup.hs is *hard* (was: broken on install encoding 0.6.6)

2011-08-17 Thread Rogan Creswick
On Wed, Aug 17, 2011 at 6:29 AM, Gang yugang...@gmail.com wrote: sorry to bother Not in the least! I was trying to figure out what problem you were encountering, and I learned a lot. I never did recreate your problem, but in the process I ran into a whole host of other annoyances and strange

[Haskell-cafe] ANN: cabal-dev 0.8

2011-07-18 Thread Rogan Creswick
We're happy to announce the release of cabal-dev 0.8! This version is available on hackage now, and contains many bug fixes and improvements, as outlined in the full release notes below. --Rogan cabal-dev release 0.8 == The 0.8 release of

Re: [Haskell-cafe] NLP libraries and tools?

2011-07-06 Thread Rogan Creswick
On Wed, Jul 6, 2011 at 3:03 PM, Aleksandar Dimitrov aleks.dimit...@googlemail.com wrote: So you'd use, say, UIMA+OpenNLP to do sentence boundaries, tokens, tags, named-entities whatnot, then spit out some annotated format, read it in with Haskell, and do the logic/magic there. Have you used

Re: [Haskell-cafe] NLP libraries and tools?

2011-07-01 Thread Rogan Creswick
On Fri, Jul 1, 2011 at 3:31 AM, Dmitri O.Kondratiev doko...@gmail.com wrote: Hi, Please advise on NLP libraries similar to Natural Language Toolkit There is a (slowly?) growing NLP community for haskell over at: http://projects.haskell.org/nlp/ The nlp mailing list may be a better place to

Re: [Haskell-cafe] NLP libraries and tools?

2011-07-01 Thread Rogan Creswick
On Fri, Jul 1, 2011 at 12:38 PM, Dmitri O.Kondratiev doko...@gmail.com wrote: On Fri, Jul 1, 2011 at 9:34 PM, Rogan Creswick cresw...@gmail.com wrote: On Fri, Jul 1, 2011 at 3:31 AM, Dmitri O.Kondratiev doko...@gmail.com wrote: First of all I need: Unfortunately 'cabal install' fails

Re: [Haskell-cafe] Parsing cabal files to calculate average number of dependencies

2011-07-01 Thread Rogan Creswick
On Fri, Jul 1, 2011 at 1:43 PM, Gwern Branwen gwe...@gmail.com wrote: Athas on #haskell wondered how many dependencies the average Haskell package had. I commented that it seemed like some fairly simple scripting to find out, and as these things tend to go, I wound up doing a complete solution

Re: [Haskell-cafe] NLP libraries and tools?

2011-07-01 Thread Rogan Creswick
On Fri, Jul 1, 2011 at 2:52 PM, Dmitri O.Kondratiev doko...@gmail.com wrote: Any other then 'toktok' Haskell word tokenizer that compiles and works? I need something like: http://nltk.googlecode.com/svn/trunk/doc/api/nltk.tokenize.regexp.WordPunctTokenizer-class.html I don't think this exists

Re: [Haskell-cafe] Haskell Weekly News: Issue 187

2011-06-23 Thread Rogan Creswick
On Thu, Jun 23, 2011 at 11:16 AM, Simon Michael si...@joyful.com wrote: On 6/23/11 10:49 AM, Iustin Pop wrote: FYI, a regular link (though longer) seems more appropriate to me. Don't know if other people feel the same though. I prefer the short links, since it is much easier to keep track of

Re: [Haskell-cafe] Haskell Weekly News: Issue 187

2011-06-23 Thread Rogan Creswick
On Thu, Jun 23, 2011 at 2:26 PM, Albert Y. C. Lai tre...@vex.net wrote: I hate the borrowed academic practice of saying [0] and giving the URL two hundred lines later. It worked great on paper in hands because I could stick my finger to the paper to remember where to return. It also works great

Re: [Haskell-cafe] yi + cabal-dev

2011-06-22 Thread Rogan Creswick
On Tue, Jun 21, 2011 at 6:55 PM, Alex Rozenshteyn rpglove...@gmail.com wrote: More precisely, I'm trying to run yi in its own sandbox, created by cabal-dev. yi uses dyre to recompile its config file. Unsurprisingly, this fails, since ghc doesn't know anything about the yi install unless

Re: [Haskell-cafe] yi + cabal-dev

2011-06-22 Thread Rogan Creswick
' shell script that invokes (the real) ghc with the correct --package-conf for Yi, then make a Yi script that sets up a custom path so that it finds your ghc script first. Lots of ifs, but at least you wouldn't have to maintain a Yi fork :) --Rogan On Wed, Jun 22, 2011 at 2:32 AM, Rogan

Re: [Haskell-cafe] Problem with linker

2011-06-03 Thread Rogan Creswick
On Fri, Jun 3, 2011 at 4:17 PM, Alejandro Serrano Mena trup...@gmail.com wrote: I've been looking for some information and it seems to be related with the fact that Hoogle first builds a library and then build an executable using the library, but all files get recompiled in that second pass.

Re: [Haskell-cafe] Imports in complex Setup.hs -- should we encourage/require PackageImports?

2011-05-24 Thread Rogan Creswick
On Mon, May 23, 2011 at 3:08 PM, John Millikin jmilli...@gmail.com wrote: Any ideas/comments? Has anyone by chance found a good solution to this? I suggested a SoC project to implement a dependencies section for Setup.hs: http://hackage.haskell.org/trac/summer-of-code/ticket/1602 I wasn't

Re: [Haskell-cafe] Using cmake with haskell

2011-05-15 Thread Rogan Creswick
On Sun, May 15, 2011 at 8:21 AM, Malcolm Wallace malcolm.wall...@me.com wrote: On 5/14/11 6:12 PM, Nathan Howell wrote: Waf supports parallel builds and works with GHC without too much trouble. I'm surprised no-one has yet mentioned Shake, a build tool/library written in Haskell.  It does

Re: [Haskell-cafe] ANN: Newt - command-line template instantiation tool library

2011-05-12 Thread Rogan Creswick
On Mon, May 9, 2011 at 8:25 AM, Rogan Creswick cresw...@gmail.com wrote: Indeed :)  The tag syntax is controlled by two command-line flags: --prefix=... and --suffix=... It can be difficult to get the desired strings past both the shell and the regular expression compiler (although that last

Re: [Haskell-cafe] ANN: Newt - command-line template instantiation tool library

2011-05-09 Thread Rogan Creswick
On Sun, May 8, 2011 at 10:38 PM, bri...@aracnet.com wrote: This is a useful tool ! I'm glad you think so too! I would like to suggest allowing customization of the syntax to indicate a tag, e.g. {# #} instead of (You just knew someone was going to say that, right ? :-) Indeed :) The

[Haskell-cafe] ANN: Newt - command-line template instantiation tool library

2011-05-08 Thread Rogan Creswick
I'm happy to announce Newt: a trivial tool for creating boilerplate. I frequently need to create projects with slight customizations -- I have a particular layout for cabal projects, and make files for LaTeX papers, etc... However, there are often fields that need to be updated in many places.

Re: [Haskell-cafe] versioning of Haskell packages

2011-04-29 Thread Rogan Creswick
On Fri, Apr 29, 2011 at 3:05 PM, Daniil Elovkov daniil.elov...@gmail.com wrote: Hello list I have an idea on versioning of Haskell packages and a small question about release model of Haskell Platform. Since the latter is shorter let's start with it. So, what is the release model of Haskell

Re: [Haskell-cafe] How to keep cabal and ghci package versions in sync?

2011-04-26 Thread Rogan Creswick
On Tue, Apr 26, 2011 at 2:10 AM, Gracjan Polak gracjanpo...@gmail.com wrote: I kind of expected 'cabal-dev ghci' to do this for me. At the moment, cabal-dev ghci just uses the -package-conf and -no-user-package-conf flags to restrict ghci to the sandboxed and global package dbs. It's difficult

Re: [Haskell-cafe] errors while installing yesod 0.8

2011-04-25 Thread Rogan Creswick
On Mon, Apr 25, 2011 at 2:44 PM, Michael Litchard mich...@schmong.org wrote: So it appears this is a bug with JSONb-1.0.2. There's a new version out. IS the answer to use that, or to patch this version? If there is a new version, and you indeed need JSONb for something, then you should use the

Re: [Haskell-cafe] errors while installing yesod 0.8

2011-04-25 Thread Rogan Creswick
be nice to figure out what is depending on that version of JSONb so we could better determine if upgrading will break anything. --Rogan Also, I think I have borked my haskell  environment to the point where it may be best to zap it and start over. On Mon, Apr 25, 2011 at 3:05 PM, Rogan Creswick

Re: [Haskell-cafe] How to keep cabal and ghci package versions in sync?

2011-04-24 Thread Rogan Creswick
On Sun, Apr 24, 2011 at 11:13 AM, Gracjan Polak gracjanpo...@gmail.com wrote: I have a project with a .cabal file listing package dependencies using the usual version constraints ==X.Y.* Z.W or =K.J syntax. Standard route cabal configure; cabal build works correctly as it is able to select

Re: [Haskell-cafe] impoosible dependencies

2011-04-21 Thread Rogan Creswick
libraries; I think a re-install is in order soon, but I've been avoiding that until I get to the end of my current activities. -KQ P.S.  I send Rogan the output he requested below privately to avoid spamming this list. On Wed, Apr 20, 2011 at 7:34 PM, Rogan Creswick cresw...@gmail.com wrote

Re: [Haskell-cafe] impoosible dependencies

2011-04-21 Thread Rogan Creswick
On Thu, Apr 21, 2011 at 11:37 AM, Erik Hesselink hessel...@gmail.com wrote: It doesn't seem to do this anymore for parsec. The preferred-versions now look like this: base 4 cabal-install 0.10 network 2.2.3 || = 2.2.4 Or am I looking at the wrong thing? Oh, interesting. I think you're

Re: [Haskell-cafe] impoosible dependencies

2011-04-20 Thread Rogan Creswick
On Wed, Apr 20, 2011 at 2:51 PM, Kevin Quick qu...@sparq.org wrote: $ cabal update $ cabal install hakyll Resolving dependencies... cabal: dependencies conflict: ghc-6.12.3 requires unix ==2.4.0.2 however unix-2.4.0.2 was excluded because ghc-6.12.3 requires unix ==2.4.1.0 $ Any advice

Re: [Haskell-cafe] impoosible dependencies

2011-04-20 Thread Rogan Creswick
On Wed, Apr 20, 2011 at 4:18 PM, Kevin Quick qu...@sparq.org wrote: With --verbose=3 this appears to be post-link running cabal-dev itself: $ cabal install cabal-dev --verbose=3 Could you send me (or post to hpaste) the complete output of 'cabal install cabal-dev --verbose=3' ? --Rogan

Re: [Haskell-cafe] errors while installing yesod 0.8

2011-04-19 Thread Rogan Creswick
On Tue, Apr 19, 2011 at 2:18 PM, Michael Litchard mich...@schmong.org wrote: mlitchard@apotheosis:~/monad-control$ cabal install Resolving dependencies... Configuring monad-control-0.2.0.1... cabal: Error: some packages failed to install: monad-control-0.2.0.1 failed during the configure

Re: [Haskell-cafe] errors while installing yesod 0.8

2011-04-19 Thread Rogan Creswick
. On Tue, Apr 19, 2011 at 2:52 PM, Rogan Creswick cresw...@gmail.com wrote: On Tue, Apr 19, 2011 at 2:18 PM, Michael Litchard mich...@schmong.org wrote: mlitchard@apotheosis:~/monad-control$ cabal install Resolving dependencies... Configuring monad-control-0.2.0.1... cabal: Error: some packages

Re: [Haskell-cafe] errors while installing yesod 0.8

2011-04-19 Thread Rogan Creswick
symbols for :: and - in Setup.hs. --Rogan So what else can I try? On Tue, Apr 19, 2011 at 3:30 PM, Rogan Creswick cresw...@gmail.com wrote: On Tue, Apr 19, 2011 at 3:10 PM, Michael Litchard mich...@schmong.org wrote: New information, may be helpful. I manually installed hamlet 0.8 with cabal

Re: [Haskell-cafe] A maintenance command of Haskell cabal packages

2011-03-31 Thread Rogan Creswick
On Thu, Mar 31, 2011 at 7:19 PM, Kazu Yamamoto k...@iij.ad.jp wrote: cabal-dev is a wrapper around cabal. It creates the directory cabal-dev in your current directory when you run commands. Yes, I know. But when I typed cabal-devel install on a package directory, nothing happened. Can you

[Haskell-cafe] SoC / Cabal project proposal: specify Setup.hs dependencies

2011-03-29 Thread Rogan Creswick
I've been wanting to share code between cabal projects for some time, and I finally had a chance to write up the rough idea as a simple proposal. Here's the description, with links to the SoC trac and reddit haskell_proposals pages. SoC ticket:

Re: [Haskell-cafe] Saving changes to cabal config in cabal-dev

2011-03-28 Thread Rogan Creswick
On Sat, Mar 26, 2011 at 2:28 PM, Yitzchak Gale g...@sefer.org wrote: Thanks for the fantastic cabal-dev tool! You're welcome! Is there any convenient way to save changes to the package-specific cabal config file in cabal-dev? The only solution I have found so far is to run cabal-dev

Re: [Haskell-cafe] GHC 7/Cabal request for help

2011-03-24 Thread Rogan Creswick
On Thu, Mar 24, 2011 at 9:30 AM, Erik Hesselink hessel...@gmail.com wrote: I've just tested this, and with GHC 7, cabal chooses QuickCheck 2.4, whereas with GHC 6.12, it chooses 2.1. I believe that the behavior you're seeing is because the package selection is biased by the state of your local

[Haskell-cafe] ANN: cabal-dev-0.7.4.0

2011-03-03 Thread Rogan Creswick
We're happy to announce that cabal-dev-0.7.4.0 is now on hackage. We strongly suggest that everyone upgrade to this release, since this release specifically addresses changes in Cabal-1.10 and newer, which the latest cabal-install now uses. The ticket for the bug is here, for anyone interested:

Re: [Haskell-cafe] Abstracting a Genetic Algorithm

2011-02-15 Thread Rogan Creswick
On Tue, Feb 15, 2011 at 3:35 PM, Alex Good alexjsg...@gmail.com wrote: One bonus question, just a thing that's been bothering me, is there any way to create something like a type synonym for a function so that if I'm writing a function which takes functions as arguments I can write the

Re: [Haskell-cafe] Packages all screwed up

2011-02-01 Thread Rogan Creswick
On Mon, Jan 31, 2011 at 11:16 PM, Arnaud Bailly arnaud.oq...@gmail.com wrote: Hi, Thanks for your answers. I did cabal upgrade yesod I think 'upgrade' is deprecated, and known to break things on occasion (or at least have unexpected behavior--I'm not clear on the details). You can use

Re: [Haskell-cafe] Building lambdabot

2011-01-05 Thread Rogan Creswick
On Tue, Jan 4, 2011 at 5:16 PM, Joe Bruce bruce.jo...@gmail.com wrote: I've had a bit of an adventure trying to build and run lambdabot on my box.  'cabal install lambdabot' does not work.  It states it's not GHC 6.12 (and certainly not 7.0) compatible, but I tried 6.12 anyway and got nowhere.

Re: [Haskell-cafe] Building lambdabot

2011-01-05 Thread Rogan Creswick
On Wed, Jan 5, 2011 at 12:53 PM, Rogan Creswick cresw...@gmail.com wrote: State.  I didn't have any trouble building lambdabot after setting an upper version bound on the mtl dependency in lambdabot.cabal:  Library    build-depends: base, mtl = 2.0, bytestring, unix My mistake, that should

[Haskell-cafe] ANN: cabal-dev 0.7.3.1 -- now with ghci!

2010-12-22 Thread Rogan Creswick
Cabal-dev is now capable of launching ghci with the project's package database and local modules (if the package under development exposes a library). For example: # First, invoke cabal-dev install the package to populate the # package database: $ cabal-dev install snip

[Haskell-cafe] ANN: cabal-dev - sandboxed haskell development

2010-12-20 Thread Rogan Creswick
/creswick/cabal-dev/blob/master/README.md We're looking forward to your feedback! --Rogan Creswick smime.p7s Description: S/MIME Cryptographic Signature ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] non-hackage cabal repos? unpacking non-repo package tarballs?

2010-12-20 Thread Rogan Creswick
On Tue, Nov 2, 2010 at 11:02 AM, Claus Reinke claus.rei...@talk21.com wrote: I often find myself writing example code that I'd like to distribute via cabal, but without further burdening hackage with not generally useful packages. 1. The simplest approach would be if cabal could expose its

Re: [Haskell-cafe] Compiler constraints in cabal

2010-11-08 Thread Rogan Creswick
On Sun, Nov 7, 2010 at 3:58 PM, wren ng thornton w...@freegeek.org wrote: On 11/7/10 11:54 AM, Henning Thielemann wrote: Awful - I would not like to complicate my Cabal files this way. This is like copying the Build-Depends enumeration to all depending packages. Oh, I agree :) I wonder if

Re: [Haskell-cafe] packaging a cgi binary using cabal

2010-09-22 Thread Rogan Creswick
On Wed, Sep 22, 2010 at 7:53 AM, Pedro Baltazar Vasconcelos p...@dcc.fc.up.pt wrote: I wrote a simple interactive tableaux theorem prover as a cgi in Haskell (http://www.ncc.up.pt/~pbv/cgi/tableaux.cgi) and would like to submit to hackage but need some advice on how to package it using cabal.

Re: [Haskell-cafe] Graphics.Drawing

2010-09-06 Thread Rogan Creswick
On Mon, Sep 6, 2010 at 5:29 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 6 September 2010 21:57, han e...@xtendo.org wrote: So the question is: Do you agree that Graphics.Rendering.OpenGL actually should have been Graphics.OpenGL (or just OpenGL) for wieldiness? I think

Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-08-10 Thread Rogan Creswick
On Tue, Aug 10, 2010 at 4:23 PM, Mathew de Detrich dete...@gmail.com wrote: There still however leaves the problem with what to do with Java, because a proper Android app (not a linux app compiled for ARM) needs to link with Java to interface with Android I'm interested in getting jvm-bridge

Re: [Haskell-cafe] can Haskell do everyting as we want?

2010-08-03 Thread Rogan Creswick
On Tue, Aug 3, 2010 at 4:12 PM, Qi Qi qiqi...@gmail.com wrote: Is there anyone happen to come into any tasks that haskell is not able to achieve? Haskell has very limited support for high-level Natural Language Processing (tokenization, sentence splitting, Named-entity recognition, etc...).

Re: [Haskell-cafe] new Cabal user question -- installing to Haskell Platform on Windows network drive?

2010-07-27 Thread Rogan Creswick
On Tue, Jul 27, 2010 at 2:43 PM, Peter Schmitz ps.hask...@gmail.com wrote: So, by default, cabal wants to put its config and updates on C:. I looked at C:\Documents and Settings\pschmitz\Application Data\cabal\config It has various references to C:, some commented out. E.g.:

Re: [Haskell-cafe] new Cabal user question -- installing to Haskell Platform on Windows network drive?

2010-07-26 Thread Rogan Creswick
On Mon, Jul 26, 2010 at 2:06 PM, Peter Schmitz ps.hask...@gmail.com wrote: I have recently installed the Haskell Platform (for the first time) to a MS Windows network drive; e.g.: H:\aaa\bbb\Haskell Platform\2010.1.0.0\ I did so without admin privs. It has ghc-6.12.1 I need to not

Re: [Haskell-cafe] cabal, Setup.lhs example

2010-07-21 Thread Rogan Creswick
On Wed, Jul 21, 2010 at 3:00 AM, Magnus Therning mag...@therning.org wrote: I am successfully using hooks with the following in my .cabal file:    Build-Type    : Simple and my main in Setup.hs looks like this:    main = defaultMainWithHooks $ simpleUserHooks        { cleanHook =

Re: [Haskell-cafe] cabal, Setup.lhs example

2010-07-20 Thread Rogan Creswick
On Tue, Jul 20, 2010 at 8:50 PM, Tom Hawkins tomahawk...@gmail.com wrote: Thanks.  I tried this, but it appears cabal-install ignores the Setup.hs file.  The only way I could get it to take is if I run 'runhaskell Setup.hs configure' directly.  I always assumed cabal-install runs Setup.hs

Re: [Haskell-cafe] Running tests in Cabal

2010-07-18 Thread Rogan Creswick
On Sun, Jul 18, 2010 at 12:23 PM, Magnus Therning mag...@therning.org wrote: In my Cabal file I have defined a flag that controls whether tests are built or not.  Now I'd like to hook it up a bit more so that './Setup.hs test' actually runs the tests. This will allow you to issue 'cabal test'

Re: [Haskell-cafe] Exception: : changeWorkingDirectory: does not exist (No such file or directory)

2010-05-24 Thread Rogan Creswick
On Fri, May 21, 2010 at 11:50 AM, Anatoly Yakovenko aeyakove...@gmail.com wrote: anato...@anatolyy-linux ~ $ ghci GHCi, version 6.12.1: http://www.haskell.org/ghc/  :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package

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

2010-04-28 Thread Rogan Creswick
   Expecting `4'; received `5'. Test 3:Error    src/Some/OtherFile.hs:39    Unexpected exception. This would keep the complexity low in Cabal and allow for easy transformation to XML. Richard G. On 10-04-08 8:30 PM, Rogan Creswick wrote: On Thu, Apr 8, 2010 at 5:53 AM, Duncan Coutts

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

2010-04-28 Thread Rogan Creswick
On Wed, Apr 28, 2010 at 8:19 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: Yes, it means the testing agent (cabal-install or some other program/system) can do more than simply run all the tests. It means it can enumerate them and not run them (think a GUI or web interface), run a

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

2010-04-23 Thread Rogan Creswick
On Fri, Apr 23, 2010 at 12:17 PM, John Goerzen jgoer...@complete.org wrote: Out of those 2023, there are certain libraries where small changes impact a lot of people (say base, time, etc.)  I certainly don't expect all 2023 to be held to the same standard as base and time.  We certainly need

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

2010-04-08 Thread Rogan Creswick
On Thu, Apr 8, 2010 at 5:53 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: I think it's important to be able to convert into standard or custom formats. I've no idea if JUnit XML would make sense as the native format. It's plausible. I hadn't really thought about cabal, itself, being

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

2010-04-06 Thread Rogan Creswick
On Tue, Apr 6, 2010 at 4:03 PM, Gregory Crosswhite gcr...@phys.washington.edu wrote: Rather that starting from scratch, you should strongly consider adapting something like test-framework to this task, as it already has done the heavy work of creating a way to combine tests from different

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

2010-04-06 Thread Rogan Creswick
On Tue, Apr 6, 2010 at 5:49 PM, Thomas Tuegel ttue...@gmail.com wrote: Suppose we adopt your suggestion and let test programs be ordinary executables in ordinary 'Executable' sections, and make 'Test' sections that look like: Test foo-1     exe-is: foo     options: --enable-bar

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

2010-04-01 Thread Rogan Creswick
On Thu, Apr 1, 2010 at 3:52 PM, Thomas Tuegel ttue...@gmail.com wrote: I propose to build a test suite as its own executable, but to avoid the problem of granularity by producing an output file detailing the success or failure of individual tests and any relevant error messages.  The format

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

2010-03-11 Thread Rogan Creswick
On Mon, Mar 8, 2010 at 2:31 PM, Maciej Piechotka uzytkown...@gmail.com wrote: On Mon, 2010-03-08 at 15:37 +0100, Marc Weber wrote: We can't expect package maintainers to test everything. So it must be people like you and me who fixes those changes. Well. Except that it require bumping

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Rogan Creswick
On Mon, Feb 15, 2010 at 1:35 PM, Don Stewart d...@galois.com wrote: And I'll take this opportunity to declare that uvector is now in official maintainance-only mode. Would it make sense to add a note to that effect to the package description / cabal file, so it shows up on hackage?

Re: [Haskell-cafe] Video for Linux (v4l) library for Haskell

2009-12-27 Thread Rogan Creswick
On Sun, Dec 27, 2009 at 2:17 PM, Christopher Done chrisd...@googlemail.com wrote: Hackage and Google turn up nothing¹, so I am asking here; has anyone written a v4l library for Haskell? I have been reading the v4l documentation² and I am ready to implement a Haskell interface for webcams, but

Re: Re: [Haskell-cafe] Generating Haskell From a XSD

2009-12-23 Thread Rogan Creswick
On Wed, Dec 23, 2009 at 1:27 PM, jonathangfisch...@gmail.com wrote: Cool, glad to hear there is interest. I'm talking to a few other people that are expressing interest to. I still don't have access to the haskell wiki, but putting a page up there seems like a start. Any other suggestions for

Re: [Haskell-cafe] How to fulfill the code-reuse destiny of OOP?

2009-10-29 Thread Rogan Creswick
On Thu, Oct 29, 2009 at 6:54 PM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: My concern here is about the data member inheriting. In OOP, when I inherit a class, I also got the members of it. But in haskell, how to inherit a data? In my experience (almost entirely with Java),

[Haskell-cafe] Announcing: PastePipe -- a CLI for hpaste instances

2009-10-23 Thread Rogan Creswick
I'm happy to announce PastePipe (v1.3)! PastePipe reads from stdin and publishes whatever it reads to the hpaste instance of your choice (defaulting to hpaste.org). This makes it trivial to. * post a file to hpaste.org: `cat file | pastepipe' * turn a terminal into a pastebin