-
Which one?
- `'int list` --> à la ML.
- `list[t]` --> à la Scala
int list --> list & { type t = int }
list & { type t = pair & { a = int & b = int } }
-
Do not check type, but sets of units instead. (i.e. treat as parameters units involved in operation)
Result value should have type of the left operand either more broader type of the right operand if…
-
As reflected in #526 an outstanding request has been to support methods on struct instances so folks can use the familiar "object oriented receiver" style function invocations -- without polymorphism …
-
I just got through [Structs, methods and interfaces](https://quii.gitbook.io/learn-go-with-tests/go-fundamentals/structs-methods-and-interfaces) and at the end of the chapter, wrapping up the concepts…
-
- строгая функция
- класс типов
- Parametric Polymorphism
- Ad Hoc Polymorphism
- State
- Property-based Testing
-
## Proposal 2 Revision 0
- _author: rsy_
- _date: 2018-11-11_
- _language inner level suppport_
Here are 2 (or 3) kinds of **polymorphism** to take into consideration:
- _Ad-hoc coercion po…
-
https://en.wikipedia.org/wiki/Parametric_polymorphism
-
Implement parametric polymorphism / generic types such that I can write useful library functions.
-
Now that #74 has freed up the pipe operator `|`, it will now be possible to implement operator overloading with yet another mechanism, on top of subtype polymorphism and parametric polymorphism. That …
-
- [x] Rename fashion-driven to "Timeless"
- [x] Move up "no blessed library".
- [x] Rename "No dead or unreachable code" to "No unused declarations"
- [ ] Monotonic declarations.
- [ ] Layered pro…