Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 734 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 734 Bytes

nim-batteries

This is a nim module that imports commonly used standard library modules for your convenience:

  import batteries

is the same as:

  import std/[os, strutils, times, parseutils, hashes, tables, sets,
    sequtils, parseopt, strformat, sugar, options, strscans, algorithm,
    math]

This module is similar to the standard library prelude module. The differences with prelude are that this module should be imported (while prelude had to be included), and that it imports a few more modules than prelude. The list of imported modules might change in the future as nim evolves.

Importing this module never triggers a UnusedImport warning, even if you don't use any if the modules it imports.