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

union-find fails to compile #6770

Closed
mihaimaruseac opened this issue Nov 19, 2022 · 2 comments
Closed

union-find fails to compile #6770

mihaimaruseac opened this issue Nov 19, 2022 · 2 comments

Comments

@mihaimaruseac
Copy link
Contributor

Preprocessing library for union-find-0.2..                                                                                                                                   
Building library for union-find-0.2..                                                                                                                                        
[4 of 4] Compiling Data.UnionFind.ST                                                                                                                                         
                                                                                                                                                                             
/var/stackage/work/unpack-dir/unpacked/union-find-0.2-82e626d09f57a29271bed56a1572b845497635a929dbaf0a923280339bd91bd7/src/Data/UnionFind/ST.hs:133:5: error:                
    • No instance for (MonadFail (ST s))                                                                                                                                     
        arising from a do statement                                                                                                                                          
        with the failable pattern ‘Info info_ref1’                                                                                                                           
    • In a stmt of a 'do' block: Info info_ref1 <- readSTRef link_ref1                                                                                                       
      In the second argument of ‘($)’, namely                                                                                                                                        ‘do Info info_ref1 <- readSTRef link_ref1                                                                                                                            
            Info info_ref2 <- readSTRef link_ref2                                                                                                                            
            MkInfo w1 d1 <- readSTRef info_ref1                                                                                                                              
            MkInfo w2 d2 <- readSTRef info_ref2                                                                                                                              
            ....’                                                                                                                                                            
      In a stmt of a 'do' block:
        when (point1 /= point2)
          $ do Info info_ref1 <- readSTRef link_ref1
               Info info_ref2 <- readSTRef link_ref2
               MkInfo w1 d1 <- readSTRef info_ref1
               MkInfo w2 d2 <- readSTRef info_ref2
               ....
    |
133 |     Info info_ref1 <- readSTRef link_ref1
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mihaimaruseac added a commit that referenced this issue Nov 19, 2022
Signed-off-by: Mihai Maruseac <mihai.maruseac@gmail.com>
@andreasabel
Copy link
Contributor

Lifted issue to the (likely unresponsive) maintainer:

@alaendle
Copy link
Member

alaendle commented Aug 5, 2023

Closed since no reference to this issue can be found in the buildconstraints file; the issue is reported in the package repository & union-find will get re-enabled by commenter if a compatible release appears on hackage - so really no need to track this issue here on stackage explicitly.

@alaendle alaendle closed this as completed Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants