Skip to content
Snippets Groups Projects
Commit bdc04dc4 authored by David Bühler's avatar David Bühler
Browse files

[Eva] Results: simplifies [as_cvalue_model].

parent 8ca7c3bc
No related branches found
No related tags found
No related merge requests found
......@@ -308,14 +308,11 @@ struct
convert r
let as_cvalue_model req =
match A.Dom.get Cvalue_domain.State.key with
match A.Dom.get_cvalue with
| None ->
Result.error DisabledDomain
| Some extract ->
let extract' state =
fst (extract state)
in
convert (Response.map_join extract' Cvalue.Model.join (get req))
convert (Response.map_join extract Cvalue.Model.join (get req))
(* Evaluation *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment