blob: c381e29a1b521b464006c799092dcb4599f3c51a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Generics
Warning: This is an example about an undocumented feature of Limbo. All assertions or explanations provided are considered conjecture until proven otherwise.
## Source
###
## Demo
## Exercises
- Can you find a way to make the eq() function do a deep comparison of Int's?
- Try removing the `.String` from the `words` definition, what happens?
- Try removing `ref anywhere, see what happens.
## References
- https://github.com/caerwynj/inferno-lab/blob/master/27/sexprs.b
- https://github.com/caerwynj/inferno-lab/blob/master/78/README.md
|