Re: [Haskell-cafe] Suppressing HLint on pattern match of files

2013-10-10 Thread Graham Berks
, Oct 10, 2013 at 7:50 AM, Graham Berks gra...@fatlazycat.com wrote: Hi, would like to disableĀ 'Top-level binding with no type signature' In my test modules that are prefixed with Test. Is this possible ?? Thanks ___ Haskell-Cafe mailing list

[Haskell-cafe] Suppressing HLint on pattern match of files

2013-10-09 Thread Graham Berks
Hi, would like to disableĀ 'Top-level binding with no type signature' In my test modules that are prefixed with Test. Is this possible ?? Thanks ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Test access resources files in cabal-dev

2013-05-08 Thread Graham Berks
Hi, whats the recommended way to access a resource file for a test within cabal. I have a text file containing data that I use in a test and want to be able to access it in a root path independent manner. Thanks ___ Haskell-Cafe mailing list

[Haskell-cafe] Accessing resource files in tests

2013-05-08 Thread Graham Berks
Hi, whats the recommended way to access a resource file for a test within cabal. I have a text file containing data that I use in a test and want to be able to access it in a root path independent manner. Thanks ___ Haskell-Cafe mailing list

[Haskell-cafe] cabal issue

2012-05-09 Thread Graham Berks
Given that I have the dependant packages already installed when I do $ cabal install --dry-run --global buildwrapper Resolving dependencies... In order, the following would be installed: mtl-2.1.1 (new version) aeson-0.6.0.2 (reinstall) changes: mtl-2.0.1.0 - 2.1.1 parsec-3.1.2 (reinstall)

Re: [Haskell-cafe] cabal issue

2012-05-09 Thread Graham Berks
Have solved the issue with help from JP Moresmau. Used the command cabal install --dry-run --verbose=3 --global build wrapper And this gave enough detailed info to enable me to remove the conflict and resolve the issue. Thanks goes to JP ! On Wednesday, 9 May 2012 at 09:55, Graham Berks

Re: [Haskell-cafe] Handcranked install of ghc / cabal-install and warning from ghc-pkg check

2012-05-09 Thread Graham Berks
Is there something I have todo to tell ghc about haddock etc ? On Tuesday, 8 May 2012 at 19:13, Graham Berks wrote: Have installed 7.4.1 ghc and 0.14.0 cabal-install and then did alex, happy haddock. When I do a ghc-pkg check I get $ ghc-pkg check Warning: haddock-interfaces

Re: [Haskell-cafe] Handcranked install of ghc / cabal-install and warning from ghc-pkg check

2012-05-09 Thread Graham Berks
or should I say cabal On Wednesday, 9 May 2012 at 21:57, Graham Berks wrote: Is there something I have todo to tell ghc about haddock etc ? On Tuesday, 8 May 2012 at 19:13, Graham Berks wrote: Have installed 7.4.1 ghc and 0.14.0 cabal-install and then did alex, happy haddock

[Haskell-cafe] Handcranked install of ghc / cabal-install and warning from ghc-pkg check

2012-05-08 Thread Graham Berks
Have installed 7.4.1 ghc and 0.14.0 cabal-install and then did alex, happy haddock. When I do a ghc-pkg check I get $ ghc-pkg check Warning: haddock-interfaces: /usr/local/Cellar/cabal-install/0.14.0/share/doc/random-1.0.1.1/html/random.haddock doesn't exist or isn't a file Warning:

[Haskell-cafe] library conflicts and how to resolve them

2012-05-06 Thread Graham Berks
Attempting $ cabal install persistent Resolving dependencies... In order, the following would be installed: aeson-0.6.0.2 (reinstall) changes: mtl-2.1.1 - 2.0.1.0 persistent-0.9.0.3 (new package) cabal: The following packages are likely to be broken by the reinstalls: buildwrapper-0.5.2 Use

[Haskell-cafe] Issues with installing packages

2012-05-05 Thread Graham Berks
New to haskell and having issues resolving packages, have the following output below and can't seem to resolve it. Text seems to have diff hash dependancies when I try and instal a diff version of 0.11.2.0 etc Any ideas on what todo ?? Thanks $ ghc-pkg check There are problems in package

[Haskell-cafe] Automatic discovery of tests

2012-04-28 Thread Graham Berks
Hi, trying to learn haskell and the associated build env. I come from a java/scala world so trying to understand the how to invoke tests. Have a cabal file that invokes a main function to execute a test. But wondering if there is any automatic discovery of tests as per junit. I have seen

[Haskell-cafe] Update of haskell cafe on google groups

2012-04-28 Thread Graham Berks
Has this stopped working ? Seems a bit out of date ? Thanks ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ghc: could not execute: opt

2012-03-03 Thread Graham Berks
Hi, trying out haskell. Have osx 10.7 and ghc 7.0.4 via homebrew When attempting to compile a program via cabal i get ghc: could not execute: opt I assume I have something missing / not configured with my env. Can someone point me in the direction ?