Fst function
Namespace: Microsoft.Quantum.Canon
Package: Microsoft.Quantum.Standard
Given a pair, returns its first element.
function Fst<'T, 'U> (pair : ('T, 'U)) : 'T
Input
pair : ('T,'U)
A tuple with two elements.
Output : 'T
The first element of pair.
Type Parameters
'T
The type of the pair's first member.
'U
The type of the pair's second member.
反馈
提交和查看相关反馈