5codata Stream' a = Nil | (::) a (Stream' a)
7countFrom : Int -> Stream' Int
8countFrom x = x :: countFrom (x + 1)
10take : Nat -> Stream' a -> List a
12take (S n) (x :: xs) = x :: take n xs
16main = do printLn (take 10 (Main.countFrom 10))
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list