Skip to content

Commit

Permalink
Make data Relations more explicit (require for UI use)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryukzak committed Apr 12, 2021
1 parent 39f6dc3 commit d537fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NITTA/Model/ProcessorUnits/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ data Relation
= -- |Vertical relationships (up and down). For example, the intermediate
-- step (function execution) can be translated to a sequence of endpoint
-- steps (receiving and sending variable), and process unit instructions.
Vertical ProcessStepID ProcessStepID
Vertical {vUp, vDown :: ProcessStepID}
| -- |Horizontal relationships (on one level). For example, we bind the
-- function and apply the refactoring. The binding step should be
-- connected to refactoring steps, including new binding steps.
Horizontal ProcessStepID ProcessStepID
Horizontal {hPrev, hNext :: ProcessStepID}
deriving (Show, Eq, Generic, Ord)

isVertical Vertical{} = True
Expand Down

0 comments on commit d537fc2

Please sign in to comment.