ocaml-base-compiler
Official release 4.14.0
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package ocaml-base-compiler
-
dynlink
-
ocamlbytecomp
-
ocamlcommon
-
ocamlmiddleend
-
ocamloptcomp
-
odoc_info
-
stdlib
-
str
-
unix
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library ocamlcommon
Module
Type_immediacy
module Violation : sig ... end
val coerce : t -> as_:t -> ( unit, Violation.t ) result
coerce t ~as_
returns Ok ()
iff t
can be seen as type immediacy as_
. For instance, Always
can be seen as Always_on_64bits
but the opposite is not true. Return Error _
if the coercion is not possible.
val of_attributes : Parsetree.attributes -> t
Return the immediateness of a type as indicated by the user via attributes
ON THIS PAGE
No table of contents