https://github.com/creswick/cabal-dev/issues#issue/15
My workaround was to create a link:
ln -s ~/Library/Haskell/repo-cache ~/.cabal/packages
Cheers,
Anders
On Apr 1, 2011, at 7:38 AM, Kazu Yamamoto (山本和彦) wrote:
> Hello,
>
cabal-dev is a wrapper around cabal. It creates the directory
>>>
Hello,
>>> 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 give a specific example? Surely *something*
On Thu, Mar 31, 2011 at 7:19 PM, Kazu Yamamoto 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 give a
Hello,
> Have you read this?
> http://www.reddit.com/r/haskell/related/f3ykj/
> psa_use_cabaldev_to_solve_dependency_problems/
I did know this page. I will read it later. Thank you.
> cabal-dev is a wrapper around cabal. It creates the directory
> "cabal-dev" in your current directory when you r
On Thu, Mar 31, 2011 at 7:07 PM, Kazu Yamamoto wrote:
> > whoah, it has uninstall!!! awesome!
>
> It just unregisters libraries not delete them actually. But I guess it
> is enough for you.
>
> The "cabal-delete" command does delete libraries and I'm planning to
> integrate "cab" and "cabal-delet
> whoah, it has uninstall!!! awesome!
It just unregisters libraries not delete them actually. But I guess it
is enough for you.
The "cabal-delete" command does delete libraries and I'm planning to
integrate "cab" and "cabal-delete". But the author of "cabal-delete"
is now suffering from the Tsuna
On 1 April 2011 10:48, Kazu Yamamoto wrote:
> Hello cafe,
>
> Let me announce a maintenance command of Haskell cabal packages.
>
> http://www.mew.org/~kazu/proj/cab/en/
>
>
> "cab" is a MacPorts-like maintenance command of Haskell cabal
> packages. Some part of this program is a wrappe
Hello cafe,
Let me announce a maintenance command of Haskell cabal packages.
http://www.mew.org/~kazu/proj/cab/en/
"cab" is a MacPorts-like maintenance command of Haskell cabal
packages. Some part of this program is a wrapper to "ghc-pkg" and
"cabal".
If you are always confused due
On 31/03/2011, at 9:13 PM, Ketil Malde wrote:
> John Millikin writes:
>
>> OSX's chief weirdness is that its GUI programs swap ':' and '/' when
>> displaying filenames.
>
> A remnant from the bad old days of MacOS <10, where : was the path
> separator, and / was a perfectly good character to
On Thu, Mar 31, 2011 at 7:29 AM, Daniel Fischer <
daniel.is.fisc...@googlemail.com> wrote:
> Err, terminology problem here.
> Strictly speaking, a function is strict iff
>
> f _|_ = _|_
>
> while we are talking here about evaluation strategies, so we should better
> have spoken of eager vs. deferr
On Thu, Mar 17, 2011 at 11:14 PM, Andrew Coppin
wrote:
>>> Right. So somebody else came up with an idea similar to mine, but since
>>> nobody could agree on anything more than a rough idea, nothing actually
>>> got
>>> done...(?)
>>
>> Well, I also got the sense that it would be more than a little
- Original Message
> From: Mitar
> To: Brandon Moore
> Cc: Gregory Collins ; Edward Z. Yang
> ;
>Haskell Cafe
> Sent: Thu, March 31, 2011 2:06:31 PM
> Subject: Re: [Haskell-cafe] BlockedIndefinitelyOnMVar exception
>
> Hi!
>
> On Thu, Mar 31, 2011 at 4:37 PM, Brandon Moore
> w
Hi!
On Thu, Mar 31, 2011 at 4:37 PM, Brandon Moore
wrote:
> If you plan to send an exception, you must have the ThreadId saved elsewhere,
> which should prevent the BlockedIndefinitelyOnMVar exception.
But this behavior is something they wish to remove in future versions
as not-wanted?
Mitar
I am running 7.0.3.
-Original Message-
> On Thu, Mar 31, 2011 at 11:19 AM, Michael A Baikov wrote:
>
> > import System.Posix.IO
> > import GHC.Conc
> >
> > main = do
> >fd <- openFd "/etc/passwd" ReadOnly Nothing defaultFileFlags
> >threadWaitRead fd-- the big bang happ
On Thu, Mar 31, 2011 at 11:19 AM, Michael A Baikov wrote:
> import System.Posix.IO
> import GHC.Conc
>
> main = do
>fd <- openFd "/etc/passwd" ReadOnly Nothing defaultFileFlags
>threadWaitRead fd-- the big bang happens right here.
>closeFd fd
>
There were a couple of bugs in
It works fine up to the point when makefdCallback tries to use
GHC.Conc.threadWaitRead on fd
So my example is simplifed in to this:
import System.Posix.IO
import GHC.Conc
main = do
fd <- openFd "/etc/passwd" ReadOnly Nothing defaultFileFlags
threadWaitRead fd-- the big bang happ
On Thu, Mar 31, 2011 at 11:01 AM, Matthew Steele wrote:
> On Mar 30, 2011, at 5:29 PM, Mathijs Kwik wrote:
>
>> So loop really doesn't seem to help here, but I couldn't find another
>> way either to feed outputs back into the system.
>> What I need is:
>> Either A B ~> Either C B -> A ~> C
>>
>> D
Hi all,
I'm looking to start a Haskell user group in St. Louis, MO. Anyone
Haskellers or people interested in learning Haskell around these
parts?
-deech
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/hask
On Mar 30, 2011, at 5:29 PM, Mathijs Kwik wrote:
So loop really doesn't seem to help here, but I couldn't find another
way either to feed outputs back into the system.
What I need is:
Either A B ~> Either C B -> A ~> C
Does such a thing exist?
Based on your description, it sounds to me like y
> From: Gregory Collins
> Sent: Thu, March 31, 2011 5:03:09 AM
>
> I find this behaviour a little annoying. Sometimes I *want* the thread
> to block indefinitely! I.e. I want it to block until it receives a
> KillThread exception. Is there a better way to accomplish that without
> waiting on a
On Thursday 31 March 2011 14:27:59, Yves Parès wrote:
> Just to be sure, because I am not quite familiar with the dark hairy
>
> internals of GHC:
> > Of course, given a type signature that allows strictness to be
> > inferred.
>
> You mean a signature with no type variables and types that are kn
Parallel Haskell Digest
===
Edition 1
2011-03-31
http://www.well-typed.com/blog/52
Hello Haskellers!
If you're in the mood for a HWN chaser, I'd like to introduce the first
Parallel Haskell Digest, a newsletter aiming to show off all the work
that's going on using parallelism
On 31 March 2011 12:44, oliver mueller wrote:
> it's a bit sad to see that shake is completely off the table since it
> really looked good.
I think Neil has had trouble getting permission to release the code,
which is why I wrote openshake.
> maybe openshake can fill in here...anyone knows if it
On 11-03-30 05:29 PM, Mathijs Kwik wrote:
Hi all,
I'm playing around a bit with arrows (more specifically, something
like a CPS style streamprocessor as described in "Generalising Monads
to Arrows" by John Hughes).
I had struggled with the same problem a year ago, and I concluded it
was hope
Just to be sure, because I am not quite familiar with the dark hairy
internals of GHC:
> Of course, given a type signature that allows strictness to be inferred.
You mean a signature with no type variables and types that are know to GHC
as being strict?
(Like Int -> Int -> Int instead of (Num a)
On Thu, Mar 31, 2011 at 10:54 AM, Azeem -ul-Hasan wrote:
>
> I am only a sophomore and haven't taken any course in Computational Physics.
> So what I would like will be to take a library or program with some
> excellent documentation and use it as a base for learning about
> computational physics
thanks for pointing out the openshake implementation.
when i remember correctly neil mitchell mentioned s.th. at the haskell
implementors workshop about making shake available sometimes later.
it's a bit sad to see that shake is completely off the table since it
really looked good.
after all...a ni
>
> Message: 7
> Date: Tue, 29 Mar 2011 22:39:12 -0400
> From: wren ng thornton
> Subject: Re: [Haskell-cafe] ANNOUNCE: enumerator 0.4.8
> To: haskell-cafe@haskell.org
> Message-ID: <4d9297d0.7060...@freegeek.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 3/29/11 4:40 AM
On Thursday 31 March 2011 11:45:00, Christian Maeder wrote:
> Since we don't have a function sum' in the Prelude (should we have it?)
I think we should.
> I wonder what happens if you just use "sum". Will the "sum" (based on
> sum' so without -DUSE_REPORT_PRELUDE) be strict enough?
I don't kno
On 31/03/11 11:03, Gregory Collins wrote:
I'm guessing the trigger condition for
"BlockedIndefinitelyOnMVar" is "blocked and mvar refcount == 1"
It's not simply a reference count (the thread that's blocked forever can
hold multiple references to the MVar and it's still blocked
indefinitely). H
I find this behaviour a little annoying. Sometimes I *want* the thread
to block indefinitely! I.e. I want it to block until it receives a
KillThread exception. Is there a better way to accomplish that without
waiting on an MVar which will never fill? As a workaround what I've
been doing lately is s
Am 31.03.2011 05:59, schrieb Felipe Almeida Lessa:
On Wed, Mar 30, 2011 at 2:39 PM, Gilberto Garcia wrote:
fkSum :: Int -> [Int] -> Int
fkSum a [] = 0
fkSum a (b) = foldl (+) 0 (filter (\x -> isMultiple x b) [1..a])
Daniel Fischer and Yves Parès gave you good suggestions about
implementing
I don't know if there's a way to disable it, but you can wrap all your
spawned threads with an exception handler that catches BlockedIndefinitelyOnMVar
and ignores it. If the thread blocks indefinitely, it's as good as dead,
so there won't be any difference in behavior.
Cheers,
Edward
___
>
>
> Message: 15
> Date: Mon, 28 Mar 2011 21:31:39 +0400
> From: Michael A Baikov
> Subject: [Haskell-cafe] Iteratee, ghc 6.12/7.0 strange behaviour -
>epollControl: permission denied (Operation not permitted)
> To: haskell-cafe@haskell.org
> Message-ID:
> Content-Type: text/plain; chars
On 31 March 2011 09:13, Ketil Malde wrote:
>> -- | Try to decode a FilePath to Text, using the current locale encoding. If
>> -- the filepath is invalid in the current locale, it is decoded as ASCII and
>> -- any non-ASCII bytes are replaced with a placeholder.
>
> Why not map them to individual p
John Millikin writes:
> OSX's chief weirdness is that its GUI programs swap ':' and '/' when
> displaying filenames.
A remnant from the bad old days of MacOS <10, where : was the path
separator, and / was a perfectly good character to use in filenames.
> -- | Try to decode a FilePath to Text,
I am only a sophomore and haven't taken any course in Computational Physics. So
what I would like will be to take a library or program with some excellent
documentation and use it as a base for learning about computational physics
and Haskell. This is one of the things I plan to do in summer.
Hi all,
I have a package[1] which uses some system libraries (Qt to be
precise). On Linux (and I'm hoping Mac), it's able to use pkg-config
to determine which libraries are necessary and where to find all the
files. On Windows, I've been less than successful using pkg-config.
However, I *was* able
Good catch, that was most definitely a space leak in pool. I've
uploaded version 0.0.1.1, would you mind testing?
Thanks,
Michael
On Thu, Mar 31, 2011 at 2:52 AM, Ertugrul Soeylemez wrote:
> Hello Michael, hello fellow Haskellers,
>
> there seems to be a space leak in either 'pool', 'persistent'
Hi!
Is there a way to disable throwing BlockedIndefinitelyOnMVar
exceptions? Because I am doing small program where I do not care if
some threads block. As at the end user will have to interrupt the
program anyway.
Mitar
___
Haskell-Cafe mailing list
40 matches
Mail list logo