Skip to content

Commit

Permalink
[ fix ] Fix ambiguous map in Core.system
Browse files Browse the repository at this point in the history
  • Loading branch information
spcfox committed Dec 3, 2024
1 parent d8d360a commit d89dd5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Core.idr
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ handleExitCode cmd (ExitFailure status) = throw $ NonZeroExitCode cmd status

export
system : String -> Core ExitCode
system = map cast . coreLift . system
system = Core.map cast . coreLift . system

||| Execute a shell command. Throws `NonZeroExitCode` if the command returns
||| non-zero exit code.
Expand All @@ -1000,7 +1000,7 @@ safeSystem cmd = system cmd >>= handleExitCode cmd
namespace Escaped
export
system : List String -> Core ExitCode
system = map cast . coreLift . system
system = Core.map cast . coreLift . system

export
safeSystem : List String -> Core ()
Expand Down

0 comments on commit d89dd5a

Please sign in to comment.