...
Tawesoft Logo

Source file src/tawesoft.co.uk/go/operator/doc.go

Documentation: src/tawesoft.co.uk/go/operator/doc.go

     1  // tawoesoft.co.uk/go/operator
     2  // 
     3  // Copyright © 2020 Tawesoft Ltd <open-source@tawesoft.co.uk>
     4  // Copyright © 2020 Ben Golightly <ben@tawesoft.co.uk>
     5  // 
     6  // Permission is hereby granted, free of charge, to any person obtaining a copy
     7  // of this software and associated documentation files (the "Software"), to deal
     8  // in the Software without restriction,  including without limitation the rights
     9  // to use,  copy, modify,  merge,  publish, distribute, sublicense,  and/or sell
    10  // copies  of  the  Software,  and  to  permit persons  to whom  the Software is
    11  // furnished to do so.
    12  // 
    13  // THE SOFTWARE IS PROVIDED  "AS IS",  WITHOUT WARRANTY OF ANY KIND,  EXPRESS OR
    14  // IMPLIED,  INCLUDING  BUT  NOT LIMITED TO THE WARRANTIES  OF  MERCHANTABILITY,
    15  // FITNESS FOR A PARTICULAR PURPOSE  AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    16  // AUTHORS  OR COPYRIGHT HOLDERS  BE LIABLE  FOR ANY  CLAIM,  DAMAGES  OR  OTHER
    17  // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    18  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    19  // SOFTWARE.
    20  
    21  // Package operator implements logical, arithmetic, bitwise and comparison
    22  // operators as functions (like the Python operator module). Includes unary,
    23  // binary, and n-ary functions with overflow checked variants.
    24  // 
    25  // Examples
    26  // 
    27  // Using operators as function arguments
    28  //
    29  // https://www.tawesoft.co.uk/go/doc/operator/examples/simple/
    30  //
    31  // Using operators in lookup tables for a command-line calculator program
    32  //
    33  // https://www.tawesoft.co.uk/go/doc/operator/examples/calculator/
    34  //
    35  //
    36  // FROZEN - PLEASE MIGRATE
    37  //
    38  // These packages are moving to https://github.com/tawesoft/golib.
    39  //
    40  // This is to increase security against possible supply chain attacks such as
    41  // our domain name expiring in the future and being registered by someone else.
    42  //
    43  // Please migrate to https://github.com/tawesoft/golib (when available) instead.
    44  //
    45  // Most programs relying on a package in this monorepo, such as the dialog or
    46  // lxstrconv packages, will continue to work for the foreseeable future.
    47  //
    48  // Rarely used packages have been hidden for now - they are in the git commit
    49  // history at https://github.com/tawesoft/go if you need to resurrect one.
    50  //
    51  //
    52  // Package Information
    53  //
    54  // License: MIT-0 (see LICENSE.txt)
    55  //
    56  // Stable: yes
    57  //
    58  // For more information, documentation, source code, examples, support, links,
    59  // etc. please see https://www.tawesoft.co.uk/go and 
    60  // https://www.tawesoft.co.uk/go/operator
    61  package operator // import "tawesoft.co.uk/go/operator"
    62  
    63  // Code generated by internal. DO NOT EDIT.
    64  // Instead, edit DESC.txt and run mkdocs.sh.

View as plain text