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

Re-organize with internal libraries to hide safe/unsafe internals. #81

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kquick
Copy link
Member

@kquick kquick commented Jul 20, 2020

This hides the Safe/Unsafe implementations of Context which prevents a
client from improperly using the wrong one.

This also allows client code and tests to be written in a fully
generic manner.

The internal movement/splitting of files is somewhat unfortunate, but
Cabal will look for a local file to supply an import statement before
checking libraries, so the files had to be segregated physically as
well as by internal library build.

This hides the Safe/Unsafe implementations of Context which prevents a
client from improperly using the wrong one.

This also allows client code and tests to be written in a fully
generic manner.

The internal movement/splitting of files is somewhat unfortunate, but
Cabal will look for a local file to supply an import statement before
checking libraries, so the files had to be segregated physically as
well as by internal library build.
@kquick kquick marked this pull request as draft March 16, 2021 21:00
@langston-barrett
Copy link
Contributor

@kquick What's the status of this PR?

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.

2 participants