<commit_before>-----------------------------------------------------------------------------
-- |
-- Module      : Data.Array.Parallel.Unlifted.Segmented
-- Copyright   : (c) [2001..2002] <NAME> & <NAME>
--		 (c) 2006         <NAME> & <NAME>
-- License     : see libraries/base/LICENSE
-- 
-- Maintainer  : <NAME> <<EMAIL>>
-- Stability   : internal
-- Portability : portable
--
-- Description ---------------------------------------------------------------
--
-- Interface to operations on segmented unlifted arrays.
--
-- Todo ----------------------------------------------------------------------
--

module Data.Array.Parallel.Unlifted.Segmented (

  -- * Array types
  USegd, SUArr,

  -- * Streaming
  streamSU, unstreamSU,

  -- * Segmentation
  concatSU, flattenSU, (>:), segmentU,

  -- * Basic operations
  lengthSU, replicateSU, sliceIndexSU, extractIndexSU,

  -- * Subarrays
  sliceSU, extractSU,

  -- * Permutations
  bpermuteSU,

  -- * Higher-order operations
  {-concatMapU,-}
  foldlSU, foldSU,
  {-fold1SU,-}
  {-scanSU, scan1SU,-}

  -- * Logical operations
  andSU, orSU,

  -- * Arithmetic operations
  sumSU, productSU, maximumSU, minimumSU,

  -- * Enumerations
  enumFromToSU, enumFromThenToSU,

  -- * Conversions to/from lists
  toSU, fromSU,
) where

import Data.Array.Parallel.Unlifted.Segmented.SUArr
import Data.Array.Parallel.Unlifted.Segmented.Stream
import Data.Array.Parallel.Unlifted.Segmented.Basics
import Data.Array.Parallel.Unlifted.Segmented.Subarrays
import Data.Array.Parallel.Unlifted.Segmented.Combinators
import Data.Array.Parallel.Unlifted.Segmented.Sums
import Data.Array.Parallel.Unlifted.Segmented.Permute
import Data.Array.Parallel.Unlifted.Segmented.Text ()
<commit_msg>Add exports<commit_after>-----------------------------------------------------------------------------
-- |
-- Module      : Data.Array.Parallel.Unlifted.Segmented
-- Copyright   : (c) [2001..2002] <NAME> & <NAME>
--		 (c) 2006         <NAME> & <NAME>
-- License     : see libraries/base/LICENSE
-- 
-- Maintainer  : <NAME> <<EMAIL>>
-- Stability   : internal
-- Portability : portable
--
-- Description ---------------------------------------------------------------
--
-- Interface to operations on segmented unlifted arrays.
--
-- Todo ----------------------------------------------------------------------
--

module Data.Array.Parallel.Unlifted.Segmented (

  -- * Array types
  SUArr,

  -- * Streaming
  streamSU, unstreamSU,

  -- * Segmentation
  concatSU, flattenSU, (>:), segmentU,

  -- * Basic operations
  lengthSU, replicateSU, sliceIndexSU, extractIndexSU,

  -- * Subarrays
  sliceSU, extractSU,

  -- * Permutations
  bpermuteSU,

  -- * Higher-order operations
  {-concatMapU,-}
  foldlSU, foldSU,
  {-fold1SU,-}
  {-scanSU, scan1SU,-}

  -- * Logical operations
  andSU, orSU,

  -- * Arithmetic operations
  sumSU, productSU, maximumSU, minimumSU,

  -- * Enumerations
  enumFromToSU, enumFromThenToSU,

  -- * Conversions to/from lists
  toSU, fromSU,

  -- * Segment descriptors
  USegd, MUSegd,

  -- * Operations on segment descriptors
  lengthUSegd, lengthsUSegd, indicesUSegd,
  lengthsToUSegd, toUSegd, fromUSegd
) where

import Data.Array.Parallel.Unlifted.Segmented.SUArr
import Data.Array.Parallel.Unlifted.Segmented.Stream
import Data.Array.Parallel.Unlifted.Segmented.Basics
import Data.Array.Parallel.Unlifted.Segmented.Subarrays
import Data.Array.Parallel.Unlifted.Segmented.Combinators
import Data.Array.Parallel.Unlifted.Segmented.Sums
import Data.Array.Parallel.Unlifted.Segmented.Permute
import Data.Array.Parallel.Unlifted.Segmented.Text ()

{'fraction_non_alphanumeric': 0.232519422863485, 'fraction_numerical': 0.00776914539400666, 'mean_word_length': 2.099742046431642, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2753239', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1093, 'n_words': 210}