package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Feb 19, 2018
License: MPL-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
Package data defines custom data types for parsing.
IntMap is an immutable int-int map
EmptyIntMap returns with an empty int map
NewIntMap creates a new IntMap instance
Each runs the given function on all elements of the map
Filter creates a new int map including only the keys present in the given integer set
Get returns with the value for the given key
Inc increments the value in the integer map. If it doesn't exist it will be inserted
Keys returns with the map keys
IntSet is a sorted immutable integer set
EmptyIntSet returns with the empty int set
NewIntSet creates a new integer set
Each runs the given function on all elements of the set
Insert adds a new item to the set
Len returns with the length of the set
Union returns with the union of the two set
Source Files
¶
Click to show internal directories.
Click to hide internal directories.