mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
Rename compileModule to compile.
This commit is contained in:
parent
7da6b959f1
commit
41afbd6a91
@ -1,5 +1,5 @@
|
|||||||
module Language.Python.Core
|
module Language.Python.Core
|
||||||
( compileModule
|
( compile
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Control.Monad.Fail
|
import Control.Monad.Fail
|
||||||
@ -7,6 +7,6 @@ import Data.Core as Core
|
|||||||
import Prelude hiding (fail)
|
import Prelude hiding (fail)
|
||||||
import TreeSitter.Python.AST as Py
|
import TreeSitter.Python.AST as Py
|
||||||
|
|
||||||
compileModule :: MonadFail m => Py.Module -> m Core
|
compile :: MonadFail m => Py.Module -> m Core
|
||||||
compileModule (Module Nothing) = pure Unit
|
compile (Module Nothing) = pure Unit
|
||||||
compileModule (Module (Just _)) = pure Unit
|
compile (Module (Just _)) = pure Unit
|
||||||
|
Loading…
Reference in New Issue
Block a user