feat: Ability to specify integer definitions
This commit is contained in:
parent
4bd766027f
commit
76970d7f9a
11 changed files with 143 additions and 11 deletions
13
src/Language/Scalie/Ast/Module.hs
Normal file
13
src/Language/Scalie/Ast/Module.hs
Normal file
|
@ -0,0 +1,13 @@
|
|||
{-# LANGUAGE Safe #-}
|
||||
{-# LANGUAGE StandaloneKindSignatures #-}
|
||||
module Language.Scalie.Ast.Module (Module(..)) where
|
||||
|
||||
import Data.Kind (Type)
|
||||
import Language.Scalie.Ast.Definition (Definition)
|
||||
import Data.Map.Implicit (ImplicitMap)
|
||||
|
||||
type Module :: (Type -> Type) -> Type
|
||||
type role Module nominal
|
||||
data Module f = Module
|
||||
{ definitions :: ImplicitMap (Definition f)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue