From 41afbd6a91f46f2c364180e16ddf6dda6ea53587 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Tue, 11 Jun 2019 12:04:12 -0400 Subject: [PATCH] Rename compileModule to compile. --- semantic-python/src/Language/Python/Core.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/semantic-python/src/Language/Python/Core.hs b/semantic-python/src/Language/Python/Core.hs index 7abefce5c..9aa523aa1 100644 --- a/semantic-python/src/Language/Python/Core.hs +++ b/semantic-python/src/Language/Python/Core.hs @@ -1,5 +1,5 @@ module Language.Python.Core -( compileModule +( compile ) where import Control.Monad.Fail @@ -7,6 +7,6 @@ import Data.Core as Core import Prelude hiding (fail) import TreeSitter.Python.AST as Py -compileModule :: MonadFail m => Py.Module -> m Core -compileModule (Module Nothing) = pure Unit -compileModule (Module (Just _)) = pure Unit +compile :: MonadFail m => Py.Module -> m Core +compile (Module Nothing) = pure Unit +compile (Module (Just _)) = pure Unit