nauty-parser-1.0.0.0: Parse/encode graph6, digraph6 and sparse6 formats (nauty).
Copyright(c) Marcelo Garlet Milani 2025
LicenseGPL-3
Maintainermgmilani@pm.me
Stabilityunstable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Nauty.Internal.Utils

Description

This module contains internal functions used by other modules. Except for test cases, you should not import this module.

Synopsis

Documentation

groupByTwo :: [a] -> [(a, a)] Source #

Group a list of elements two-by-two.

ungroupByTwo :: [(a, a)] -> [a] Source #

Ungroup components of each pair.