nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a_star: don't crash on deserialization errors and limit static types
[nit.git]
/
lib
/
for_abuse.nit
diff --git
a/lib/for_abuse.nit
b/lib/for_abuse.nit
index
812fb02
..
f19bd0f
100644
(file)
--- a/
lib/for_abuse.nit
+++ b/
lib/for_abuse.nit
@@
-8,7
+8,7
@@
# You are allowed to redistribute it and sell it, alone or is a part of
# another product.
# You are allowed to redistribute it and sell it, alone or is a part of
# another product.
-# Service management trough the `for` control structure.
+# Service management through the `for` control structure.
#
# The module is a proof-of-concept to investigate the abuse of
# the `for` structure to implement various services.
#
# The module is a proof-of-concept to investigate the abuse of
# the `for` structure to implement various services.
@@
-135,7
+135,7
@@
private class SortAbuserIterator[E]
end
redef class Array[E]
end
redef class Array[E]
- # Sort an array trough a `for` abuse.
+ # Sort an array through a `for` abuse.
# The user uses the provided query (item) to implements its own comparison
#
# var a = [1, 3, 2]
# The user uses the provided query (item) to implements its own comparison
#
# var a = [1, 3, 2]
@@
-151,7
+151,7
@@
end
####
####
-# Open and read a file trough a `for` abuse.
+# Open and read a file through a `for` abuse.
# The abuse just ensures that the file is closed after the reading.
#
# for f in file_open("/etc/issue") do
# The abuse just ensures that the file is closed after the reading.
#
# for f in file_open("/etc/issue") do