Separate Node-related stuff from Api module

This commit is contained in:
Joscha 2020-02-08 23:26:21 +00:00
parent 72e66a55f6
commit ff2dc3e783
8 changed files with 52 additions and 56 deletions

View file

@ -3,9 +3,9 @@ module Forest.TreeModule
, ModuleConstructor
) where
import qualified Data.Text as T
import qualified Data.Text as T
import Forest.Api
import Forest.Node
class TreeModule a where
edit :: a -> Path -> T.Text -> IO ()