feat: Add and illustrate multiple ways of specifying implementations (#19)
Resolves #9. Co-authored-by: Glen Whitney <glen@studioinfinity.org> Reviewed-on: #19
This commit is contained in:
parent
4fdafc751e
commit
d72c443616
9 changed files with 81 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
export {Types} from './Types/number.mjs'
|
||||
|
||||
export const add = {
|
||||
'...number': [[], addends => addends.reduce((x,y) => x+y, 0)],
|
||||
'...number': addends => addends.reduce((x,y) => x+y, 0),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue