Skip to content
Snippets Groups Projects
  • Duncan Coutts's avatar
    8072ee82
    Adjust args to selectComponentTarget functions · 8072ee82
    Duncan Coutts authored
    Previously they took a TargetSelector that would always be a
    TargetComponent constructor, which meant that if we were interested in
    the content then we'd have to do partial pattern matching. Instead they
    now take all the contents of the TargetComponent as separate args which
    means no partial patterns and easy access to the parts.
    
    Also where relevant, put the TargetComponent contents into the
    TargetProblemCommon and TargetProblem constructors.
    8072ee82
    History
    Adjust args to selectComponentTarget functions
    Duncan Coutts authored
    Previously they took a TargetSelector that would always be a
    TargetComponent constructor, which meant that if we were interested in
    the content then we'd have to do partial pattern matching. Instead they
    now take all the contents of the TargetComponent as separate args which
    means no partial patterns and easy access to the parts.
    
    Also where relevant, put the TargetComponent contents into the
    TargetProblemCommon and TargetProblem constructors.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ProjectOrchestration.hs 35.71 KiB