当我对我的Mac(Snow Leopard、英特尔)进行“bal更新”时,我得到:
% cabal update Downloading the latest package list from hackage.haskell.org cabal: Codec.Compression.Zlib: incompatible zlib version
任何其他人都看到这一点? 帮助重新安装Haskell平台的斜线。 目前无法安装或更新卡布拉尔一揽子计划,因此我不胜感激。
感谢!
当我对我的Mac(Snow Leopard、英特尔)进行“bal更新”时,我得到:
% cabal update Downloading the latest package list from hackage.haskell.org cabal: Codec.Compression.Zlib: incompatible zlib version
任何其他人都看到这一点? 帮助重新安装Haskell平台的斜线。 目前无法安装或更新卡布拉尔一揽子计划,因此我不胜感激。
感谢!
因此,我通过完全从我的机器中去除MacPorts,重新安装斜体,然后清除我的~。
之后,我停止获取这些信息。
感谢大家。
校正
我认为这意味着你安装的C zlib图书馆已经过时。 您能否更新?
我做的是,从Mac Ports装上“+universal”旗帜,并且毫无问题地工作。 这是否有助于你?
I m trying my hand at Euler Problem 4 in Haskell. It asks for that largest palindrome formed by multiplying two three-digit numbers. The problem was simple enough, and I thought my Haskell-fu was up ...
Can anybody explain how does foldr work? Take these examples: Prelude> foldr (-) 54 [10, 11] 53 Prelude> foldr (x y -> (x+y)/2) 54 [12, 4, 10, 6] 12.0 I am confused about these executions....
How can I efficiently implement a list data structure where I can have 2 views to the head and end of the list, that always point to a head a tail of a list without expensive calls to reverse. i.e: ...
I am doing problem 61 at project Euler and came up with the following code (to test the case they give): p3 n = n*(n+1) `div` 2 p4 n = n*n p5 n = n*(3*n -1) `div` 2 p6 n = n*(2*n -1) p7 n = n*(5*n -3)...
I ve just started learning about Functional Programming, using Haskel. I m slowly getting through Erik Meijer s lectures on Channel 9 (I ve watched the first 4 so far) and in the 4th video Erik ...
The type of the Prelude function flip is: flip :: (a -> b -> c) -> b -> a -> c I.e., it takes one binary function and two arguments. The type of the Prelude function id is: id :: a -...
group :: Ord a => [(a, [b])] -> [(a, [b])] I want to look up all pairs that have the same fst, and merge them, by appending all the list of bs together where they have the same a and discarding ...
I want to do a popen() / python s subprocess.communicate from Haskell - start a program, give it stdin, and get its stdout/stderr. What s the most direct / Haskellish way to do this?