Skip to content

Commit

Permalink
flatten file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
schurhammer committed May 2, 2024
1 parent fe91726 commit 6f1303c
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 130 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/gleamy_structures/map.gleam → src/gleamy/map.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleam/list
import gleam/order.{type Order}
import gleamy_structures/tree/red_black_tree_kv as tree
import gleamy/red_black_tree_map as tree

pub type Map(k, v) =
tree.Tree(k, v)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleam/list
import gleam/order.{type Order}
import gleamy_structures/heap/pairing_heap as heap
import gleamy/pairing_heap as heap

pub type Queue(a) =
heap.Heap(a)
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/gleamy_structures/set.gleam → src/gleamy/set.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleam/list
import gleam/order.{type Order}
import gleamy_structures/tree/red_black_tree as tree
import gleamy/red_black_tree_set as tree

pub type Set(a) =
tree.Tree(a)
Expand Down
123 changes: 0 additions & 123 deletions src/gleamy_structures/tree/binary_search_tree.gleam

This file was deleted.

2 changes: 1 addition & 1 deletion test/map_test.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleam/list
import gleam/string
import gleamy_structures/map
import gleamy/map
import gleeunit/should

pub fn insert_and_find_test() {
Expand Down
2 changes: 1 addition & 1 deletion test/non_empty_list_test.gleam
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import gleamy_structures/non_empty_list
import gleamy/non_empty_list
import gleeunit/should

pub fn fold_test() {
Expand Down
2 changes: 1 addition & 1 deletion test/priority_queue_test.gleam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gleam/int
import gleam/order
import gleamy_structures/priority_queue as queue
import gleamy/priority_queue as queue
import gleeunit/should

pub fn from_list_test() {
Expand Down
2 changes: 1 addition & 1 deletion test/set_test.gleam
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import gleam/int
import gleamy_structures/set
import gleamy/set
import gleeunit/should

pub fn contains_test() {
Expand Down

0 comments on commit 6f1303c

Please sign in to comment.