You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: