Skip to content

Unlifted API #38

Open
Open
@treeowl

Description

@treeowl

I'm thinking we might want an additional API for unlifted types that aren't viewed as unboxed versions of boxed types. This would have functions like

newMutVar :: forall m (a :: UnliftedType) PrimMonad m => a -> m (MutVar (PrimState m) a)
readMutVar :: forall m (a :: UnliftedType) PrimMonad m => MutVar (PrimState m) a -> m (Box a)
writeMutVar :: forall m (a :: UnliftedType) PrimMonad m => MutVar (PrimState m) a -> a -> m ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions