Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module type Sequential =
- sig
- type t
- type u
- val get : t -> int -> u
- val set : t -> int -> u -> unit
- end;;
- module ArraySeqFloat : Sequential =
- struct
- type u = float
- type t = u array
- let get = Array.get
- let set = Array.set
- end;;
Add Comment
Please, Sign In to add comment