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
what is meant by the example "taskKey := 42" ? Is taskKey the name of some TaskKey? If so it should be called someTaskKey or aTaskKey. same for settingKey. Otherwise it conflicts in the reader's mind with the creation method taskKey.
The assignment someTaskKey := 42 doesn't work cleanly. You get a warning:
"a pure expression does nothing in statement position; you may be omitting necessary parentheses" this example should work cleanly.
"From a type-system perspective, the Setting created from a task key is slightly different from the one created from a setting key." The notion that a Setting is created from a task key has not been discussed at all. When is the Setting created? Why do setting keys and task keys both create Settings?
The text was updated successfully, but these errors were encountered:
what is meant by the example "taskKey := 42" ? Is taskKey the name of some TaskKey? If so it should be called someTaskKey or aTaskKey. same for settingKey. Otherwise it conflicts in the reader's mind with the creation method taskKey.
The assignment someTaskKey := 42 doesn't work cleanly. You get a warning:
"a pure expression does nothing in statement position; you may be omitting necessary parentheses" this example should work cleanly.
"From a type-system perspective, the Setting created from a task key is slightly different from the one created from a setting key." The notion that a Setting is created from a task key has not been discussed at all. When is the Setting created? Why do setting keys and task keys both create Settings?
The text was updated successfully, but these errors were encountered: