-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need Prim.principalToWord8Array
.
#21
Comments
You can use |
Is |
Prim.principalToWord8Array
or some other comparable primative.Prim.principalToWord8Array
.
Or can I convert type |
We are still trying to understand what is |
Yup, that's the way to go. Blob is actually more compact than [Word8] (in the current implementation) since we don't specialize array representations (Joachim wants to eventually). |
For a hash, there is actually a Word32 hash on Principals in base library Principal.mo, defined as ... Blob.hash (Prim.blobOfPrincipal p) ... |
Cool thanks! Looks like what I wanted was |
No description provided.
The text was updated successfully, but these errors were encountered: