Skip to content

Commit

Permalink
Fix leafpetersen#10 - clarify terminology
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Apr 20, 2015
1 parent f9586ef commit d4928b0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
## Contact information

1. **Leaf Petersen**

2. **[email protected]**

3. **[https://github.com/leafpetersen/dep-generic-methods](https://github.com/leafpetersen/dep-generic-methods)**

Other stakeholders:
Expand Down Expand Up @@ -298,7 +296,16 @@ main() {
```

## Proposal
## Terminology

Informally speaking, a Dart `typedef` defines *function type* (e.g., see [[1][], [2][]]), but the technically more precise statement is that a `typedef` defines a _function-type **aliases**_.

In *this* proposal, the terms "function type" and "generic function type" will refer to the **type denotation / semantic type** of a function and generic function, respectively.

[1]: https://www.dartlang.org/docs/dart-up-and-running/ch02.html#typedefs
[2]: https://www.dartlang.org/articles/emulating-functions/#function-types

## Proposal details

The proposal is to add a simple form of generic methods and functions to Dart.
Specifically, it allows top level functions, local function definitions, static
Expand Down

0 comments on commit d4928b0

Please sign in to comment.