summaryrefslogtreecommitdiff
path: root/tests/lean/Hashmap/FunsExternal.lean
blob: 7454696b9332c33897d4fbb2f423d68c720c0d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- [hashmap]: external functions.
import Base
import Hashmap.Types
open Primitives
open hashmap

-- TODO: fill those bodies

/- [hashmap::hashmap_utils::deserialize]:
   Source: 'tests/src/hashmap.rs', lines 330:4-330:47 -/
def hashmap_utils.deserialize
  : State  Result (State × (HashMap U64)) :=
  fun _ => .fail .panic

/- [hashmap::hashmap_utils::serialize]:
   Source: 'tests/src/hashmap.rs', lines 325:4-325:46 -/
def hashmap_utils.serialize
  : HashMap U64  State  Result (State × Unit) :=
  fun _ _ => .fail .panic