KtorZ d7ec2131ef Automatically merge import lines from same module.
I slightly altered the way we parse import definitions to ensure we
  merge imports from the same modules (that aren't aliased) together.

  This prevents an annoying warning with duplicated import lines and
  makes it just more convenient overall.

  As a trade-off, we can no longer interleave import definitions with
  other definitions. This should be a minor setback only since the
  formatter was already ensuring that all import definitions would be
  grouped at the top.

  ---

  Note that, I originally attempted to implement this in the formatter
  instead of the parser. As it felt more appropriate there. However, the
  formatter operates on (unmutable) borrowed definitions, which makes it
  annoyingly hard to perform any AST manipulations. The `Document`
  returns by the format carries a lifetime that prevents the creation of
  intermediate local values.

  So instead, slightly tweaking the parser felt like the right thing to
  do.
2024-06-04 10:48:42 +02:00
2024-05-23 21:38:47 -04:00
2023-02-07 13:16:17 +01:00
2024-05-30 15:09:05 +07:00
2024-05-23 21:38:47 -04:00
2024-05-01 22:10:47 -04:00
2024-05-31 09:48:14 +02:00

Aiken

A modern smart contract platform for Cardano

Licence Tests Twitter/X

Crates.io NPM


Getting Started

Hello, World!

Wanna get started right-away? Complete the Hello, World! tutorial!

Contributing

Want to contribute? See CONTRIBUTING.md to know how.

Changelog

Be on top of any updates using the CHANGELOG and the Project Tracking.

Stats

Alt

Note

The name comes from Howard Aiken, an American physicist and a pioneer in computing.

Description
No description provided
Readme 14 MiB
Languages
Rust 96.6%
JavaScript 1.1%
HTML 1%
CSS 0.9%
Shell 0.3%
Other 0.1%