タグ

cabalに関するtatac1のブックマーク (6)

  • Haskellのビルドツール"stack"の紹介 - Qiita

    Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Stackとは? つい先日のことですが、Stackage界隈からstackというツールがリリースされました。リリースされたとはいえ、開発され始めたのがちょっと前のことですし、現在も盛んに機能が追加されているので、絶賛開発中であるとかそういったほうがいいかもしれません。 まだ開発の始まったばかりのツールなのに、なぜこんな紹介記事を書こうと思ったのかというと、このツールがHaskellの開発において極めて有用になることが確定的に明らかであって、すでに荒削りながらも、大変便利に使えているからなのです。そしてここで紹介することで、多くの読者の方

    Haskellのビルドツール"stack"の紹介 - Qiita
  • Building Haskell Projects with Halcyon

    With our first production Haskell application, Carnival, we found that slow compile times and deployment to Heroku were two pain points. Since that original blog post, a number of projects have made headway attacking these issues in various ways. Of these, the front-runners in my mind are Docker, Nix, and a Bash-based project named Halcyon. In this post, I want to talk about how we updated Carniva

    Building Haskell Projects with Halcyon
  • jstolarek.com

    This domain may be for sale!

  • サンドボックス環境で hspec をセットアップする方法 - Qiita

    cabal hell あるいは cabal dependincy hell という言葉は重みがあります。なので、回避するためにサンドボックス環境が推奨されています。 いまのところ cabal-dev hsenv cabal sandbox の3つくらいが有名です。cabal-dev はそろそろ他の2種に置き換えられるみたいです(雰囲気)。 で、hsenv は処理系の切り離しもできて便利そうなんですが、ここでは global にインストールされているパッケージを(おそらく)使いまわせる cabal sandbox を使ってみます。おすすめがあれば教えてください… みんな大好き BDD ツールです。 セットアップ&実行方法 まず .cabal ファイルを作成します。お手元のプロジェクトで cabal init すると手に入ります。質問に答えていきましょう。 次に hspec の cabal フ

    サンドボックス環境で hspec をセットアップする方法 - Qiita
  • 2013年8月現在のHaskell開発環境 - maoeのブログ

    以前はHaskell Platformを使っていたのだけど、Cabalの依存関係ソルバがあまり賢くなかったこともあり、いわゆるdependency hellに陥ることが多かった。それからというものHaskell Platformを使わない環境を使っている。OS Xでは公式のインストーラやらHomebrewやMac Portsなど幾つかの方法が用意されているが、こんな方法もあるよということで紹介してみよう。 GHCのインストール GHCのリリース版は自分でビルドしない。時間が掛かるから。インストーラは使わずにtarball版を使う。これはインストール先を自分で指定したいため。 tar zxvf ~/Downloads/ghc-7.6.3-x86_64-apple-darwin.tar.bz2 cd ghc-7.6.3/ ./configure --prefix=/usr/local/ghc/

    2013年8月現在のHaskell開発環境 - maoeのブログ
  • How can I use GHCi with the new cabal 1.17 sandboxes?

    I've been trying out cabal head which has support for sandboxes similar to cabal-dev. However there's not yet support for a cabal-dev ghci equivalent and apparently no support planned for the next release. Is there some incantation I can use to work around this and get something similar to cabal-dev ghci?

    How can I use GHCi with the new cabal 1.17 sandboxes?
  • 1