Skip to content

Commit d89dd5a

Browse files
committed
[ fix ] Fix ambiguous map in Core.system
1 parent d8d360a commit d89dd5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Core/Core.idr

+2-2
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ handleExitCode cmd (ExitFailure status) = throw $ NonZeroExitCode cmd status
989989

990990
export
991991
system : String -> Core ExitCode
992-
system = map cast . coreLift . system
992+
system = Core.map cast . coreLift . system
993993

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

10051005
export
10061006
safeSystem : List String -> Core ()

0 commit comments

Comments
 (0)