diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-19 08:47:29 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-19 08:47:29 +0100 |
| commit | a9628fda0fc027c54b5ed5313a0c41731d79e41f (patch) | |
| tree | 9240bc709d0f93336b20fb3d6b3b6cb2e8a35423 /lib/model/field.ml | |
| parent | 36e895119c80d52e0d3a3695a3cf3d93e41bcd3e (diff) | |
Create all the datatypes in a single time.
Use aliases for the type name for clarification
Diffstat (limited to 'lib/model/field.ml')
| -rw-r--r-- | lib/model/field.ml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/model/field.ml b/lib/model/field.ml index c7e4667..8242c97 100644 --- a/lib/model/field.ml +++ b/lib/model/field.ml @@ -47,9 +47,3 @@ let create : validation; criteria; } - -let map : ('a -> 'b) -> 'a t -> 'b t = - fun f t -> - let (T field_type) = t.type' in - let new_type = T (Typ.map f field_type) in - { t with type' = new_type } |
