File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -63,27 +63,24 @@ type mind_key =
63
63
[% import: Environ .mind_key ]
64
64
[@@ deriving sexp ,yojson,hash,compare]
65
65
66
- module Globals = struct
67
-
68
- module PierceSpec = struct
69
- type t = Environ.Globals .t
70
- type _t = [% import: Environ.Globals .view ]
71
- [@@ deriving sexp ,yojson,hash,compare]
72
- end
73
- include SerType. Pierce (PierceSpec )
66
+ module InternalEnv =
67
+ struct
68
+ type _t =
69
+ [% import: Environ.Internal.View .t ]
70
+ [@@ deriving sexp_of ]
71
+
72
+ let of_t = Environ.Internal.View. view
74
73
end
75
74
76
- type env =
77
- [% import: Environ .env ]
78
- [@@ deriving sexp_of ]
75
+ type env = Environ .env
79
76
80
77
let env_of_sexp = Serlib_base. opaque_of_sexp ~typ: " Environ.env"
81
78
82
79
let abstract_env = ref false
83
80
let sexp_of_env env =
84
81
if ! abstract_env
85
82
then Serlib_base. sexp_of_opaque ~typ: " Environ.env" env
86
- else sexp_of_env env
83
+ else InternalEnv. sexp_of__t ( InternalEnv. of_t env)
87
84
88
85
type ('constr, 'term) punsafe_judgment =
89
86
[% import: ('constr , 'term ) Environ .punsafe_judgment ]
You can’t perform that action at this time.
0 commit comments