AssociatedFile newtype
To prevent any further mistakes like 301aff34c4
This commit was sponsored by Francois Marier on Patreon.
This commit is contained in:
parent
2cd7496210
commit
c8e1e3dada
43 changed files with 179 additions and 138 deletions
|
@ -53,10 +53,10 @@ seek o = allowConcurrentOutput $
|
|||
start :: MoveOptions -> Bool -> FilePath -> Key -> CommandStart
|
||||
start o move f k = start' o move afile k (mkActionItem afile)
|
||||
where
|
||||
afile = Just f
|
||||
afile = AssociatedFile (Just f)
|
||||
|
||||
startKey :: MoveOptions -> Bool -> Key -> ActionItem -> CommandStart
|
||||
startKey o move = start' o move Nothing
|
||||
startKey o move = start' o move (AssociatedFile Nothing)
|
||||
|
||||
start' :: MoveOptions -> Bool -> AssociatedFile -> Key -> ActionItem -> CommandStart
|
||||
start' o move afile key ai =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue