| Format | module(+NAME) | |||
|---|---|---|---|---|
| Arguments |
| |||
| Declare module name.This is used at the top of module. | ||||
:- module("list:reverse"). | ||||
| Format | module_interface |
|---|---|
| Declare the begining of the module interface part. See how to make module. | |
:- module_interface. | |
| Format | module_implementation |
|---|---|
| Declare the begining of the module interface part. See how to make module. | |
:- module_interface. | |
| Format | module_extendable |
|---|---|
| Declare that this module can be defined as a type of a subtype. | |
> :- module_extendable. | |