chore: add a TODO
This commit is contained in:
parent
5d256a468f
commit
8c65387ef0
@ -21,6 +21,9 @@ const Multiply = 'multiply(number,number)=>number'
|
||||
const Square = 'square(number)=>number'
|
||||
const Zero = 'zero(number)=>number'
|
||||
|
||||
// TODO: turn a generic string like `(T,T)=>T` into a concrete one like `(number,number)=>number`
|
||||
// const MultiplyNumber = ResolveGeneric<'multiply', number>
|
||||
|
||||
const createSquare = create(Square, [Multiply, Zero], dep =>
|
||||
x => dep.multiply(x, x)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user