Skip to content

Commit

Permalink
cleanup 'deriving's
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmwells-amazon committed Nov 15, 2023
1 parent c121718 commit 9fdba9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions cedar-lean/Cedar/Data/Set.lean
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ namespace Cedar.Data

inductive Set (α : Type u) where
| mk (l : List α)
deriving Repr
deriving instance DecidableEq, Repr, Inhabited, Lean.ToJson for Set
deriving DecidableEq, Repr, Inhabited, Lean.ToJson

namespace Set

Expand Down Expand Up @@ -157,4 +156,4 @@ theorem make_eq_if_eqv [LT α] [DecidableLT α] [StrictLT α] (xs ys : List α)

end Set

end Cedar.Data
end Cedar.Data
4 changes: 1 addition & 3 deletions cedar-lean/Cedar/Spec/Wildcard.lean
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ namespace Cedar.Spec
inductive PatElem where
| star
| justChar (c : Char)
deriving Repr
deriving instance DecidableEq for PatElem
deriving instance Inhabited for PatElem
deriving Repr, DecidableEq, Inhabited

abbrev Pattern := List PatElem

Expand Down

0 comments on commit 9fdba9c

Please sign in to comment.