-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
feat: Grain implementation of equals #538
Conversation
ba2b16d
to
82be4dc
Compare
@@ -75,7 +77,7 @@ primitive fail : String -> a = "@fail" | |||
import foreign wasm print : a -> Void from "stdlib-external/runtime" | |||
|
|||
// Checks the given items for structural equality. | |||
import foreign wasm equal : (a, a) -> Bool as (==) from "stdlib-external/runtime" | |||
export (==) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already export *
at top?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't work on imports.
@@ -0,0 +1,209 @@ | |||
/* compilation-mode: runtime */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly taking your word for this conversion. I don't have the energy to try to line up the AssemblyScript side-by-side with the Grain code.
No description provided.