タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

ocamlに関するkatzchangのブックマーク (6)

  • tuareg-mode 2.0.x の case -> に関するインデント修正 - camlspotter’s blog

    tuareg-mode については、 http://d.hatena.ne.jp/camlspotter/20100605/1275695973 でも書いたとおり、最新版の 2.0.x はまだちょっと手を出すのは早いのかなあと思っていましたが、そうも言っておれず… 2.0.x では match, try, function の case 文での -> 以降のインデントが浅すぎる、という問題があります。これについては問題として報告されているのですが、メンテなが全然気にして無いので直らない。でそのままでは見た目がこんなになる: let f = match t with | p -> xxx; (* ??? *) yyy | p -> xxx; (* ??? *) yyy ;; ご覧の様に、 -> 以降の行のインデントがパターン p と同位置にあるため、どこでケースが切れているのかパッと見判り難

    tuareg-mode 2.0.x の case -> に関するインデント修正 - camlspotter’s blog
    katzchang
    katzchang 2012/05/06
    あまり気にならないけど、一応。
  • 背中背中

    katzchang
    katzchang 2012/05/06
    functionのインデント。「一つ目のケースにも|をつければ正しくインデントされます」
  • Macのパッケージ管理ツールhomebrewを試してみた - とあるつくみんの研究日誌


    homebrew Unix http://mxcl.github.com/homebrew/ MacportsfinkMacports使ports installocaml+omake gnucash Macportshomebrew
    Macのパッケージ管理ツールhomebrewを試してみた - とあるつくみんの研究日誌
  • なぜ次に学ぶ言語は関数型であるべきか - YAMAGUCHI::weblog


     PythonOCamlYaron Minsky OCaml for the Masses - ACM Queue Yaron MinskyJane StreetJane StreetOCaml Jane Street Tech Blogs John HughesACM Queue稿  Why the next language you learn should be functional YARON MINSKY, JANE STREE
    なぜ次に学ぶ言語は関数型であるべきか - YAMAGUCHI::weblog
  • キャミバ様が id:ymotongpoo を木人形にされるようです - camlspotter’s blog

    事の次第 @camlspotter「めんどくせ、あいつに押し付けよ… @camloeba「おれには強く型付けされたコードが必要だ! あらゆる実験にたえうる木人形がな!ぶつぶつ‥ @camlspotter: 「キャミバ様、実はこんなものが… @camloeba「ほう… … ||||||:::::::;:::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::::::|     | |::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::::::::::::::||||||| |||||::::::::::/   ●   \:::|    |:::/   ●   \::::::::::||||||| |||::::::::;;;;;;;──────;;;;;;;;|    |;;;;;;──────;;;;;;;;;;:::::|||||| |;;;;;;;

    キャミバ様が id:ymotongpoo を木人形にされるようです - camlspotter’s blog
    katzchang
    katzchang 2010/12/10
    すげぇ…。
  • omake + oUnitでTDD! - みずぴー日記


    TDD Bootcamp oUnit + omakeTDD>< GitHub - mzp/ounit-example-1: OUnit example  (./src)(./test) . |-- OMakefile |-- OMakeroot |-- src | |-- OMakefile | |-- fact.ml | `-- main.ml `-- test |-- OMakefile `-- fact_test.ml OMakefile OMakefileocamlf
    omake + oUnitでTDD! - みずぴー日記
  • 1