text: __copyright__ = """\
  (c). Copyright 2008-2020, Vyper Logix Corp., All Rights Reserved.
  
  Published under Creative Commons License 
  (http://creativecommons.org/licenses/by-nc/3.0/) 
  restricted to non-commercial educational use only., 
  
  http://www.VyperLogix.com for details
  
  THE AUTHOR VYPER LOGIX CORP DISCLAIMS ALL WARRANTIES WITH REGARD TO
  THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
  INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
  FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
  WITH THE USE OR PERFORMANCE OF THIS SOFTWARE !
  
  USE AT YOUR OWN RISK.
  """
  
  class curried(object):
      """
      Decorator that returns a function that keeps returning functions
      until all arguments are supplied; then the original function is
      evaluated.
      """
  
      def __init__(self, func, *a):
          self.func = func
          self.args = a
      def __call__(self, *a):
          args = self.args + a
          if len(args) < self.func.func_code.co_argcount:
              return curried(self.func, *args)
          else:
              return self.func(*args)
  