Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 535 Bytes

dsalgo.md

File metadata and controls

25 lines (14 loc) · 535 Bytes
title
Data structures and Algorithms

Nim provides a variety of useful data structures such as arrays, sequences, sets, strings, tuples, tables. We will look at strings in a later chapter.

Tuples

Unpacking a tuple into separate variables{#unpack}

Problem

You have a tuple of N-elements that you want to unpack into N seperate variables.

Solution

Practical uses: