Skip to content

HLearn test on ubuntu Precise x64 within vagrant Box

ghc: panic! (the 'impossible' happened)

(GHC version 7.6.3 for x86_64-unknown-linux):

loadArchive "/home/vagrant/.cabal/lib/x86_64-linux-ghc-7.6.3/HLearn-2.0.0.0/libHSHLearn-2.0.0.0.a": failed

import HLearn.Algebra
import Control.DeepSeq
import HLearn.Models.Distributions
import Statistics.Distribution.Normal

dataset =  [1,2,3,4,5,6]
--dist = train dataset :: Normal Double

data Marble = Red | Green | Blue | White
    deriving (Read,Show,Eq,Ord)

simonBag :: [Marble]
simonBag = [Red, Red, Red, Green, Blue, Green, Red, Blue, Green, Green, Red, Red, Blue, Red, Red, Red, White]
simonDist = train simonBag :: Categorical Double Marble
Trac metadata
Trac field Value
Version 7.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information