mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
Define a Command type.
This commit is contained in:
parent
aa45751caf
commit
cd8e082e6c
@ -1,6 +1,15 @@
|
||||
{-# LANGUAGE GADTs #-}
|
||||
module Command
|
||||
( module C
|
||||
) where
|
||||
|
||||
import Command.Diff as C
|
||||
import Command.Parse as C
|
||||
import Control.Monad.Free.Freer
|
||||
import Prologue
|
||||
import Source
|
||||
|
||||
data CommandF f where
|
||||
ReadFile :: FilePath -> CommandF SourceBlob
|
||||
|
||||
type Command = Freer CommandF
|
||||
|
Loading…
Reference in New Issue
Block a user