-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 deque is a collection type that is used to represent and operate on deque of values. It supports basic subscript and range operators. It also supports efficient operations of addition and removal of its elements at its both ends.

Methods
  • add( other ) - append all elements from other collection at the end of deque
  • append( other ) - append all elements from other collection at the end of deque
  • clear() - erase deque's content, deque becomes empty
  • equals( other ) - test if otherdeque has the same content
  • find( elem[, start[, stop]] ) - get index of first element of the deque not before start and before stop, return -1 if not found
  • hash() - calculate hash value for deque
  • insert( index, elem ) - insert given element at given index
  • less( other ) - test if deque comes lexicographically before otherdeque
  • pop() - remove last element from the deque, deque shrinks by 1
  • pop_front() - remove first element from the deque, deque shrinks by 1
  • prepend( other ) - prepend all elements from other collection in front of deque
  • push( elem ) - add new elem at the (right/back) end of the deque, deque grows in size by 1
  • push_front( elem ) - add new elem at the (left/front) beginning of the deque, deque grows in size by 1