sequester
Library for converting sequences to strings. Also has PHP-inspired explode and implode procs.
Summary
| Latest Version | Unknown |
|---|---|
| License | ISC |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install sequester
choosenim install sequester
git clone https://github.com/fallingduck/sequester
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| sequester | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/fallingduck/sequester |
|---|---|
| Homepage | https://github.com/fallingduck/sequester |
| Registry Source | nimble_official |
README
Sequester
$ nimble install sequester
Sequester is a lightweight library for the Nim language that contains procedures
to convert between sequences and strings. Additionally, it includes PHP-inspired
explode and implode procedures.
Quick Docs
Complete documentation can be generated with the command nim doc
sequester.nim, or found at
http://fallingduck.net/docs/sequester.
The following procedures are exported:
proc asString*(s: openarray[char]): string {.noSideEffect, procvar.}
proc asString*(s: openarray[uint8]): string {.noSideEffect, procvar.}
proc asString*(s: openarray[int]): string {.noSideEffect, procvar.}
proc asString*(s: openarray[int8]): string {.noSideEffect, procvar.}
proc asIntSeq*(s: string): seq[int] {.noSideEffect, procvar.}
proc explode*(s: string; delimiter = ""): seq[string] {.noSideEffect,
procvar.}
proc implode*(s: openarray[string]; separator = ""): string {.noSideEffect,
procvar.}
iterator intItems*(s: string): int {.noSideEffect.}