Hi Ketil,
  I never wrote a single line in Haskell and am not familiar with the 
repository, etc. I hope somebody else steps in.
Good luck,
Martin

Ketil Malde wrote:
> 
> Hi,
> 
> Thanks for the heads up.  I do neither much bioinformatics nor Haskell
> these days.  Feel free to fix this and upload a new version to Hackage
> (or elsewhere).
> 
> Cc to the biohaskell list, in case somebody wants to take
> responsibility... 
> 
> -k
> 
> On 2019-02-05 16:45 (+0100), Martin Mokrejs <mmokr...@fold.natur.cuni.cz> 
> wrote:
> 
>> Hi Ketil,
>>   maybe you already fixed this but seems ghc-8.6.3 is quite picky now:
>>
>>
>> [29 of 46] Compiling Bio.GFF3.FeatureHier ( Bio/GFF3/FeatureHier.hs, 
>> dist/build/Bio/GFF3/FeatureHier.o )
>>
>> Bio/GFF3/FeatureHier.hs:54:40: error:
>>     * Data.Map.insertWith' is gone. Use Data.Map.Strict.insertWith.
>>     * In the expression: M.insertWith' (++) pid [k] m0
>>       In an equation for `insertParentToKey':
>>           insertParentToKey k m0 pid = M.insertWith' (++) pid [k] m0
>>       In an equation for `featureEdges':
>>           featureEdges feats
>>             = map featureEdge $ keyedFeats
>>             where
>>                 keyedFeats = zip feats [1 .. ]
>>                 idToChildKeys = foldl' insertParentsToKey M.empty keyedFeats
>>                 insertParentsToKey m0 (f, k)
>>                   = foldl' (insertParentToKey k) m0 $ parentIds f
>>                 insertParentToKey k m0 pid = M.insertWith' (++) pid [k] m0
>>                 ....
>>    |
>> 54 |           insertParentToKey k m0 pid = M.insertWith' (++) pid [k] m0
>>    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> Bio/GFF3/FeatureHier.hs:69:53: error:
>>     * Data.Map.insertWith' is gone. Use Data.Map.Strict.insertWith.
>>     * In the second argument of `($)', namely
>>         `M.insertWith' (++) pid [f] m0'
>>       In the expression: return $ M.insertWith' (++) pid [f] m0
>>       In the expression:
>>         if M.member pid $ idToFeature hier0 then
>>             return $ M.insertWith' (++) pid [f] m0
>>         else
>>             throwError
>>               $ strMsg
>>                   $ "insertFeature: Parent ID " ++ show pid ++ " not present"
>>    |
>> 69 |                                       then return $ M.insertWith' (++) 
>> pid [f] m0
>>    |                                                     
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>>
>>
>> Cheers,
>> Martin
> 

_______________________________________________
Biohaskell mailing list
Biohaskell@biohaskell.org
http://biohaskell.org/cgi-bin/mailman/listinfo/biohaskell

Reply via email to