2016-01-01から1年間の記事一覧

Haskell千本ノック

Prelude> :set prompt "ghci> "ghci> ghci> print "hello, world" -- > "hello, world" ghci> Ctrl-DLeaving GHCi. Prelude> :quitLeaving GHCi. -- hello01.hsmain = putStrLn "hello, world $ runghc hello01.hshello, world -- import01.hsimport System.…

mathjaxの実験

なんだかよくわかりません。When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$