-
Hello, In domain.ml, I thought val cmp : Llvm.Icmp.t -> t -> t -> t What is expected to returned by |
Beta Was this translation helpful? Give feedback.
Answered by
KihongHeo
Nov 9, 2022
Replies: 2 comments
-
Hi.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
doit-man
-
Thank you for your explanation! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
cmp
is the abstract version of concrete comparison. Since the concrete comparison returns a boolean value (in this homework, a bool value is 0 or 1), the abstract operator returns at
type value.