utils 0.3.8
Some misc. functions and classes for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
utils
Some misc. functions and classes for D, that I frequently use in my other packages. All of the code is commented well enough, and you can use ddoc to generate documentation.
utils.baseconv
A module contaning some functions to convert between Hex, Binary, and Denary.
utils.lists
Contains classes related to arrays. It includes:
List
- to store data in dynamic arrays where length will be varying very often.LinkedList
- a Linked List implementation with search (hasElement
), and "bookmarks"Stack
- a stack implementation, especially designed for use in QScript. Works similar to Linked List, not using dynamic arraysFIFOStack
- same asStack
but in this one, when pop-ing, the items are poped from the bottom of the stack.LogList
- used in qui's LogWidget, used to store "logs" for displaying, in a way that older logs are over-written, as they wont be displayed. For storing the actual logs, use some other list.FileReader
- Works based onstd.stdio.File
to read large files in chunks. Adds nothing new compared tostd.stdio.File
at this moment.TreeNode
andTreeReader
- used to store and read a Tree, but doesnt allow "loops" inside the tree (a child node cannot have a parent node, or parent's parent node.. as its child)
utils.misc
Contains some misc. functions, mostly for dealing with dynamic arrays
- Registered by Nafees Hassan
- 0.3.8 released 10 months ago
- Nafees10/utils
- MIT
- Copyright © 2017, Nafees
- Authors:
- Dependencies:
- none
- Versions:
-
0.3.8 2020-Mar-25 0.3.7 2020-Feb-09 0.3.6 2020-Feb-07 0.3.5 2019-Dec-26 0.3.4 2019-Nov-25 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
11 downloads this month
-
444 downloads total
-
- Score:
- 0.7
- Short URL:
- utils.dub.pm