/dev/vdb1 49G 47G 0 100% /home
"start_time": "2021-07-25T16:30:05+0200",
and last modification was august 10, do chinese people ever stop playing? Validity
Not Before: May 14 09:55:20 2021 GMT
Not After : Aug 12 09:55:20 2021 GMT
[5,4,3]
Example output: [([],[5,4,3]), ([5],[4,3]), ([5,4],[3]), ([5,4,3],[])]
zip (inits x) (tails x)
map (\[a, b] -> (a, b)) . transpose . flip map [inits, tails] . flip ($)
is eta-reduced[5,4,3]
Example output: [([],[5,4,3]), ([5],[4,3]), ([5,4],[3]), ([5,4,3],[])]
myKeyCommands = [("a b", 1), ("c", 2)]
Example output: [("a b",1),("M-a b",1),("M-a M-b",1),("c",2),("M-c",2)]
Got two solutions:[(let (a, b) = splitAt i (words k) in unwords $ map ("M-" ++) a ++ b, c) | (k, c) <- myKeyCommands, i <- [0..length $ words k]]
[(unwords $ map ("M-" ++) a ++ b, c) | (k, c) <- myKeyCommands, (a, b) <- zip (inits $ words k) (tails $ words k)]
hmmmm