From fa69e4edd87e3ec319ac4962c619b04e2203628e Mon Sep 17 00:00:00 2001 From: Greg Brown Date: Tue, 2 Mar 2021 16:08:26 +0000 Subject: Introduce function types. Function types are just functions from types to check-results. Nothing more than delayed computation. Efficiency will initially be no better than current. Caching results could help, but that's a future problem. An alternative approach is introducing constraints. That would be a bigger architectural change, with more complex processing. On the other hand, adding future extensions would be easier. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0d48eb1..7e2197b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,7 @@ members = ["autochomp", "chewed", "chomp-bench", "chomp-macro"] [dependencies] heck = "0.3.2" +once_cell = "1.7.2" proc-macro2 = "1.0.24" quote = "1.0.8" syn = "1.0.58" -- cgit v1.2.3