1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00

Import Cofree.

This commit is contained in:
Rob Rix 2015-11-17 14:07:36 -08:00
parent 87269517dd
commit 6652ef6b3f

View File

@ -7,9 +7,7 @@ import Data.Maybe
import Data.Map
import Control.Monad.Free
import Data.Fix
data Cofree f a = Unroll a (f (Cofree f a))
deriving Functor
import Control.Comonad.Cofree
data Range = Range { start :: Int, end :: Int }