diff options
| author | seh <henesy.dev@gmail.com> | 2019-03-11 04:09:58 -0500 |
|---|---|---|
| committer | seh <henesy.dev@gmail.com> | 2019-03-11 04:09:58 -0500 |
| commit | eac284d17b14eb4602387eb47c644fcf4f6e86c0 (patch) | |
| tree | 0c7151250ea0235ca8e11ecb3b61cc9221e470fa /Generics/README.md | |
| parent | b6a2e83b6a1464cd4dad074c20c460b075dbbe61 (diff) | |
add beginnings of a generics example
Diffstat (limited to 'Generics/README.md')
| -rw-r--r-- | Generics/README.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Generics/README.md b/Generics/README.md new file mode 100644 index 0000000..c381e29 --- /dev/null +++ b/Generics/README.md @@ -0,0 +1,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 |
