-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In order to isolate the OutsideIn
part constraint solving from the type-class resolution. Let's start with doing linear implicit arguments.
The steps to try and reach, in order, or how complex we expect them to be are:
- A function of a linear implicit argument, uses it twice (like return
(?x, ?x)
). Throws a type error. - A function of a linear implicit argument, passes it twice (implicitly) to linear implict argument functions. Throws a type error.
- A function, returns a linear implicit argument (via a data constructor). Doesn't use. Throws a type error.
- A function, returns a linear implicit argument. Passes it (implicitly) to a linear implicit argument function. Typeckecks.
Metadata
Metadata
Assignees
Labels
No labels