diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2017-10-31 15:59:38 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2017-10-31 16:02:42 +0100 |
commit | d8ed0babfa1c03c8f1968443a465972bb3bf460c (patch) | |
tree | 60f788e3e8733a6d3606e801bc21a24e419e070e /sheet.ml | |
parent | 01d7f77f65c3a2b83978b1f00c87b54f00647816 (diff) |
Merged Evaluator types with ScTypes
Diffstat (limited to 'sheet.ml')
-rwxr-xr-x | sheet.ml | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -50,13 +50,8 @@ module Raw = struct *)
let get_ref from t ref : ScTypes.result option ScTypes.Refs.range = begin
- let extract_values = begin function
- | ScTypes.Error e -> raise e
- | v -> v
- end in
-
ScTypes.Refs.collect ref
- |> ScTypes.Refs.map (fun coord -> Option.map extract_values (get_value coord t))
+ |> ScTypes.Refs.map (fun coord -> get_value coord t)
end
|