on master help sign in
Update README
cc9b298Denis Redozubov
README.md+2−2
@@ -132,8 +132,8 @@ type SchemaExample = 'SchemaObject FieldsSchema
132
132
133There are two ways of working with named fields in the objects:
133There are two ways of working with named fields in the objects:
134
134
135−* Using the `fget` and `fset` functions: `fget fooProxy (fput newFooVal objectData) == newFooVal`
135+* Using the `fget` and `fset` functions: `fget @"foo" (fput newFooVal objectData) == newFooVal`
136−* Using the lens library: `set (flens (Proxy @"foo")) newFooVal objectData ^. flens (Proxy @"foo") == newFooVal`
136+* Using the lens library: `set (flens @"foo") newFooVal objectData ^. flens @"foo" == newFooVal`
137
137
138## Migrations
138## Migrations
139
139