diff --git a/Item-Specifications.md b/Item-Specifications.md index 6bbacc6..cfe8645 100644 --- a/Item-Specifications.md +++ b/Item-Specifications.md @@ -83,7 +83,7 @@ A few things to note in this example: now clients of the eventual bundle can use Finally, let's see how the troubling example of absquare in https://code.studioinfinity.org/glen/pocomath/issues/55 would pan out: ``` -export const absquare = onType([Complex], (math, [T]) => { +export const absquare = onType(Complex, (math, [T]) => { const absq = math.absq.resolve(T.Base) const add = math.add.resolve(absq.returns, absq.returns) return Returns(add.returns, z => add(absq(z.re), absq(z.im))