move solver_types to typesystem/ (because of dependencies. It should be merged with the AST really)
This commit is contained in:
parent
13eae4be18
commit
861ab57a43
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
open Ast_typed.Misc
|
open Ast_typed.Misc
|
||||||
open Ast_typed.Types
|
open Ast_typed.Types
|
||||||
open Solver_types
|
open Typesystem.Solver_types
|
||||||
|
|
||||||
let selector : (type_constraint_simpl, output_break_ctor) selector =
|
let selector : (type_constraint_simpl, output_break_ctor) selector =
|
||||||
(* find two rules with the shape x = k(var …) and x = k'(var' …) *)
|
(* find two rules with the shape x = k(var …) and x = k'(var' …) *)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
module Core = Typesystem.Core
|
module Core = Typesystem.Core
|
||||||
open Ast_typed.Misc
|
open Ast_typed.Misc
|
||||||
open Ast_typed.Types
|
open Ast_typed.Types
|
||||||
open Solver_types
|
open Typesystem.Solver_types
|
||||||
|
|
||||||
let selector : (type_constraint_simpl, output_specialize1) selector =
|
let selector : (type_constraint_simpl, output_specialize1) selector =
|
||||||
(* find two rules with the shape (x = forall b, d) and x = k'(var' …) or vice versa *)
|
(* find two rules with the shape (x = forall b, d) and x = k'(var' …) or vice versa *)
|
||||||
|
@ -2,7 +2,7 @@ module Core = Typesystem.Core
|
|||||||
module Map = RedBlackTrees.PolyMap
|
module Map = RedBlackTrees.PolyMap
|
||||||
open Ast_typed.Misc
|
open Ast_typed.Misc
|
||||||
open Ast_typed.Types
|
open Ast_typed.Types
|
||||||
open Solver_types
|
open Typesystem.Solver_types
|
||||||
|
|
||||||
(* sub-sub component: constraint normalizer: remove dupes and give structure
|
(* sub-sub component: constraint normalizer: remove dupes and give structure
|
||||||
* right now: union-find of unification vars
|
* right now: union-find of unification vars
|
||||||
|
@ -4,7 +4,7 @@ module Map = RedBlackTrees.PolyMap
|
|||||||
module Set = RedBlackTrees.PolySet
|
module Set = RedBlackTrees.PolySet
|
||||||
module UF = UnionFind.Poly2
|
module UF = UnionFind.Poly2
|
||||||
open Ast_typed.Types
|
open Ast_typed.Types
|
||||||
open Solver_types
|
open Typesystem.Solver_types
|
||||||
|
|
||||||
(* sub-sub component: lazy selector (don't re-try all selectors every time)
|
(* sub-sub component: lazy selector (don't re-try all selectors every time)
|
||||||
* For now: just re-try everytime *)
|
* For now: just re-try everytime *)
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
module Core = Core
|
module Core = Core
|
||||||
module Shorthands = Shorthands
|
module Shorthands = Shorthands
|
||||||
module Misc = Misc
|
module Misc = Misc
|
||||||
|
module Solver_types = Solver_types
|
||||||
|
Loading…
Reference in New Issue
Block a user