selectMany
    :: Res
       -- ^ How many nodes allocate to the group
    -> ResGroup
       -- ^ How to allocate resources for individual processes in
       --   group
    -> [GrpFlag]
       -- ^ Additional flags which influence resource allocation
    -> DNA [Resources]
selectMany n g f = do
    sendACP $ ReqResourcesGrp n g f
    liftP expect


----------------------------------------------------------------
-- Connect actors
----------------------------------------------------------------

-- | Send parameter to the actor
selectMany
    :: Res
       -- ^ How many nodes allocate to the group
    -> ResGroup
       -- ^ How to allocate resources for individual processes in
       --   group
    -> [GrpFlag]
       -- ^ Additional flags which influence resource allocation
    -> DNA [Resources]
selectMany n g f = do
    sendACP $ ReqResourcesGrp n g f
    liftP expect


----------------------------------------------------------------
-- Connect actors
----------------------------------------------------------------

-- | Send parameter to the actor
selectMany n g f = do
    sendACP $ ReqResourcesGrp n g f
    liftP expect


----------------------------------------------------------------
-- Connect actors
----------------------------------------------------------------

-- | Send parameter to the actor