TypeDefn Module
Common attributes shared by all TypeDefn widgets
Functions and values
| Function or value |
Description
|
|
|
|
Constraints written after the type name (`type 'T Box when 'T: equality = ...`).
|
|
|
|
|
|
|
|
Accessibility of a record's fields or a union's cases (`type R = private { ... }`), as opposed to `Accessibility`, which applies to the type name (`type private R = ...`).
|
|
|
|
|
|
The accessibility set with `toPrivate()`/`toInternal()`/`toPublic()`, printed after `type`.
|
|
|
Full Usage:
representationAccessibility widget
Parameters:
Widget
Returns: SingleTextNode option
|
The accessibility set with `toPrivateRepresentation()` and friends, printed after `=`.
|
Fabulous.AST