问题描述
一年来,我一直是新秀哈克勒(新秀哈斯克勒),我认为)。我编写了一些小哈斯克尔程序(例如一个非常简单的蛇游戏),但是当我必须使用某些库时,程序包依赖和ghc失败的版本对我来说很难。
选择正确的ghc版本是一种艺术,我认为。
太新,图书馆失败(例如,yesod最近更新为7.4;葡萄柚-ui-gtk目前失败) 。
太旧了,库已经过时,并且不被支持。
HackageDB及其开发者非常棒,但我感觉笨拙,不知道开发一个认真程序的正确方法。
我必须做什么?我太缺乏经验了吗?难道是唯一的方法吗?
(对不起,如果问题太笼统了)
标准化每6个月期间GHC的稳定版本,因此您不必猜测要使用哪种GHC。
For a year I've been a rookie haskeller ("rookie haskeller" forever, I think). I have coded little haskell programs (eg. a very simple snake game) but package dependencies and ghc failed versions is hard for me when I have to use certain libraries.
Selecting the correct ghc version is an art, I think.
Too new, and libraries fail (eg. yesod was updated to 7.4 recently; grapefruit-ui-gtk currently fails).
Too old, and libraries are obsolete and yet not supported.
HackageDB and its develeopers are fantastic, but I feel clumsy and don't know the correct way to develop a serious program.
What I must do? Am I too inexperienced? Is the hard way the only way?
(Excuse me if question is too general)
Stick to the Haskell Platform.
It exists to standardize a stable release of GHC over each 6 month period, so you don't have to guess which GHC to use.
这篇关于Haskell,Hackage,GHC和生产力。该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!