Skip to content
C++ library for functional programming
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Build Status License Join the chat at

Gungnir is a library that provides abstractions for functional programming in C++. It is made with ease of use, efficiency, and full compatibility with the C++11 standard in mind.

Data Structures

Gungnir provides a collection of data structures to facilitate functional programming in C++, most of which are immutable functional data structures. Their implementations are highly optimized, utilizing techniques including structural sharing and lazy evaluation, so you should not hold back from using them for performance considerations.

Some of the more frequently used data structures include:

Lazy Evaluation

Gungnir also provides utilities for efficient lazy evaluation in C++:


This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.

You can’t perform that action at this time.