package ocamlify

  1. Overview
  2. Docs
Include files in OCaml code

Install

Dune Dependency

Authors

Maintainers

Sources

ocamlify-0.1.0.tbz
sha256=bb4a468b02d1ff9374791bfe79291d47bd6c9f28920cfc21f09c2ec5b7172060
sha512=21e43dcf5cc7c5909c96c99243d904372c02f62959ea9fe970bc9ad12879bf0ae8c62f6e178fa0c5daf47abe4da238eb9b76c503c941afcc24d5d75dbe009fd6

Description

Published: 27 Feb 2025

README

ocamlify - Include files in OCaml code

Installation

The recommended way to install ocaml-gettext is via the [opam package manager][opam]:

$ opam install ocamlify

Examples

Using the following file test.mlify:

VarString file_ml "file.ml"

It is possible to run ocamlify to automatically embed the file file.ml as a string into another OCaml file.

$ ocamlify test.mlify
let file_ml = [...]

Dependencies (3)

  1. camlp-streams >= "5"
  2. ocaml >= "5"
  3. dune >= "3.17"

Dev Dependencies (1)

  1. odoc with-doc

Used by (2)

  1. biotk < "0.1.0"
  2. oasis

Conflicts

None

OCaml

Innovation. Community. Security.