mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-08-16 09:20:24 +03:00
parent
5f3ff5b603
commit
6b784b11ec
Binary file not shown.
@ -3445,7 +3445,7 @@ equivalent:
|
||||
Sometimes it it useful to be able to define a truly \emph{new} type
|
||||
that the typechecker will recognize as distinct from all other types.
|
||||
For example, one might wish to define a type with internal invariants,
|
||||
or use a collection of data in a way is semantically different from
|
||||
or use a collection of data in a way that is semantically different from
|
||||
the default implementations of arithmetic or comparison. For
|
||||
situations like this, where the programmer desires a lightweight
|
||||
abstraction barrier, a \texttt{newtype} declaration allows the
|
||||
|
Loading…
Reference in New Issue
Block a user