Skip to content

Commit

Permalink
Documentation edit: s/Int/LIndex/ in one place.
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmt committed Oct 31, 2011
1 parent feb7187 commit f4161d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ChessTools/Board/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ data LookupTable = LookupTable (Array LIndex Int)
-- results. Create one with 'repIndexList' and use it in all lookup table
-- creation functions.
--
-- For internal code using this, the main invariant to note is that the offset
-- component (the first 'Int') is in sorted order. This is used by, for
-- example, the 'lookupBounds' function.
-- For internal code using this, the main invariant to note is that the
-- 'LIndex' component is in sorted order. This is used by, for example, the
-- 'lookupBounds' function.
newtype CoveringIndexList = CL [(LIndex, (Square, Square))]

-- | Convert a 'Square' to an index into a board array. The index is the same
Expand Down

0 comments on commit f4161d2

Please sign in to comment.