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

Export GDataConstructor. #86

Merged
merged 1 commit into from
Jul 28, 2023

Commits on Jul 26, 2023

  1. Export GDataConstructor.

    Why, because it is exposed in the type signature of `mkSumType`. So it
    must be mentioned in the constraints of any polymorphic function that
    does somethnig with `mkSumType`.
    
    Example:
    
    ```Haskell
    makeType :: forall thing. _ => SumType Haskell
    makeType = mkSumType (Proxy @thing)
    ```
    
    Without this patch, there is no way to fill in the blank!
    kindaro committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    bda6488 View commit details
    Browse the repository at this point in the history