1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00

Rename compileModule to compile.

This commit is contained in:
Rob Rix 2019-06-11 12:04:12 -04:00
parent 7da6b959f1
commit 41afbd6a91
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -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