2017年10月31日火曜日
登録:
コメントの投稿 (Atom)
myPlayer
-- pipe.hs import System.Process import System.Environment main :: IO () a:_ IO [FilePath] randomize lst = do let c = length lst ...
-
2の平方根 $ runghc nroot.hs 2 2 | tee a 2の立方根 $ runghc nroot.hs 2 3 | tee b 猛列な勢いで計算しますので適当なファイルに保存もしています。(Ctrl-Cで停止) なお√2に...
-
ライプニッツの公式 実行結果 $ runghc l.hs 3.140592653839793 マチンの公式によるπ 参考にしたページ http://handasse.blogspot.com/2011/12/1.html Parallel版...
-
pbmファイルでシェルピンスキーのギャスケットを描きます。 まずパスカルの三角形をつくります。 $ runghc -XParallelListComp pascal.hs 3 [1] [1,1] [1,2,1] [1,3,3,1] [1,4,6,4,1...

0 件のコメント:
コメントを投稿