summaryrefslogtreecommitdiff
path: root/tests/lean/Hashmap/FunsExternal.lean
blob: 329e5d82277edd7373807713660611ade48d03a9 (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::utils::deserialize]:
   Source: 'tests/src/hashmap.rs', lines 330:4-330:47 -/
def utils.deserialize
  : State  Result (State × (HashMap U64)) :=
  fun _ => .fail .panic

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