| 1 #################################################################### |
1 #################################################################### |
| 2 # Immutable linked list (different from the mutable lists of |
2 # Immutable linked lists (different from the mutable lists of |
| 3 # https://github.com/ChrisRackauckas/LinkedLists.jl) |
3 # https://github.com/ChrisRackauckas/LinkedLists.jl) |
| 4 #################################################################### |
4 #################################################################### |
| 5 |
5 |
| 6 module LinkedLists |
6 module LinkedLists |
| |
7 |
| |
8 using DelimitedFiles |
| |
9 |
| |
10 using ..StructTools |
| 7 |
11 |
| 8 ############## |
12 ############## |
| 9 # Our exports |
13 # Our exports |
| 10 ############## |
14 ############## |
| 11 |
15 |
| 12 export LinkedListEntry, |
16 export LinkedListEntry, |
| 13 LinkedList, |
17 LinkedList, |
| 14 unfold_linked_list |
18 unfold_linked_list, |
| |
19 write_log |
| 15 |
20 |
| 16 ############# |
21 ############# |
| 17 # Data types |
22 # Data types |
| 18 ############# |
23 ############# |
| 19 |
24 |