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
Error to trace to log to deploy. One click. No SSH. Icon
Error to trace to log to deploy. One click. No SSH.

Catch the cause before the pager goes off.

AppSignal links every error to the trace, the trace to the log, the log to the deploy that shipped it.
Free 30 days.
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