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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Compat.jl

Compat.jl Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Compat.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-11-29