Skip to content

Commit d9a8845

Browse files
committed
wip: constraints
1 parent 3764113 commit d9a8845

File tree

4 files changed

+149
-120
lines changed

4 files changed

+149
-120
lines changed

src/Cornelis/Pretty.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ prettyGoals (GoalSpecific _ scoped ty mhave mboundary mconstraints) =
164164
] <>
165165
[ section "Constraints" (fromMaybe [] mconstraints) pretty
166166
]
167+
--prettyGoals (Constraints mconstraints) = section "Constraints" (fromMaybe [] mconstraints) pretty
167168
prettyGoals (HelperFunction sig) =
168169
section "Helper Function"
169170
[ mempty
@@ -182,6 +183,7 @@ prettyGoals (IntroConstructorUnknown constructors) = vsep
182183
, section "Constructors available" constructors prettyName
183184
]
184185
prettyGoals (UnknownDisplayInfo v) = annotate CornelisError $ pretty $ show v
186+
prettyGoals (Version v) = annotate CornelisError $ pretty $ show v
185187

186188
prettyInterval :: AgdaInterval -> Doc HighlightGroup
187189
prettyInterval (Interval s e)

0 commit comments

Comments
 (0)