Guest User

Untitled

a guest
Jul 24th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.26 KB | None | 0 0
  1. module type SequentialFloat =
  2.   sig
  3.     type t
  4.     val get : t -> int -> float
  5.     val set : t -> int -> float -> unit
  6.   end;;
  7.  
  8. module ArraySeqFloat : SequentialFloat =
  9.   struct
  10.     type t = float array
  11.     let get = Array.get
  12.     let set = Array.set
  13.   end;;
Add Comment
Please, Sign In to add comment