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 authored and GitHub committed 2021-11-01 10:56:04 -07:00
1 parent 89a829b8c7
commit eeff5dcdae
5 files changed
+7 -7

No files matched your search

@@ -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]));
}