$ brew install ghc
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/ghc-7.4.2.m
######################################################################## 100.0%
==> Pouring ghc-7.4.2.mountainlion.bottle.tar.gz
==> Caveats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "beeftornado/rmtree" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" | |
cask "vagrant" | |
cask "corretto8" | |
brew "cask" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scala> import maze._ | |
import maze._ | |
scala> val m = Mazes.load(new java.io.File("maze.txt")) | |
m: maze.Maze = maze.Maze@20ccb51 | |
scala> Mazes.encodeRunLength(m.solve.get) | |
res0: List[(maze.Direction.Value, Int)] = List((S,1), (E,10), (S,2), (W,31), (N,4), (E,2), (S,2), (E,2), (N,4), (E,7), (N,1)) |
Adobe から発表された コーディング用のフォントである Source Cord Pro を早速 Sublime text2 に設定してみました。
フォントは Github
adobe / Source-Code-Pro
から ダウンロード可能です。
coffee-script をインストールする前に node.js をインストールする必要があります。
node.js は homebrew
を使ってインストールしました。
brew install nodejs
==> Downloading http://nodejs.org/dist/v0.8.8/node-v0.8.8.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/node/0.8.8
==> make install
半年ぐらい前ですが、Scalaz の解説のプレゼンテーションである、
Scalaz Presentationという プレゼン動画を見ました。
Nick Partridgeさんというオーストラリアの方が、約1年半前に Scalazの説明をされているプレゼンなのですが
半年前に見たときは 何をやっているのかさっぱり理解出来ませんでした。
今 もう一度みると Scalaz に限らず 型パラメータつかって関数を一般化するのに
段階をおって一般化されていくので すごくよくできたプレゼンの内容であるのがやっとわかるようになってきました。
NewerOlder