moduler programming in scala

d-hayashid-hayashi のブックマーク 2017/03/11 19:01

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

ScalaMatsuri2017

    val increment: Int => Int = n => n + 1 val double: Int => Int = n => n * 2 val composed = double.compose(increment) // or increment.andThen(double) composed(10) // => 22 object Calculator extends R...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう