mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-09-11 14:06:13 +03:00
Docs typos
This commit is contained in:
parent
1c382634eb
commit
301c74cb8f
Binary file not shown.
@ -3482,7 +3482,7 @@ equality are straightforward.
|
||||
r = x.real * y.real - x.imag * y.imag
|
||||
i = x.real * y.imag + x.imag * y.real
|
||||
|
||||
cplxEq : CplxQ -> CplxQ -> CplxQ
|
||||
cplxEq : CplxQ -> CplxQ -> Bit
|
||||
cplxEq x y = (x.real == y.real) && (x.imag == y.imag)
|
||||
|
||||
\end{code}
|
||||
|
Binary file not shown.
BIN
docs/Syntax.pdf
BIN
docs/Syntax.pdf
Binary file not shown.
@ -518,7 +518,7 @@ Newtypes
|
||||
--------
|
||||
|
||||
At runtime, newtypes values are represented in exactly
|
||||
the same was as records. The constructor function for
|
||||
the same way as records. The constructor function for
|
||||
newtypes is thus basically just an identity function
|
||||
that consumes and ignores its type arguments.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user