package rune

  1. Overview
  2. Docs
Automatic differentiation and JIT compilation for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha2.tbz
sha256=93abc49d075a1754442ccf495645bc4fdc83e4c66391ec8aca8fa15d2b4f44d2
sha512=5eb958c51f30ae46abded4c96f48d1825f79c7ce03f975f9a6237cdfed0d62c0b4a0774296694def391573d849d1f869919c49008acffca95946b818ad325f6f

doc/rune.llvm/Llvm/MemoryBuffer/index.html

Module Llvm.MemoryBufferSource

Sourceval of_file : string -> llmemorybuffer

of_file p is the memory buffer containing the contents of the file at path p. If the file could not be read, then IoError msg is raised.

Sourceval of_stdin : unit -> llmemorybuffer

of_stdin () is the memory buffer containing the contents of standard input. If standard input is empty, then IoError msg is raised.

Sourceval of_string : ?name:string -> string -> llmemorybuffer

of_string ~name s is the memory buffer containing the contents of string s. The name of memory buffer is set to name if it is provided.

Sourceval as_string : llmemorybuffer -> string

as_string mb is the string containing the contents of memory buffer mb.

Sourceval dispose : llmemorybuffer -> unit

Disposes of a memory buffer.