You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Projection is a reference to both the deeper level of inference that is involved (projecting what will be needed) and to one of the key uses of the technique (projecting a set of one type into a set of another)
In that it differs greatly from mere implementation, it may require a separate sub-command for write (goast write project)
Consider the following User and Users definitions. It could reasonably be inferred that one might want to project a given Users into []string (slice of names) or []int (slice of ages)
Projection
Projection is a reference to both the deeper level of inference that is involved (projecting what will be needed) and to one of the key uses of the technique (projecting a set of one type into a set of another)
In that it differs greatly from mere implementation, it may require a separate sub-command for write (
goast write project
)Consider the following
User
andUsers
definitions. It could reasonably be inferred that one might want to project a givenUsers
into[]string
(slice of names) or[]int
(slice of ages)With projection the following generic code could be transformed into multiple, distinct operations on
Users
Becomes
The text was updated successfully, but these errors were encountered: