The Idris Tutorial Version 0.9.18line n into the various pattern forms it may take, removing any cases which are impossible due to unification errors. For example, if the code beginning on line 94 is: vzipWith : (a -> b -> c) -> Vect n split into one case [], Idris having noticed that the other possible case y :: ys would lead to a unification error. 11.2.3 :addmissing The :addmissing n f command, abbreviated :am n f, adds the clauses non-empty vectors, generates the required clauses, and eliminates the clauses which would lead to unification errors. 11.2.4 :proofsearch The :proofsearch n f command, abbreviated :ps n f, attempts to find0 码力 | 69 页 | 316.20 KB | 1 年前3
The Idris Tutorial Version 0.11line n into the various pattern forms it may take, removing any cases which are impossible due to unification errors. For example, if the code beginning on line 94 is: vzipWith : (a -> b -> c) -> Vect n split into one case [], Idris having noticed that the other possible case y :: ys would lead to a unification error. 12.2.3 :addmissing The :addmissing n f command, abbreviated :am n f, adds the clauses non-empty vectors, generates the required clauses, and eliminates the clauses which would lead to unification errors. 12.2.4 :proofsearch The :proofsearch n f command, abbreviated :ps n f, attempts to find0 码力 | 71 页 | 314.20 KB | 1 年前3
The Idris Tutorial Version 0.9.20.1line n into the various pattern forms it may take, removing any cases which are impossible due to unification errors. For example, if the code beginning on line 94 is: vzipWith : (a -> b -> c) -> Vect n split into one case [], Idris having noticed that the other possible case y :: ys would lead to a unification error. 12.2.3 :addmissing The :addmissing n f command, abbreviated :am n f, adds the clauses non-empty vectors, generates the required clauses, and eliminates the clauses which would lead to unification errors. 12.2.4 :proofsearch The :proofsearch n f command, abbreviated :ps n f, attempts to find0 码力 | 71 页 | 316.18 KB | 1 年前3
共 3 条
- 1













