Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
akka アクター システムの不変メッセージとして純粋な scala コード (副作用なし) を使用したいと考えています。scala コードをどの形式に変換すればよいですか? 文字列表現は唯一の正しい方法ですか?
scala.FunctionX をメッセージとして送信するだけです。
object Foo { val f = (s: String) => s.toInt } someActor ! Foo.f