on da36a01 help sign in
28 lines 745 B history raw
1-- |
2-- Module : Streamly.Data.Unbox
3-- Copyright : (c) 2022 Composewell Technologies
4--
5-- License : BSD3
6-- Maintainer : streamly@composewell.com
7-- Stability : released
8-- Portability : GHC
9--
10-- This module provides the 'Unbox' type class for converting Haskell values to
11-- unboxed representation in a 'MutableByteArray' and boxing values from
12-- 'MutableByteArray' to create Haskell representation.
13--
15module Streamly.Data.Unbox
16 (
17 Unbox(..)
18 , MutableByteArray(..)
19 )
20where
22import Streamly.Internal.Data.Unboxed (Unbox(..), MutableByteArray(..))
24-- $setup
25-- >>> :m
26-- >>> :set -XFlexibleContexts
27-- >>> :set -package streamly
28-- >>> import Streamly.Internal.Data.Unboxed (Unbox(..), MutableByteArray(..))