Mark fnty as __Fn to reflect experimental state (#928)

The `__Fn` naming is intended to mirror things like `__Continuation`.

The reason for this path is because it's not clear this is the form we'll want, and I think experimental naming will help reflect that.
This commit is contained in:
Jon Meow
2021-11-01 10:56:04 -07:00
committed by GitHub
parent 89a829b8c7
commit eeff5dcdae
5 changed files with 7 additions and 7 deletions
@@ -11,7 +11,7 @@
package ExecutableSemanticsTest api;
fn apply[T:! Type, U:! Type](f: fnty (T) -> U, x: T) -> U {
fn apply[T:! Type, U:! Type](f: __Fn (T) -> U, x: T) -> U {
return f(x);
}
@@ -11,7 +11,7 @@
package ExecutableSemanticsTest api;
fn map[T:! Type](f: fnty (T) -> T, tuple: (T, T)) -> (T, T) {
fn map[T:! Type](f: __Fn (T) -> T, tuple: (T, T)) -> (T, T) {
return (f(tuple[0]), f(tuple[1]));
}