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

SafeHaskell? #9

Open
Abhiroop opened this issue Jan 14, 2023 · 0 comments
Open

SafeHaskell? #9

Abhiroop opened this issue Jan 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Abhiroop
Copy link
Owner

An experiment could be done by adding the {-# LANGUAGE Safe #-} pragma to the Server.hs file and then seeing how the compilation works. It should not hinder the usage of type-unsafe features in the main application. To retrofit Server.hs some of the functor, applicative instances need to be hand derived, which is not a huge problem. The goal is to constrain what kind of code can be written in the Server monad.

@Abhiroop Abhiroop added the enhancement New feature or request label Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant