Idris2/tests/node/perf001/Span.idr

10 lines
177 B
Idris
Raw Normal View History

||| Tests that no duplication occurs in recursive calls
||| as fixed in #1494
import Data.List
ints : List Int
ints = [1..100]
main : IO ()
main = printLn $ span (80 >=) ints