-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jack Feser
committed
Feb 1, 2019
1 parent
eb7288d
commit 6c0fab1
Showing
12 changed files
with
272 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
open Core | ||
|
||
open Collections | ||
|
||
type t = Expr.t * Expr.t | ||
|
||
include Sexpable.S with type t := t | ||
|
||
val compare : t -> t -> int | ||
|
||
val of_string_exn : string -> t | ||
|
||
val of_string : string -> t Or_error.t | ||
|
||
val to_string : t -> string | ||
|
||
val to_triple : t -> Ast.id * Ast.expr list * Expr.t | ||
|
||
val name : t list -> Ast.id | ||
|
||
val split : t list -> (string * t list) list | ||
|
||
val signature : ?ctx:Infer.Type.t Ctx.t -> t list -> Infer.Type.t | ||
|
||
val to_vctx : t -> string list -> Expr.t Ctx.t | ||
|
||
val check : (t * Expr.t Ctx.t) list -> bool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
open Core | ||
|
||
open Synthesis_common | ||
open Collections | ||
|
||
type example = ExprValue.t list * ExprValue.t [@@deriving sexp] | ||
|
||
val examples_of_file : string -> example list | ||
|
||
val examples_of_channel : In_channel.t -> example list | ||
|
||
val timer : Timer.t | ||
|
||
val push_specs : Deduction.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.