UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
libs
/
utils
/
Mapper
/
getMapperOneTupleFromMapperTwo.ts
4 lines
(2 loc)
•
157 B
text/typescript
View Raw
1
2
3
4
import
{
MapperTwo
}
from
'./index'
export
const
getMapperOneTupleFromMapperTwo = <A, B,
Out
>
(
func: MapperTwo<A, B, Out>
) =>
(
[a, b]: [A, B]
) =>
func
(a, b)