Mode:
Duration:
1
2
3
4
5
6
let isDark = ref false
let () = Printf.printf "%s\n" (if !isDark then "Dark" else "Light")
isDark := not !isDark
let () = Printf.printf "%s\n" (if !isDark then "Dark" else "Light")
isDark := not !isDark
let () = Printf.printf "%s\n" (if !isDark then "Dark" else "Light")Coding works best on desktop or with an external keyboard.