Skip to content

Commit

Permalink
Merge pull request #2672 from kant2002/patch-7
Browse files Browse the repository at this point in the history
Add clarification
  • Loading branch information
mtzguido authored Aug 9, 2024
2 parents f5bac7a + 3a1df2d commit c3d4954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/book/code/Vec.fst
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ let rec foldr #a #n #acc
f hd (foldr f tl init)
//SNIPPET_END: foldr

//SNIPPET_START: norm_spec
open FStar.Mul

//SNIPPET_START: norm_spec
let rec pow2 (n:nat) : nat =
if n = 0 then 1
else 2 * pow2 (n - 1)
Expand Down

0 comments on commit c3d4954

Please sign in to comment.