git.iko.soy/typeable/schematic
on master help sign in
Update README
commitcc9b2980a53bcf90a20c0d561f1eb1a6f0776982 authorDenis Redozubov <denis.redozubov@gmail.com> dateWed 1 Nov 2017, 12:06 (9 years ago) parent620395c
1 file changed+2−2
README.md+2−2
README.md+2−2
@@ -132,8 +132,8 @@ type SchemaExample = 'SchemaObject FieldsSchema
132132
133133There are two ways of working with named fields in the objects:
134134
135−* Using the `fget` and `fset` functions: `fget fooProxy (fput newFooVal objectData) == newFooVal`
136−* Using the lens library: `set (flens (Proxy @"foo")) newFooVal objectData ^. flens (Proxy @"foo") == newFooVal`
135+* Using the `fget` and `fset` functions: `fget @"foo" (fput newFooVal objectData) == newFooVal`
136+* Using the lens library: `set (flens @"foo") newFooVal objectData ^. flens @"foo" == newFooVal`
137137
138138## Migrations
139139