mirror of
https://github.com/anoma/juvix.git
synced 2024-07-07 04:36:19 +03:00
recursi InductiveParameter
This commit is contained in:
parent
19ad4e9730
commit
2006557ac8
|
@ -272,15 +272,13 @@ instance HasExpressions AxiomDef where
|
|||
}
|
||||
|
||||
instance HasExpressions InductiveParameter where
|
||||
directExpressions _ = pure
|
||||
|
||||
-- do
|
||||
-- ty' <- directExpressions f _inductiveParamType
|
||||
-- pure
|
||||
-- InductiveParameter
|
||||
-- { _inductiveParamType = ty',
|
||||
-- _inductiveParamName
|
||||
-- }
|
||||
directExpressions f InductiveParameter {..} = do
|
||||
ty' <- directExpressions f _inductiveParamType
|
||||
pure
|
||||
InductiveParameter
|
||||
{ _inductiveParamType = ty',
|
||||
_inductiveParamName
|
||||
}
|
||||
|
||||
instance HasExpressions InductiveDef where
|
||||
directExpressions f InductiveDef {..} = do
|
||||
|
|
Loading…
Reference in New Issue
Block a user