-
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…
-
# Intro
I'm not sure if this should be a [Discussion](https://github.com/Rick-Lang/rickroll-lang/discussions/79), but I believe it makes sense as an Issue.
I guess I should quote [The Purpose™](ht…
-
## 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…
-
- строгая функция
- класс типов
- Parametric Polymorphism
- Ad Hoc Polymorphism
- State
- Property-based Testing
-
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 …
-
https://en.wikipedia.org/wiki/Parametric_polymorphism
-
Implement parametric polymorphism / generic types such that I can write useful library functions.