Fix a few minor spelling errors

This commit is contained in:
Nikolas Nyby
2025-06-14 13:40:16 -04:00
committed by brandon s allbery kf8nh
parent fa8f34596d
commit 8113e0fe55
4 changed files with 6 additions and 6 deletions

View File

@@ -225,7 +225,7 @@ doesn't support releases before 9.6.6.
* Compiles with GHC 8.4.1 * Compiles with GHC 8.4.1
* Restored compatability with GHC version prior to 8.0.1 by removing the * Restored compatibility with GHC version prior to 8.0.1 by removing the
dependency on directory version 1.2.3. dependency on directory version 1.2.3.

View File

@@ -559,7 +559,7 @@ which is a new feature in `0.17.0`).
_IF YOU ARE ON A VERSION `< 0.17.0`_: As discussed above, the `xmobar` _IF YOU ARE ON A VERSION `< 0.17.0`_: As discussed above, the `xmobar`
function uses pipes, so you actually do want to use the `StdinReader`. function uses pipes, so you actually do want to use the `StdinReader`.
Simply replace _all_ occurences of `XMonadLog` with `StdinReader` Simply replace _all_ occurrences of `XMonadLog` with `StdinReader`
below (don't forget the template!) below (don't forget the template!)
--- ---
@@ -627,7 +627,7 @@ defined a weather widget, a CPU widget, memory and swap widgets, a date,
a volume indicator, and of course the data from xmonad via `XMonadLog`. a volume indicator, and of course the data from xmonad via `XMonadLog`.
The `EGPF` in the weather command is a particular station. Replace both The `EGPF` in the weather command is a particular station. Replace both
(!) occurences of it with your choice of ICAO weather stations. For a (!) occurrences of it with your choice of ICAO weather stations. For a
list of ICAO codes you can visit the relevant [Wikipedia page]. You can list of ICAO codes you can visit the relevant [Wikipedia page]. You can
of course monitor more than one if you like; see xmobar's [weather of course monitor more than one if you like; see xmobar's [weather
monitor] documentation for further details. monitor] documentation for further details.
@@ -840,7 +840,7 @@ However, `logTitles` logs _all_ titles. Naturally, we don't want to
show the focused window twice and so we suppress it here by ignoring the show the focused window twice and so we suppress it here by ignoring the
third argument of `ppOrder` and not returning it. The functions third argument of `ppOrder` and not returning it. The functions
`formatFocused` and `formatUnfocused` should be relatively self `formatFocused` and `formatUnfocused` should be relatively self
explanitory—they decide how to format the focused resp. unfocused explanatory—they decide how to format the focused resp. unfocused
windows. windows.
By the way, the `\ ... ->` syntax in there is Haskell's way to express a By the way, the `\ ... ->` syntax in there is Haskell's way to express a

View File

@@ -45,7 +45,7 @@ prop_shift_win_focus (x :: T) = do
Nothing -> return True Nothing -> return True
Just w -> return $ shiftWin n w x == shift n x Just w -> return $ shiftWin n w x == shift n x
-- shiftWin on a non-existant window is identity -- shiftWin on a non-existent window is identity
prop_shift_win_indentity (x :: T) = do prop_shift_win_indentity (x :: T) = do
n <- arbitraryTag x n <- arbitraryTag x
w <- arbitrary `suchThat` \w' -> not (w' `member` x) w <- arbitrary `suchThat` \w' -> not (w' `member` x)

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env runhaskell #!/usr/bin/env runhaskell
-- Reads markdown (man/xmonad.1.markdown) from stdin, subtitutes -- Reads markdown (man/xmonad.1.markdown) from stdin, substitutes
-- ___KEYBINDINGS___ for key-binding definitions generated from -- ___KEYBINDINGS___ for key-binding definitions generated from
-- src/XMonad/Config.hs, prints result to stdout. -- src/XMonad/Config.hs, prints result to stdout.
-- --