From fe67e9750a9106bd05964da2acb1aa5a7944cf77 Mon Sep 17 00:00:00 2001 From: Matt McHenry Date: Wed, 14 Nov 2018 22:38:49 -0500 Subject: [PATCH] fix typo in error message: s/piping it a function/piping it to a function/ --- compiler/src/Reporting/Error/Type.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/src/Reporting/Error/Type.hs b/compiler/src/Reporting/Error/Type.hs index cd3f75875..196dde0b6 100644 --- a/compiler/src/Reporting/Error/Type.hs +++ b/compiler/src/Reporting/Error/Type.hs @@ -1072,7 +1072,7 @@ opRightToDocs localizer category op tipe expected = ( D.reflow $ "I cannot send this through the (<|) pipe:" , typeComparison localizer tipe expected "The argument is:" - "But (<|) is piping it a function that expects:" + "But (<|) is piping it to a function that expects:" [] ) @@ -1083,7 +1083,7 @@ opRightToDocs localizer category op tipe expected = ( D.reflow $ "This function cannot handle the argument sent through the (|>) pipe:" , typeComparison localizer argType expectedArgType "The argument is:" - "But (|>) is piping it a function that expects:" + "But (|>) is piping it to a function that expects:" [] )