Various typo fixes

This commit is contained in:
Jan Hrcek 2021-08-17 13:46:15 +02:00
parent beecf2ac14
commit bf2710effb
7 changed files with 10 additions and 10 deletions

View File

@ -501,14 +501,14 @@ API changes:
* The Forms API got two new functions, `setFormConcat` and
`setFieldConcat`, used for controlling the previously hard-coded
concatenation behavior of form fields. These are optional and both
concatentation settings default to their former hard-coded values,
concatenation settings default to their former hard-coded values,
`vBox` (#172).
0.36.1
------
Package changes:
* Raiseed upper bound to support GHC 8.4.2 (#171)
* Raised upper bound to support GHC 8.4.2 (#171)
Other changes:
* Improved List accessor documentation (thanks liam <liam@magicseaweed.com>)
@ -522,7 +522,7 @@ New features:
* Dynamic border support: adjacent widgets that use borders can make
those borders seamlessly connect to each other! Thanks
so much to Daniel Wagner for this feature! Please see
`programs/DynamicBorderDemo.hs` for a demonstraton. Also see the
`programs/DynamicBorderDemo.hs` for a demonstration. Also see the
"Joinable Borders" section of the User Guide.
0.35.1

View File

@ -540,7 +540,7 @@ viewport), a unique name is assigned in each use.
appAttrMap: Managing Attributes
-------------------------------
In ``brick`` we use an *attribute map* to assign attibutes to elements
In ``brick`` we use an *attribute map* to assign attributes to elements
of the interface. Rather than specifying specific attributes when
drawing a widget (e.g. red-on-black text) we specify an *attribute name*
that is an abstract name for the kind of thing we are drawing, e.g.
@ -1359,7 +1359,7 @@ just an argument to ``newForm``. This ``UserInfo`` value will be used
to initialize all of the form fields. Each form field will use the lens
provided to extract the initial value from the ``UserInfo`` record,
convert it into an appropriate state type for the field in question, and
later validate that state and convert it back into the approprate type
later validate that state and convert it back into the appropriate type
for storage in ``UserInfo``.
The form value itself -- of type ``Form`` -- must be stored in your

View File

@ -17,7 +17,7 @@
-- Attribute names are mapped to attributes, but some attributes may
-- be partial (specify only a foreground or background color). When
-- attribute name lookups occur, the attribute corresponding to a more
-- specific name ('parent <> child' as above) is sucessively merged with
-- specific name ('parent <> child' as above) is successively merged with
-- the parent attribute ('parent' as above) all the way to the "root"
-- of the attribute map, the map's default attribute. In this way, more
-- specific attributes inherit what they don't specify from more general

View File

@ -694,7 +694,7 @@ catDynBorders towardsA towardsB am bm = I.mapMaybe id
-- | Given borders that should be placed next to each other (the first argument
-- on the right or bottom, and the second argument on the left or top), compute
-- new borders and the rewrites that should be done along the edges of the two
-- images to keep the image in synch with the border information.
-- images to keep the image in sync with the border information.
--
-- The input borders are assumed to be disjoint. This property is not checked.
catBorders

View File

@ -3,7 +3,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TupleSections #-}
-- | This module provids a file browser widget that allows users to
-- | This module provides a file browser widget that allows users to
-- navigate directory trees, search for files and directories, and
-- select entries of interest. For a complete working demonstration of
-- this module, see @programs/FileBrowserDemo.hs@.

View File

@ -545,7 +545,7 @@ listMoveBy amt l =
-- If @pos >= 0@, indexes from the start of the list (which gets
-- evaluated up to the target index)
--
-- If @pos < 0@, indexes from the end of the list (which evalutes
-- If @pos < 0@, indexes from the end of the list (which evaluates
-- 'length' of the list).
--
-- Complexity: same as 'splitAt' for the container type.

View File

@ -353,7 +353,7 @@ prop_reverseAppend_Seq l1 l2 =
-- Laziness tests. Here we create a custom container type
-- that we use to ensure certain operations do not cause the
-- whole container to be evaulated.
-- whole container to be evaluated.
--
newtype L a = L [a]
deriving (Functor, Foldable, Traversable)