Migrated
This commit is contained in:
10
Functional Programming/Polymorphism.md
Normal file
10
Functional Programming/Polymorphism.md
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
type: mixed
|
||||
---
|
||||
### Stuff
|
||||
|
||||
- Definition of polymorphism and type variables
|
||||
- Examples of polymorphic functions:
|
||||
- `id`, `fst`, `swap`, `silly`, `silly2`
|
||||
- List functions from the Prelude (e.g., `length`, `++`, `reverse`, `replicate`, `head`, `tail`, `take`, `drop`, `concat`, `zip`, `unzip`, `and`, `or`, `sum`, `product`)
|
||||
- Polymorphism vs. overloading
|
Reference in New Issue
Block a user