1
1
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:
Rob Rix 2017-03-31 12:58:17 -04:00
parent aa45751caf
commit cd8e082e6c

View File

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