mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
add further comment
This commit is contained in:
parent
6306923e0f
commit
7196e7cdac
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@ pub(crate) type Element = usize;
|
||||||
pub(crate) type BitVec = bitvec::vec::BitVec<Element>;
|
pub(crate) type BitVec = bitvec::vec::BitVec<Element>;
|
||||||
pub(crate) type BitSlice = bitvec::prelude::BitSlice<Element>;
|
pub(crate) type BitSlice = bitvec::prelude::BitSlice<Element>;
|
||||||
|
|
||||||
|
/// A square boolean matrix used to store relations
|
||||||
|
///
|
||||||
|
/// We use this for sorting definitions so every definition is defined before it is used.
|
||||||
|
/// This functionality is also used to spot and report invalid recursion.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub(crate) struct ReferenceMatrix {
|
pub(crate) struct ReferenceMatrix {
|
||||||
bitvec: BitVec,
|
bitvec: BitVec,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue