summaryrefslogtreecommitdiff
path: root/tests/lean/HashmapMain/FunsExternal.lean
blob: 3689dd45eb7a0a37b1fe0671d9f0d3f4462617a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- [hashmap_main]: templates for the external functions.
import Base
import HashmapMain.Types
open Primitives
open hashmap_main

-- TODO: fill those bodies

/- [hashmap_main::hashmap_utils::deserialize] -/
def hashmap_utils.deserialize_fwd
  : State  Result (State × (hashmap.HashMap U64)) :=
  fun _ => .fail .panic

/- [hashmap_main::hashmap_utils::serialize] -/
def hashmap_utils.serialize_fwd
  : hashmap.HashMap U64  State  Result (State × Unit) :=
  fun _ _ => .fail .panic