This website requires JavaScript.
Explore
Help
Sign In
glen
/
typocomath
Watch
2
Star
0
Fork
You've already forked typocomath
0
Code
Issues
3
Pull Requests
Packages
Projects
Releases
Wiki
Activity
cbd1719227
typocomath
/
src
/
generic
/
arithmetic.ts
6 lines
111 B
TypeScript
Raw
Blame
History
export
const
square
=
<
T
>
(
dep
:
{
multiply
:
(
x
:
T
,
y
:
T
)
=
>
T
}
)
=
>
(
z
:
T
)
:
T
=
>
dep
.
multiply
(
z
,
z
)
Reference in New Issue
View Git Blame
Copy Permalink