Skip to content

[Question][Hw5] order, join of PowSet #196

@HLe4s-kaist

Description

@HLe4s-kaist

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"'
and I'm not allowed to change the function type. except let to let rec.

So this code involve that I must implement join or order of PowSet without any parameter.
But I can't imagine the way to compare without anything to compare or merge without anything to merge.

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions