No description
Find a file
Angel Ezquerra 8be7692f06 Initial commit
2022-07-19 19:06:01 +02:00
src Initial commit 2022-07-19 19:06:01 +02:00
.gitignore Initial commit 2022-07-19 19:06:01 +02:00
batteries.nimble Initial commit 2022-07-19 19:06:01 +02:00
LICENSE Initial commit 2022-07-19 19:06:01 +02:00
README.md Initial commit 2022-07-19 19:06:01 +02:00

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.