mirror of
https://github.com/anoma/juvix.git
synced 2024-07-14 19:30:34 +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
|
instance HasExpressions InductiveParameter where
|
||||||
directExpressions _ = pure
|
directExpressions f InductiveParameter {..} = do
|
||||||
|
ty' <- directExpressions f _inductiveParamType
|
||||||
-- do
|
pure
|
||||||
-- ty' <- directExpressions f _inductiveParamType
|
InductiveParameter
|
||||||
-- pure
|
{ _inductiveParamType = ty',
|
||||||
-- InductiveParameter
|
_inductiveParamName
|
||||||
-- { _inductiveParamType = ty',
|
}
|
||||||
-- _inductiveParamName
|
|
||||||
-- }
|
|
||||||
|
|
||||||
instance HasExpressions InductiveDef where
|
instance HasExpressions InductiveDef where
|
||||||
directExpressions f InductiveDef {..} = do
|
directExpressions f InductiveDef {..} = do
|
||||||
|
Loading…
Reference in New Issue
Block a user