package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be

doc/rocq-runtime.clib/CList/Smart/index.html

Module CList.SmartSource

When returning a list of same type as the input, maximally shares the suffix of the output which is physically equal to the corresponding suffix of the input

Sourceval map : ('a -> 'a) -> 'a list -> 'a list

Like List.map but sharing with the input the longest suffix of the output which is physically the same as the input; in particular, Smart.map f l == l (physically) if f a == a (physically) for all members of the list

Sourceval fold_left_map : ('a -> 'b -> 'a * 'b) -> 'a -> 'b list -> 'a * 'b list

Idem for the second argument of List.fold_left_map f e l relatively to the second argument of f

Sourceval fold_right_map : ('b -> 'a -> 'b * 'a) -> 'b list -> 'a -> 'b list * 'a

Idem for the first argument of List.fold_right_map f l e relatively to the second argument of f

OCaml

Innovation. Community. Security.