-login:
user: password:
Polski
huginn - programming language with no quirks, so simple every child can master it.
Fork me on GitHub
git clone https://codestation.org/repo/huginn.git
git clone https://github.com/AmokHuginnsson/huginn.git
git clone https://bitbucket.org/huginn/huginn.git
  1. Syntax
  2. Keywords
  3. Types

    Huginn provides several built-in scalar and collection types, as well as user defined compound types.

    integer real string number character boolean list deque dict order lookup set
  4. Built-ins
  5. Core library classes
  6. Packages

The lookup is a collection providing a sorted key to value map. It supports operations of iteration, key-value insertion, key removal and key search.

Methods
  • add( other ) - update content of this lookup with key/value pairs from otherlookup
  • clear() - erase lookup's content, lookup becomes empty
  • ensure( key, default ) - get value for given key from this lookup, if given key is not present in the lookup insert default into this lookup before returning it
  • equals( other ) - test if otherlookup has the same content
  • erase( key ) - remove given key from this lookup
  • get( key, default ) - get value for given key from this lookup, or default if given key is not present in the lookup
  • has_key( key ) - tell if given key can be found in this lookup
  • hash() - calculate hash value for this lookup
  • update( other ) - update content of this lookup with key/value pairs from otherlookup
  • values() - get key-value pairs view of this lookup