You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
We’re happy to announce the availability of MinGHC for GHC 7.10. MinGHC is a minimal GHC installer for Windows, consisting of: GHC itself cabal-install MSYS, which is necessary for building some packages such as network MinGHC came out of some conversation Neil Mitchell and I had at ICFP last year about pain on the Windows platform, and consists of a lot of good code by Neil, and some hacky attemp
Glasgow Haskell Compiler(GHC)は、関数型言語Haskellの主要コンパイラです。GHCは(並列性に加えて)並行性を主要な目的として長年開発されてきました。そのため、GHCには、 軽量スレッド(グリーンスレッド) マルチコア用の軽量スレッド・スケジューラ マルチコア上での効率的なメモリアロケータ マルチコア用のガベージコレクタ など、マルチコアで簡潔に並行性を実現するための部品が揃っています。そこで、Haskellで Web サーバなどの並行プログラムを書き、GHC でコンパイルすれば、マルチコア環境でスケールするのを期待したくなります。 残念ながら GHC 7.6.3 までは、入出力を司るIOマネージャの実装にボトルネックがあり、マルチコア環境でスケールしませんでした。エール大学のAndreas Voellmy氏と筆者は、IOマネージャの改良に取り組み、その成果
ここ数週間ずっとswiftを書いてきたのですが、swiftは 書いていてつまらない 言語仕様がちょっと頭おかしい オフィシャル言語なのにIDEが糞 未来が見えない と、ぶっちゃけ飽きてしまったので、HaskellでiOSアプリを書くという茨の道に行ってみたいと思いました。 HaskellでiOSアプリがかければ共通部分の処理はHaskellのままAndroidで動かすとか色々できそうです。ぶっちゃけHaskellからCに落としちゃえばどこでも動かせるはずです。というわけで色々探していたところ HaskellがiOSをサポート、性能を改善 というわけで、動くのは動くらしい。少し触ってみて感じを掴んでみることにしました。まずは環境をつくって"Hello, world."です。 今回の参考資料 今回は基本的にこれに従って進めていきます。 ghc-ios/ghc-ios-scripts · Git
Typing Haskell in Haskell MARK P. JONES Pacific Software Research Center Department of Computer Science and Engineering Oregon Graduate Institute of Science and Technology 20000 NW Walker Road, Beaverton, OR 97006, USA mpj@cse.ogi.edu Version of November 23, 2000. Converted to Markdown on November 8, 2014. Abstract Haskell benefits from a sophisticated type system, but implementors, programmers, a
As part of my 6-month research secondment to Microsoft Research in Cambridge I am taking up the challenge of migrating the current GHC build system based on standard make into a new and (hopefully) better one based on Shake. If you are curious about the project you can find more details on the wiki page. During this week I’ve been trying to wrap my head around the current build system and so far I
Haskellを書いていて、久しぶりに言語自体について不可解な挙動にぶち当たった。普段Haskellを書いていて、言語について「なんだこれ」と思うことはまずない。ところが、今回の疑問点は自分の理解を遥かに超える内容だった。最初はTwitterで質問してみたのだが、誰にも答えて頂けなかったので、stackoverflowで質問した。すると、見事に解決しまったので紹介する。 質問が長い。でも丁寧に書いたつもり。下の方に和訳も用意した。英語を読むのが面倒な人はそっちを読んでほしい。(自分が書いた英語を和訳するとか意味が分からんね。) http://stackoverflow.com/questions/25958007/ Why ghc changes the evaluation way due to the optimisation flag? Hello, I've encountered
16-Apr-2011: Now branching from the official ghc base git repo 19-Mar-2011: Things should be working again; I did my own darcs-to-git on the base repo 12-Mar-2011: The “base” repository has moved from darcs to git 10-Mar-2011: The repository names have changed; see below In order to implement heterogeneous metaprogramming for GHC, I have produced a complete formalization of System FC1 in Coq. The
これを書いている時点でAtCoderのHaskell処理系はGHC 7.4であり、これはプログラムに対してデフォルトで8MBのスタック制限を課す。したがって、深さ数十万の再帰を普通に書くと容易にスタック溢れによるREを起こす。 このスタック制限値はコンパイル時または実行時にRTSの-Kオプションで変更できるが、AtCoderではGHCにも自分のプログラムにも好きなオプションを渡すことが基本的にはできない*1ので、他の方法を考える。 回避策 以下のコードをコピペした上で、mainの先頭でunlimitStackSizeを呼べば良い。 import Control.Monad import Data.Word import Foreign.Ptr import Foreign.Storable -- | Remove the stack size limit in the RTS (+RTS
The Glorious Glasgow Haskell Compiler.
Install Haskell on Mac without any fuss Download and unzip ghc-7.10.3-r1.zip (197MB) Move it to a stable location such as /Applications Double-click for instructions to install Xcode and add it to your Terminal's $PATH Requirements Only tested on 64-bit Mac OS X 10.10 What it includes GHC 7.10.3 cabal-install 1.22.8.0 stack 1.0.4 HTML documentation man pages A small GUI app wrapper to help you set
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く