package ojs_ed

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Utilities for editor, server side

val string_of_file : string -> string

string_of_file filename returns the content of filename in the form of one string.

  • author Maxence Guesdon
  • version 1.1
  • raises Sys_error

    if the file could not be opened. @cgname File.string_of_file

val file_of_string : file:string -> string -> unit

file_of_string ~file str creates a file named filename whose content is str.

  • author Fabrice Lefessant
  • version 1.1
  • raises Sys_error

    if the file could not be opened. @cgname File.file_of_string

OCaml

Innovation. Community. Security.