package core_kernel
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  - 
        
          API
        
          
          - Library core_kernel
- Library core_kernel.ansi_kernel
- Library core_kernel.balanced_reducer
- Library core_kernel.binary_packing
- Library core_kernel.bounded_int_table
- Library core_kernel.bus
- Library core_kernel.caml_threads
- Library core_kernel.caml_unix
- Library core_kernel.composition_infix
- Library core_kernel.enum
- Library core_kernel.fheap
- Library core_kernel.flags
- Library core_kernel.force_once
- Library core_kernel.hash_heap
- Library core_kernel.int_set
- Library core_kernel.iobuf
- Library core_kernel.limiter
- Library core_kernel.moption
- Library core_kernel.nonempty_list
- Library core_kernel.pairing_heap
- Library core_kernel.pooled_hashtbl
- Library core_kernel.reversed_list
- Library core_kernel.sexp_hidden_in_test
- Library core_kernel.thread_pool_cpu_affinity
- Library core_kernel.thread_safe_queue
- Library core_kernel.timing_wheel
- Library core_kernel.total_map
- Library core_kernel.tuple_pool
- Library core_kernel.univ
- Library core_kernel.unpack_buffer
- Library core_kernel.uopt
- Library core_kernel.uuid
- Library core_kernel.vec
- Library core_kernel.version_util
- Library core_kernel.weak_array
- Library core_kernel.weak_hashtbl
- Library core_kernel.weak_pointer
 
  Industrial strength alternative to OCaml's standard library
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      core_kernel-v0.16.0.tar.gz
    
    
        
    
  
  
  
    
  
        sha256=e37370bad978cfb71fdaf2b1a25ab1506b98ef0b91e0dbd189ffd9d853245ce2
    
    
  doc/index.html
core_kernel
API
Library core_kernel
Library core_kernel.ansi_kernel
- Ansi_kernelCommon ANSI display attribute definitions.
Library core_kernel.balanced_reducer
- Balanced_reducerA- Balanced_reducer.tstores a mutable fixed-length sequence of optional values, and incrementally maintains the result of folding an associative operation (- reduce) over the sequence as its elements change.
Library core_kernel.binary_packing
- Binary_packingPacks and unpacks various types of integers into and from strings.
Library core_kernel.bounded_int_table
- Bounded_int_tableA- Bounded_int_tableis a table whose keys can be mapped to integers in a fixed range, 0 ...- num_keys- 1, where- num_keysis specified at table-creation time. The purpose of- Bounded_int_tableis to be faster than- Hashtblin situations where one is willing to pay a space cost for the speed.
Library core_kernel.bus
- BusA- Busis a publisher/subscriber system within the memory space of the program. A bus has a mutable set of subscribers, which can be modified using- subscribe_exnand- unsubscribe.
Library core_kernel.caml_threads
Library core_kernel.caml_unix
Library core_kernel.composition_infix
- Composition_infixInfix composition operators.
Library core_kernel.enum
Library core_kernel.fheap
- FheapFunctional heaps (implemented as pairing heaps).
Library core_kernel.flags
Library core_kernel.force_once
- Force_onceA "force_once" is a thunk that can only be forced once. Subsequent forces will raise an exception.
Library core_kernel.hash_heap
- Hash_heapA hash-heap is a combination of a heap and a hashtable that supports constant time lookup, and log(n) time removal and replacement of elements in addition to the normal heap operations.
Library core_kernel.int_set
- Int_setAn implementation of compressed integer sets using lists of integer ranges. Operations such as adding and membership are O(n) where n is the number of contiguous ranges in the set. For data that is mostly serial, n should remain very small.
Library core_kernel.iobuf
- IobufA non-moving (in the GC sense) contiguous range of bytes, useful for I/O operations.
Library core_kernel.limiter
- LimiterImplements a token-bucket-based throttling rate limiter. This module is useful for limiting network clients to a sensible query rate, or in any case where you have jobs that consume a scarce but replenishable resource.
Library core_kernel.moption
- MoptionA- Moptionis a mutable option, like- 'a option ref, but with a more efficient implementation; in particular,- set_somedoes not allocate.
Library core_kernel.nonempty_list
Library core_kernel.pairing_heap
- Pairing_heapHeap implementation based on a pairing-heap.
Library core_kernel.pooled_hashtbl
- Pooled_hashtblA polymorphic hashtbl that uses- Poolto avoid allocation.
Library core_kernel.reversed_list
Library core_kernel.sexp_hidden_in_test
Library core_kernel.thread_pool_cpu_affinity
Library core_kernel.thread_safe_queue
- Thread_safe_queueA thread-safe non-blocking queue of unbounded size.
Library core_kernel.timing_wheel
Library core_kernel.total_map
- Total_mapA map that includes an entry for every possible value of the key type.
Library core_kernel.tuple_pool
Library core_kernel.univ
- UnivAn extensible "universal" variant type.
Library core_kernel.unpack_buffer
- Unpack_bufferA buffer for incremental decoding of an input stream.
Library core_kernel.uopt
- Uopt- Uopt.tis an unboxed option: an- option-like type that incurs no allocation, without requiring a reserved value in the underlying type.
Library core_kernel.uuid
- UuidThread-safe generation of random identifiers in the UUID format.
Library core_kernel.vec
Library core_kernel.version_util
- Version_utilThis module gives access to the same version/build information returned by- Command-based executables when called with the- -versionor- -build-infoflags by- $0 version (-build-info | -version)or- $0 (-build-info | -version).
Library core_kernel.weak_array
- Weak_arrayModule for dealing with weak pointers, i.e., pointers that don't prevent garbage collection of what they point to.
Library core_kernel.weak_hashtbl
- Weak_hashtblA hashtable that keeps a weak pointer to each key's data and uses a finalizer to detect when the data is no longer referenced (by any non-weak pointers).
Library core_kernel.weak_pointer
- Weak_pointerA weak pointer is a pointer to a heap block that does not cause the heap block to remain live during garbage collection.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page
  - 
        
          API
        
          
          - Library core_kernel
- Library core_kernel.ansi_kernel
- Library core_kernel.balanced_reducer
- Library core_kernel.binary_packing
- Library core_kernel.bounded_int_table
- Library core_kernel.bus
- Library core_kernel.caml_threads
- Library core_kernel.caml_unix
- Library core_kernel.composition_infix
- Library core_kernel.enum
- Library core_kernel.fheap
- Library core_kernel.flags
- Library core_kernel.force_once
- Library core_kernel.hash_heap
- Library core_kernel.int_set
- Library core_kernel.iobuf
- Library core_kernel.limiter
- Library core_kernel.moption
- Library core_kernel.nonempty_list
- Library core_kernel.pairing_heap
- Library core_kernel.pooled_hashtbl
- Library core_kernel.reversed_list
- Library core_kernel.sexp_hidden_in_test
- Library core_kernel.thread_pool_cpu_affinity
- Library core_kernel.thread_safe_queue
- Library core_kernel.timing_wheel
- Library core_kernel.total_map
- Library core_kernel.tuple_pool
- Library core_kernel.univ
- Library core_kernel.unpack_buffer
- Library core_kernel.uopt
- Library core_kernel.uuid
- Library core_kernel.vec
- Library core_kernel.version_util
- Library core_kernel.weak_array
- Library core_kernel.weak_hashtbl
- Library core_kernel.weak_pointer