Skip to content

Commit fd91452

Browse files
committed
Design doc update on dynamic typing
1 parent 3416fab commit fd91452

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

clojureRS.org

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,20 @@
4141
major issues one runs into with #1, although, like with all decisions on
4242
this sheet, I am open to hearing from others wiser than I in Rust.
4343
*** TODO Document problem with #1
44+
*** 4/15/2020 Note
45+
It occured to me I forgot to mention a static dispatching situation like
46+
fn do_to_thing<T: Any>(thing: T)
47+
48+
Although I don't think it matters, as we need heterogenous dynamic typing situations, and although
49+
that might work for a fixed argument function like
50+
51+
fn do_to_things<T: Any, T2: Any>(thing: T, thing2: T2)
52+
53+
or a fixed size data type like
54+
55+
Vec2<T: Any, T2: Any>(1,"cat")
56+
57+
Clojure does not live in a world of fixed size anything
4458
** Exceptions
4559
How best represent exceptions?
4660
*** Conditions

0 commit comments

Comments
 (0)