Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Inheritance-Single/OCaml/inheritance-single-1.ocaml
Normal file
4
Task/Inheritance-Single/OCaml/inheritance-single-1.ocaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class animal =
|
||||
object (self)
|
||||
(*functions go here...*)
|
||||
end
|
||||
5
Task/Inheritance-Single/OCaml/inheritance-single-2.ocaml
Normal file
5
Task/Inheritance-Single/OCaml/inheritance-single-2.ocaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class dog =
|
||||
object (self)
|
||||
inherit animal
|
||||
(*functions go here...*)
|
||||
end
|
||||
5
Task/Inheritance-Single/OCaml/inheritance-single-3.ocaml
Normal file
5
Task/Inheritance-Single/OCaml/inheritance-single-3.ocaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class cat =
|
||||
object (self)
|
||||
inherit animal
|
||||
(*functions go here...*)
|
||||
end
|
||||
5
Task/Inheritance-Single/OCaml/inheritance-single-4.ocaml
Normal file
5
Task/Inheritance-Single/OCaml/inheritance-single-4.ocaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class lab =
|
||||
object (self)
|
||||
inherit dog
|
||||
(*functions go here...*)
|
||||
end
|
||||
5
Task/Inheritance-Single/OCaml/inheritance-single-5.ocaml
Normal file
5
Task/Inheritance-Single/OCaml/inheritance-single-5.ocaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class collie =
|
||||
object (self)
|
||||
inherit dog
|
||||
(*functions go here...*)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue