aboutsummaryrefslogtreecommitdiff
path: root/frontend/type.dcl
blob: d0f9bcb91b4bcebfc55387fbd0fa2eee5054ba7c (plain) (blame)
1
2
3
4
5
6
7
8
9
definition module type

import StdArray
import syntax, check

// MW0 typeProgram ::!{! Group} !*{# FunDef} !IndexRange !CommonDefs ![Declaration] !{# DclModule} !*Heaps !*PredefinedSymbols !*File
typeProgram :: !ModuleKind !{! Group} !*{# FunDef} !IndexRange !CommonDefs ![Declaration] !{# DclModule} !*Heaps !*PredefinedSymbols !*File
	-> (!Bool, !*{# FunDef}, !IndexRange, {! GlobalTCType}, !{# CommonDefs}, !{# {# FunType} }, !*Heaps, !*PredefinedSymbols, !*File)