package rune

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha1.tbz
sha256=8e277ed56615d388bc69c4333e43d1acd112b5f2d5d352e2453aef223ff59867
sha512=369eda6df6b84b08f92c8957954d107058fb8d3d8374082e074b56f3a139351b3ae6e3a99f2d4a4a2930dd950fd609593467e502368a13ad6217b571382da28c

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.