Skip to content

Commit

Permalink
lattice/conceptBelow
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Jul 6, 2024
1 parent bc0441b commit d042ac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# lattice

`lattice/conceptBelow`
`lattice/conceptAbove`

`LatticeLayout`
Expand Down
4 changes: 3 additions & 1 deletion src/lattice/conceptBelow.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { assertSameContext } from "../concept/assertSameContext.js"
import type { Concept } from "../concept/Concept.js"
import { setIsSubsetOf } from "../utils/Set.js"

export function conceptBelow(x: Concept, y: Concept): boolean {
assertSameContext([x, y], { who: "conceptBelow" })
return false

return setIsSubsetOf(x.extent, y.extent)
}

0 comments on commit d042ac7

Please sign in to comment.