Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation and QSM tests for HasBufFS #48

Merged
merged 3 commits into from
May 1, 2024

Conversation

jorisdral
Copy link
Collaborator

Follow-up to #46

@jorisdral jorisdral self-assigned this Mar 8, 2024
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite-sim branch from 390784d to a0de512 Compare March 12, 2024 15:33
@jorisdral jorisdral changed the base branch from jdral/preadbuf-preadwrite to jdral/hTell March 12, 2024 23:28
@jorisdral jorisdral changed the base branch from jdral/hTell to jdral/preadbuf-preadwrite March 12, 2024 23:28
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite-sim branch 6 times, most recently from d131d7f to d967fcc Compare March 13, 2024 01:48
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite branch 2 times, most recently from e7608fd to 3cab82e Compare March 13, 2024 15:45
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite-sim branch from d967fcc to 3ebe6b8 Compare March 13, 2024 15:45
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite branch 2 times, most recently from 335c12a to 44675ec Compare March 13, 2024 16:29
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite-sim branch from 3ebe6b8 to 32c0909 Compare March 13, 2024 16:30
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite branch from 44675ec to 752bb64 Compare March 14, 2024 13:18
Base automatically changed from jdral/preadbuf-preadwrite to main March 14, 2024 14:41
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite-sim branch 6 times, most recently from 1ac5c8c to 3d7ffb4 Compare April 23, 2024 12:56
@jorisdral jorisdral marked this pull request as ready for review April 23, 2024 14:20
@jorisdral jorisdral requested a review from a team as a code owner April 23, 2024 14:20
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite-sim branch 2 times, most recently from ea5c1ae to 62d22c9 Compare April 23, 2024 15:41
fs-sim/test/Test/System/FS/StateMachine.hs Outdated Show resolved Hide resolved
fs-sim/test/Test/System/FS/StateMachine.hs Show resolved Hide resolved
fs-sim/src/System/FS/Sim/MockFS.hs Show resolved Hide resolved
The function is now no longer constrained to `PrimBase m`, but any `m` for which
`PrimState m ~ PrimState IO`.
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite-sim branch from 62d22c9 to 7da720b Compare May 1, 2024 09:04
The simulated version of `HasBufFS` is not yet exposed yet from the public API.
This will happen in a later PR.
@jorisdral jorisdral force-pushed the jdral/preadbuf-preadwrite-sim branch from 7da720b to 5997881 Compare May 1, 2024 09:09
{-# LANGUAGE UnboxedTuples #-}
{-# LANGUAGE UndecidableInstances #-}

module System.FS.Sim.Prim (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just wondering if this module deserves an explanation 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll include it in a follow-up!

Copy link
Contributor

@dnadales dnadales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jorisdral jorisdral enabled auto-merge May 1, 2024 09:31
@jorisdral jorisdral added this pull request to the merge queue May 1, 2024
Merged via the queue into main with commit 987ce4e May 1, 2024
18 checks passed
@jorisdral jorisdral deleted the jdral/preadbuf-preadwrite-sim branch May 1, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants