File: misc.mli

package info (click to toggle)
misery 0.2-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 380 kB
  • ctags: 298
  • sloc: ml: 1,295; xml: 180; makefile: 94
file content (13 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
(* Miscellaneous functions. *)

val get_root_directory : unit -> string
val open_config_file : string -> in_channel
val open_config_file_fail_ok : string -> in_channel
val iter_files : string -> (string -> in_channel -> unit) -> unit

val format_money : int -> string
val round : float -> float

val verbose : string -> unit
val fail : string -> 'a