Skip to content

Commit

Permalink
hide solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Seasawher committed Mar 18, 2024
1 parent 8bdd948 commit d1714b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/Problem11.lean
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ deriving Repr
open Data

def encodeModified (l : List α) : List (Data α) :=
-- sorry
match l with
| [] => []
| x :: xs =>
Expand All @@ -20,6 +21,7 @@ def encodeModified (l : List α) : List (Data α) :=
multiple as.length x :: encodeModified bs
else
single x :: encodeModified bs
-- sorry

-- Avoid proving that the function terminates as a recursive function.
-- You don't have to fill in the `sorry` here.
Expand Down

0 comments on commit d1714b4

Please sign in to comment.