on master help sign in
Fix fasta benchmark

It defined it's own scanl, leading to name clash

commitbf0148696326ba88331201a3c1dd0395403a42df authorNiklas Larsson <niklas@mm.st> dateSun 6 Aug 2017, 15:01 (9 years ago) parent7d0263a
1 file changed−4
benchmarks/fasta/fasta.idr−4
benchmarks/fasta/fasta.idr−4
@@ -38,10 +38,6 @@ replicate : Int -> Char -> String
3838replicate 0 c = ""
3939replicate n c = singleton c <+> replicate (n-1) c
4040
41−scanl : (f : acc -> a -> acc) -> acc -> List a -> List acc
42−scanl f q ls = q :: (case ls of
43− [] => []
44− x::xs => scanl f (f q x) xs)
4541
4642accum : (Char,Double) -> (Char,Double) -> (Char,Double)
4743accum (_,p) (c,q) = (c,p+q)