Emacsのjs2-modeはかなり意欲的でvalidationをすごいきっちりやってくれてゴイスーです。インストール方法にはまずバイトコンパイルしますということなのですが早漏の方はバイトコンパイルに失敗するという書き込みがちらほらある。 バイトコンパイルしなくても使えるやん?とか思ってる人は間違っています!必ずバイトコンパイルしよう。とくにjs2-modeって重くって話にならなくね?とか思っている人は絶対!それバイトコンパイルで解決するから!! なんでコンパイルに失敗するかというと、js2-modeをrequireしちゃってるから。どうやらrequireした状態ではコンパイルに失敗するようで、Google CodeのIssueにも上がっている install instructionに書いてある通りに(require ‘js2-mode)する前にbyte-compile-fileしろよ!っ
このエントリは Scala Advent Calendar jp 2011の12/18日です。前日はeed3si9nさんのIterator パターンの本質でした。 このエントリではScalaを始めたときにhello worldから一歩踏み出すときの言語以外の部分、環境について書きます。 Scalaを始める人は大概scalaコマンドのREPLやhello worldから始めると思うんだけど、 そこからリアルワールドに飛び出すときにギャップが大きくて挫折しやすい。 というか3回くらい挫折しました、僕は。 hello.scalaをscalaコマンドに渡して実行するだけならともかく、 小さくてもプロダクトを作ろうとしたときに途方にくれてしまう。 これはScalaに限った話ではなく、 Javaでhello worldを書いたあとにいきなりMavenに手を出すか? あるいはPythonのREPLを触っ
(yamashiro): === はどこで定義されてるのかなー (yamashiro): というのを簡単に調べる方法とは (sett4): すっごい亀レスだけど (sett4): > === はどこで定義されてるのかなー (sett4): REPL上で :implisits ってやると現在のスコープにあるimplicit conversionsの一覧が出てきて便利 (yamashiro): ほうほう (sett4): > /* 1 inherited from scalaz.concurrent.Actors */ (sett4): > implicit def ActorFrom[A](a: scalaz.concurrent.Actor[A]): A => Unit (sett4): こういう感じで
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く