haskell-stack

    6熱度

    1回答

    我可以stack build命令行的一個項目,但是當我嘗試C-c C-l在Emacs(與(custom-set-variables '(haskell-process-type 'stack-ghci)))我得到一個錯誤,所有的包我無法找到導入的模塊。 /home/amcp011/bec/amcp011/accelerate/gpe/src/Numeric/GPE/Utils.hs:30:1: e

    2熱度

    1回答

    我有一個項目拉入兩個本地包。我stack.yaml有: packages: - '.' - '../creatur-wains' - '../creatur-wains-test-utils' 兩個creatur-wains和creatur-wains-test-utils定義一個名爲ALife.Creatur.Wain.TestUtils模塊,但在creatur-wains這僅僅是測試

    1熱度

    2回答

    我只想試試Haskell d3js包。下面是我的嘗試: stack install d3js 但它給人的錯誤: Error: While constructing the build plan, the following exceptions were encountered: In the dependencies for d3js-0.1.0.0: base-4.9.1.0

    1熱度

    1回答

    我使用c2hs來簡化將Haskell綁定到C/C++庫的過程。我最近也開始使用堆棧來管理我的Haskell項目。 要使用c2hs,我需要在我的Haskell源代碼中有一行說#include "myheader.h";這裏myheader.h是我的C/C++庫的接口文件。 我今天發現,即代替嵌入此#include線插入.chs源文件中,一個也可以通過頭文件的位置,同時調用c2hs如下 c2hs /<

    0熱度

    1回答

    我想用--pedantic標誌建立一個項目。現在我正在使用 stack build --pedantic 命令。但我想總是爲這個項目使用這個標誌(因此,不是全局的)。有沒有辦法配置這個?

    -1熱度

    1回答

    試圖做堆棧設置對薄荷18安裝堆棧GHC, - 不斷收到配置錯誤: checking for path to top of build tree... /home/frank/.stack/programs/x86_64-linux/ghc-8.0.2.temp/ghc-8.0.2 Build platform inferred as: x86_64-unknown-linux Host pla

    1熱度

    1回答

    如果我運行 stack sdist --sign ... 我得到 Error signing with GPG gpg: cannot open `/dev/tty': Device not configured unless I place no-tty 在我~/.gnupg/gpg.conf。 但是,如果我這樣做,那麼 gpg -e ... 給 gpg: Sorry, no

    0熱度

    1回答

    我有一個項目需要一些操作才能編譯。對於某些依賴項,錯誤消息指出兩個版本和一個範圍。這些條目實際上意味着什麼? Cabal-1.24.2.0 must match ==2.0.* (latest applicable is 2.0.0.2) 在任何情況下我希望Cabal-1.24.2.0在2.0.*範圍相匹配的版本。 stack也似乎要求,所以沒有解釋爲什麼。 爲什麼2.0.0.2被認爲適用,因

    2熱度

    1回答

    我試圖安裝hsdev,它是在win32-notify-0.3.0.1 Failed to install Win32-notify-0.3.0.1 Build log (C:\Users\Chris\AppData\Roaming\cabal\logs\ghc-8.2.1\Win32-notify-0.3.0.1-4SkPzVSpsVh3tD4JgoFSXp.log): Preprocessi

    0熱度

    2回答

    type Coordinate = (XCoord, YCoord) type XCoord = Coord type YCoord = Coord type Coord = Integer coordInBound :: Coordinate -> Bool coordInBound (XCoord, YCoord) = XCoord |x >= 0 && x <