PropList.FieldThis module defines a field that hold a value. A field can be set and retrieve. It is stored in Data.t.
val create :
?schema:('a, 'b) Schema.t ->
?name:name ->
?parse:(?context:'a -> string -> 'c) ->
?print:('c -> string) ->
?default:'c ->
?update:(?context:'a -> 'c -> 'c -> 'c) ->
?help:(unit -> string) ->
'b ->
('a, 'c, 'b) tCreate a field, and optionally attached it to a schema.
Same as Field.fset but parses a string to get the value.
Same as Field.fget but applies a printer to the value returned.