This repository has been archived by the owner on Feb 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into enhancement/forwarding-broadcasting-equiva…
…lence
- Loading branch information
Showing
14 changed files
with
535 additions
and
450 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
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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
(* Title: Chi_Calculus/binder_preservation.ML | ||
Author: Wolfgang Jeltsch, Well-Typed LLP | ||
Further variants of Syntax_Trans.preserve_binder_abs_tr' from Pure/Syntax/syntax_trans.ML. | ||
*) | ||
|
||
(* Constructs like Receive *) | ||
|
||
fun preserve_binder_abs_receive_tr' name syn = (name, fn _ => fn A :: Abs abs :: ts => | ||
let val (x, t) = Syntax_Trans.atomic_abs_tr' abs | ||
in list_comb (Syntax.const syn $ A $ x $ t, ts) end); | ||
|
||
(* Constructs like general_parallel *) | ||
|
||
fun preserve_binder_abs_general_parallel_tr' name syn = (name, fn _ => fn Abs abs :: A :: ts => | ||
let val (x, t) = Syntax_Trans.atomic_abs_tr' abs | ||
in list_comb (Syntax.const syn $ x $ A $ t, ts) end); |
Oops, something went wrong.