chore: minor code cleanup
This commit is contained in:
parent
293c19d24f
commit
1f51241a8e
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ def afterTask (task : BuildTask) (act : IO PUnit) : IO BuildTask :=
|
|||
IO.mapTask (fun x => IO.ofExcept x *> act) task
|
||||
|
||||
def afterTaskList (tasks : List BuildTask) (act : IO PUnit) : IO BuildTask :=
|
||||
IO.mapTasks (fun xs => xs.forM IO.ofExcept *> act) <| tasks
|
||||
IO.mapTasks (fun xs => xs.forM IO.ofExcept *> act) tasks
|
||||
|
||||
instance : HAndThen BuildTask (IO PUnit) (IO BuildTask) :=
|
||||
⟨afterTask⟩
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue