The Compat package is designed to ease interoperability between older and newer versions of the Julia language. In particular, in cases where it is impossible to write code that works with both the latest Julia master branch and older Julia versions, or impossible to write code that doesn't generate a deprecation warning in some Julia version, the Compat package provides a macro that lets you use the latest syntax in a backward-compatible way. This is primarily intended for use by other Julia packages, where it is important to maintain cross-version compatibility.
Features
- To use Compat in your Julia package, add it as a dependency of your package using the package manager
- sort for NTuple and other iterables
- stack combines a collection of slices into one array
- The function current_exceptions() has been added to get the current exception stack
- get accepts tuples and numbers
- Documentation available
Categories
Data VisualizationLicense
MIT LicenseFollow Compat.jl
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Compat.jl!