From 6b117f853919aa3c6ffa5773ec117cde8c691667 Mon Sep 17 00:00:00 2001 From: yegor256 Date: Thu, 19 Nov 2020 01:02:45 +0300 Subject: [PATCH] #161: comments --- eo-objects/src/main/eo/org/eolang/Not.eo | 23 ++++++++++++++++++++++- eo-objects/src/main/eo/org/eolang/Sub.eo | 23 ++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/eo-objects/src/main/eo/org/eolang/Not.eo b/eo-objects/src/main/eo/org/eolang/Not.eo index db7627e582..ae0b969cf2 100644 --- a/eo-objects/src/main/eo/org/eolang/Not.eo +++ b/eo-objects/src/main/eo/org/eolang/Not.eo @@ -1,6 +1,27 @@ -# Returns TRUE if argument is FALSE and the other way around +# The MIT License (MIT) +# +# Copyright (c) 2016-2020 Yegor Bugayenko +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +package org.eolang +# Returns TRUE if argument is FALSE and the other way around [x] > not if x false true diff --git a/eo-objects/src/main/eo/org/eolang/Sub.eo b/eo-objects/src/main/eo/org/eolang/Sub.eo index 493f3b8508..4d93262356 100644 --- a/eo-objects/src/main/eo/org/eolang/Sub.eo +++ b/eo-objects/src/main/eo/org/eolang/Sub.eo @@ -1,7 +1,28 @@ -# Calculates algebraic difference between x and y +# The MIT License (MIT) +# +# Copyright (c) 2016-2020 Yegor Bugayenko +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +package org.eolang +# Calculates algebraic difference between x and y [x y] > sub add x