nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gitlab-ci: add mongo as service
[nit.git]
/
examples
/
circular_list.nit
diff --git
a/examples/circular_list.nit
b/examples/circular_list.nit
index
dd4e54d
..
41d2e05
100644
(file)
--- a/
examples/circular_list.nit
+++ b/
examples/circular_list.nit
@@
-12,9
+12,9
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-# Implementation of circular lists
+# Example of an implementation of circular lists
# This example shows the usage of generics and somewhat a specialisation of collections.
# This example shows the usage of generics and somewhat a specialisation of collections.
-module circular_list
+module circular_list is example
# Sequences of elements implemented with a double-linked circular list
class CircularList[E]
# Sequences of elements implemented with a double-linked circular list
class CircularList[E]