sjsyrek/lazy-linked-lists

View on GitHub
source/index.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * lazy-linked-lists
 * Lazy and infinite linked lists for JavaScript.
 *
 * source/index.js
 *
 * Top level index.
 */

export {
  LT,
  GT,
  EQ
} from './ord'

export {
  emptyList,
  list,
  listRange,
  listRangeBy,
  listAppend,
  cons,
  head,
  last,
  tail,
  init,
  length,
  isList,
  isEmpty,
  fromArrayToList,
  fromListToArray,
  fromListToString,
  fromStringToList,
  concat,
  index,
  filter,
  map,
  reverse,
  sort,
  sortBy,
  take,
  drop,
  takeWhile,
  dropWhile,
  listInf,
  listInfBy,
  iterate,
  repeat,
  replicate,
  cycle
} from './lib'

export {
  EmptyListError,
  OutOfRangeError
} from './error'