Every Agda module should have a module header like as follows:
module Modules.Basic where
Note that:
module
and the where
are keywords.module
should correspond to the file name in the file system. In this case the file name is Modules/Basic.agda
(or Modules/Basic.lagda
).c
C-l
.First.agda
(or something similar) in Emacs.An Agda module is a module header and a list of declarations.
In the following slides we will see declarations like