11quux = "\x0a\x80\xC9\xFF\n3\n4"
13appMany : Nat -> String
15appMany (S k) = bar ++ appMany k
20 putStrLn (reverse (foo ++ bar))
23 printLn (strCons '\x141' "")
24 printLn (singleton (chr 0x141))
26 let newstr = appMany (toNat x)
28 printLn (strHead newstr)
29 printLn (length newstr)
30 printLn (strIndex newstr 4)
31 putStrLn (strCons (strIndex newstr 4) "")
32 putStrLn ("Tail: " ++ strTail newstr)
33 putStrLn ("Tail Tail: " ++ strTail (strTail newstr))
34 putStrLn ("Cons: " ++ strCons 'λ' newstr)
35 putStrLn ("Reverse: " ++ reverse newstr)
38 printLn [(-9), (-7)..(-1)]
51 printLn $ the (List Nat) [1..5]
52 printLn $ the (List Nat) [5..1]
53 printLn $ the (List Nat) [5,4..1]
54 printLn $ the (List Nat) [1,3..5]
55 printLn $ the (List Nat) [5,3..1]
56 printLn $ the (List Nat) [3,5..3]
57 printLn $ the (List Nat) [2,1..2]
58 printLn $ the (List Nat) [4,1..3]
59 printLn $ the (List Nat) [1,4..2]
60 printLn $ the (List Nat) [3,5..1]
61 printLn $ the (List Nat) [4,1..5]
62 printLn $ the (List Nat) [1,1..2]
63 printLn $ the (List Nat) [2,2..1]
64 printLn $ the (List Int) [(-1)..(-5)]
65 printLn $ the (List Int) [-2,0..4]
66 printLn $ the (List Int) [1,0..-2]
67 printLn $ the (List Int) [3,5..3]
68 printLn $ the (List Int) [2,1..2]
69 printLn $ the (List Int) [4,1..3]
70 printLn $ the (List Int) [1,4..2]
71 printLn $ the (List Int) [3,5..1]
72 printLn $ the (List Int) [4,1..5]
73 printLn $ the (List Int) [1,1..2]
74 printLn $ the (List Int) [2,2..1]
76 printLn ['g','e'..'a']
78 printLn ['a','c'..'g']
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