[12:41] yh@sri: ~/infra-src/Luck/luck(:c64d06e|…)$ stack build && stack runghc examples-template/combination.hs
There were multiple candidates for the Cabal entry "Outer.Parser" (/home/yh/infra-src/Luck/luck/src/Outer/Parser.y), picking /home/yh/infra-src/Luck/luck/src/Outer/Parser.hs
Just [1,0,0,0,0,0,0,0,0,0,1,1,0]
Just [1,0,0,0,0,0,0,0,1,1,0,0,0]
Just [0,0,1,0,0,1,0,0,0,1,0,0,0]
Just [0,0,0,0,1,0,1,1,0,0,0,0,0]
Just [1,0,0,0,0,0,0,0,0,0,1,1,0]
Just [0,0,1,1,0,0,0,0,0,0,0,0,1]
Just [0,0,0,0,0,1,0,1,1,0,0,0,0]
Just [0,0,0,0,0,1,1,0,0,0,0,1,0]
Just [0,0,1,0,0,0,0,0,0,0,0,1,1]
Just [0,1,0,0,1,0,0,0,0,1,0,0,0]
Just [1,0,0,0,0,0,1,0,0,1,0,0,0]
[12:44] yh@sri: ~/infra-src/Luck/luck(master|…)$ git show | head -n 1
commit 84d8bd30901b81ba57a3ec0696cd17e5b7d83e68
[12:45] yh@sri: ~/infra-src/Luck/luck(master|…)$ stack build && stack runghc examples-template/combination.hs
There were multiple candidates for the Cabal entry "Outer.Parser" (/home/yh/infra-src/Luck/luck/src/Outer/Parser.y), picking /home/yh/infra-src/Luck/luck/src/Outer/Parser.hs
examples-template/combination.hs:6:9: error:
• Couldn't match type ‘Data.ByteString.Internal.ByteString’
with ‘[Outer.AST.Decl]’
Expected type: Outer.AST.Prg
Actual type: Data.ByteString.Internal.ByteString
• In the second argument of ‘Luck.Main.parse’, namely
‘Data.ByteString.Char8.pack
I used GHC 8.0.1 for both experiments.
$ stack ghc -- --version
The Glorious Glasgow Haskell Compilation System, version 8.0.1