File: bracket.test

package info (click to toggle)
hlint 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 980 kB
  • sloc: haskell: 7,035; lisp: 86; makefile: 5
file content (29 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---------------------------------------------------------------------
RUN tests/bracket-slice.hs
FILE tests/bracket-slice.hs

fAnd :: [a -> Bool] -> a -> Bool
fAnd fs x = all ($x) fs

OUTPUT
No hints

---------------------------------------------------------------------
RUN tests/bracket-slice-spaced.hs
FILE tests/bracket-slice-spaced.hs

fAnd :: [a -> Bool] -> a -> Bool
fAnd fs x = all ($ x) fs

OUTPUT
No hints

---------------------------------------------------------------------
RUN tests/bracket-slice-plus.hs
FILE tests/bracket-slice-plus.hs

incAll :: [Int] -> Int -> [Int]
incAll ys x = map (+x) fs

OUTPUT
No hints