[Question][Hw5] order, join of PowSet #306
-
Name: ChanU Kang I am going through the codes given by hw5. but in moduel PowSet, there are some functions, order, join which I should implemented and they doens't have any parameter. so, I expected, 'let order p1 p2 = failwith "Not implemented"' but It is 'let order = failwith "Not implemented"' So this code involve that I must implement join or order of PowSet without any parameter. Is this intented definition? Is there a way to do this end? or... Can I change it? because the actual type of order is 'val order : t -> t -> bool', as in CPO signature which is implemented by the PosSet? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As you can see in the case of |
Beta Was this translation helpful? Give feedback.
As you can see in the case of
PowSet.bottom
,PowSet.narrow
, andPowSet.widen
,they are defined with the functions from the Set module of Ocaml.
You can do the same with
order
andjoin
.