Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankSpruce committed Jun 29, 2024
1 parent 141df8c commit 10df705
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
from gersemi.utils import pop_all


def to_list_of_single_item_lists(sequence):
return [*map(lambda item: [item], sequence)]


def is_non_empty(sequence: Sized) -> bool:
return len(sequence) > 0

Expand All @@ -31,10 +27,6 @@ def is_non_empty_group(group: Sized) -> bool:
return is_non_empty(group)


def is_empty(sequence: Sized) -> bool:
return len(sequence) <= 0


def make_tree(name: str):
return lambda children: Tree(name, children)

Expand Down

0 comments on commit 10df705

Please sign in to comment.