diff --git a/Item-Specifications.md b/Item-Specifications.md index bc816d1..4cf0f73 100644 --- a/Item-Specifications.md +++ b/Item-Specifications.md @@ -41,7 +41,7 @@ Here, onType creates one or more "patterns" (an array of types to match against Next, let's look at a method like addition of two complex numbers that accepts many types (any instantiation of Complex) but not all types, and has dependencies: ``` -export const add = onType([Complex, Complex]], (math, [T, U]) => { +export const add = onType([Complex, Complex], (math, [T, U]) => { const add = math.add.resolve(T.Base, U.Base) const complex = math.complex.resolve(add.returns, add.returns) return Returns(