This website requires JavaScript.
Explore
Help
Sign In
glen
/
pocomath
Watch
2
Star
1
Fork
You've already forked pocomath
0
Code
Issues
3
Pull Requests
Projects
Releases
Wiki
Activity
fe54bc6004
pocomath
/
src
/
generic
/
sign.mjs
4 lines
89 B
JavaScript
Raw
Blame
History
export
const
sign
=
{
T
:
(
{
'compare(T,T)'
:
cmp
,
'zero(T)'
:
Z
}
)
=>
x
=>
cmp
(
x
,
Z
(
x
)
)
}
Reference in New Issue
View Git Blame
Copy Permalink