- Learn Scala Programming
- Slava Schmidt
- 74字
- 2021-06-10 19:35:49
Polymorphism and higher order functions
Until now, we've played with functions that operate on only one type of data (monomorphic functions). Now, we will finally apply our type system knowledge to build functions that work for multiple types. Functions that take type parameters are called polymorphic functions similar to polymorphic methods implemented in an object-oriented hierarchy of classes (subtype polymorphism). For functions in Scala, it is called parametric polymorphism.
推薦閱讀
- 一步一步學Spring Boot 2:微服務項目實戰
- jQuery Mobile Web Development Essentials(Third Edition)
- Flask Blueprints
- PHP 從入門到項目實踐(超值版)
- Photoshop智能手機APP UI設計之道
- Azure IoT Development Cookbook
- 無代碼編程:用云表搭建企業數字化管理平臺
- Java 9 Programming Blueprints
- PostgreSQL 11從入門到精通(視頻教學版)
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- 微服務架構深度解析:原理、實踐與進階
- Lighttpd源碼分析
- 從零開始學C#
- C++ Application Development with Code:Blocks
- Visual Basic程序設計(第三版)