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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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