Skip to content

why test both ipSet = gpSet and gpSet = ipSet ??? #4

@dckc

Description

@dckc

@leithaus why is equal tested both ways? Did you mean to write subset or something?

 else if ((ProcessSet.equal ipSet gpSet) || (ProcessSet.equal gpSet ipSet))

https://github.com/leithaus/rhocaml/blob/master/mc.ml#L127

I transcribed it somewhat literally:

                        else if ((ipSet == gpSet) || (gpSet == ipSet)) ///@@@@?@?@?@?

https://github.com/rchain-community/behavr/blob/master/src/main/scala/rho/Model.scala#L125

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