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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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