Skip to content

Commit 79d87be

Browse files
authored
flambda-backend: Update doc around float# array (#2748)
1 parent f0697f9 commit 79d87be

File tree

1 file changed

+4
-3
lines changed
  • jane/doc/extensions/unboxed-types

1 file changed

+4
-3
lines changed

jane/doc/extensions/unboxed-types/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,10 @@ modules in the `janestreet_shims` library.)
144144
actually have layout `float64`). No exceptions. This does *not* work for inline or
145145
`[@@unboxed]` records.
146146

147-
* Existing types all expect `value` arguments. Thus for basically any `t`, you cannot
148-
write `float# t` or `int64# t`.
149-
This includes obvious candidates like `float# array` or `float# option`.
147+
* With a few specific exceptions (documented below), existing types all expect
148+
`value` arguments. Thus for basically any `t`, you cannot write `float# t` or
149+
`int64# t`. This includes obvious candidates like `float#
150+
option`.
150151

151152
* Existing ppxs expect to work with `value` types. Accordingly, using `deriving` with
152153
types that involve unboxed numbers will lead to inscrutable type errors, and other ppxs

0 commit comments

Comments
 (0)