added newline to count.out file
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,7 +9,7 @@
|
||||
/home/maxime/source/PolyCubeCounting/haskell/README.md:
|
||||
hash: 7977cc588f7e4331316835e35589dc4ac1b6579bb1ddb004793d0f7ab27f23fe
|
||||
/home/maxime/source/PolyCubeCounting/haskell/app/Main.hs:
|
||||
hash: 11f77f34c57f1636a153c573b6080502104de52eabec0a5726eb59648ca2489a
|
||||
hash: 23954124a055c4257d5b097220fc928a6dd03c6cb7346d29fa42714504a4a570
|
||||
/home/maxime/source/PolyCubeCounting/haskell/package.yaml:
|
||||
hash: eab634f7eb24459df2c4898a07904dbd87c46dae3c8b758755745fac6fbfec48
|
||||
/home/maxime/source/PolyCubeCounting/haskell/pcc-haskell.cabal:
|
||||
|
||||
@@ -15,6 +15,7 @@ main = do
|
||||
let result = evaluateChildren maxSize cube polycubes
|
||||
let counts = foldr (increment . fst) [] result
|
||||
writeFile "count.out" $ show counts
|
||||
appendFile "count.out" "\n"
|
||||
return ()
|
||||
|
||||
increment :: Int -> [Int] -> [Int]
|
||||
|
||||
Reference in New Issue
Block a user