composewell / simple-rpc

2 stars 0 forks source link

Make runAt, runAs signatures more intuitive #22

Open harendra-kumar opened 1 year ago

harendra-kumar commented 1 year ago
        , runAs :: Executable -> Username -> typ
        , runAt :: Executable -> SSHConfig -> typ
        , runAtAs :: Executable -> SSHConfig -> Username -> typ

We should make these:

        , runAs :: Username -> Executable -> typ
        , runAt :: SSHConfig -> Executable -> typ
        , runAtAs :: SSHConfig -> Username -> Executable -> typ