Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Haskell 使用当前gtk2hs(0.12.5)编译threadscope(0.2.2)_Haskell - Fatal编程技术网

Haskell 使用当前gtk2hs(0.12.5)编译threadscope(0.2.2)

Haskell 使用当前gtk2hs(0.12.5)编译threadscope(0.2.2),haskell,Haskell,Threadscope在其cabal文件中没有明确的版本界限,而且在上次Threadscope发布后,gtk2hs中的某些导出似乎发生了更改。我需要进行以下琐碎的更改,以使用gtk-0.12.5.6(当前来自hackage)编译threadscope-0.2.2(当前来自hackage): diff-r threadscope-0.2.2/GUI/SaveAs.hs threadscope-0.2.2.1/GUI/SaveAs.hs 12c12 导入Graphics.Rendering.Cair

Threadscope在其cabal文件中没有明确的版本界限,而且在上次Threadscope发布后,gtk2hs中的某些导出似乎发生了更改。我需要进行以下琐碎的更改,以使用gtk-0.12.5.6(当前来自hackage)编译threadscope-0.2.2(当前来自hackage):

diff-r threadscope-0.2.2/GUI/SaveAs.hs threadscope-0.2.2.1/GUI/SaveAs.hs
12c12
导入Graphics.Rendering.Cairo隐藏(高度、宽度、区域)
diff-r threadscope-0.2.2/GUI/Timeline/Render.hs threadscope-0.2.2.1/GUI/Timeline/Render.hs
24c24
导入Graphics.Rendering.Cairo隐藏(高度、宽度、区域)
diff-r threadscope-0.2.2/GUI/Timeline.hs threadscope-0.2.2.1/GUI/Timeline.hs
37c37
导入Graphics.Rendering.Cairo隐藏(高度、宽度、区域)
差异-r threadscope-0.2.2/threadscope.cabal threadscope-0.2.2.1/threadscope.cabal
2c2
<版本:0.2.2
---
>版本:0.2.2.1

注意:返回的点。嗯。

我看没有问题。如果问题是如何打开票据,只需创建一个帐户并在您提供的第二个链接上打开票据即可。ThreadScope 0.2.3。使用此版本的gtk编译效果良好。
diff -r threadscope-0.2.2/GUI/SaveAs.hs threadscope-0.2.2.1/GUI/SaveAs.hs
12c12
< import Graphics.Rendering.Cairo
---
> import Graphics.Rendering.Cairo hiding ( height, width, Region )
diff -r threadscope-0.2.2/GUI/Timeline/Render.hs threadscope-0.2.2.1/GUI/Timeline/Render.hs
24c24
< import Graphics.Rendering.Cairo
---
> import Graphics.Rendering.Cairo hiding ( height, width, Region )
diff -r threadscope-0.2.2/GUI/Timeline.hs threadscope-0.2.2.1/GUI/Timeline.hs
37c37
< import Graphics.Rendering.Cairo
---
> import Graphics.Rendering.Cairo hiding ( height, width, Region )
diff -r threadscope-0.2.2/threadscope.cabal threadscope-0.2.2.1/threadscope.cabal
2c2
< Version:             0.2.2
---
> Version:             0.2.2.1