housekeeping
This commit is contained in:
parent
9e64f44980
commit
56a3398c8f
3 changed files with 5 additions and 2 deletions
|
|
@ -8,7 +8,8 @@ module type DEVICE = sig
|
|||
val deo : Machine.machine -> int -> int -> unit
|
||||
end
|
||||
|
||||
module Compose (D1 : DEVICE) (D2 : DEVICE) : DEVICE = struct
|
||||
module Compose (D1 : DEVICE) (D2 : DEVICE) :
|
||||
DEVICE with type state = D1.state * D2.state = struct
|
||||
type state = D1.state * D2.state
|
||||
|
||||
let state = (D1.state, D2.state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue