maporder

command
v0.0.0-...-141b564 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 2 Imported by: 0

README

Map Order

This example shows a superpose-based compiler with deterministic map iteration.

Compiling

To compile, first the compiler tool must be compiled. From the root of the repo, run:

go build ./example/maporder/superpose-maporder

Now it can be executed as toolexec, for example:

go run -toolexec /path/to/superpose-maporder ./example/maporder

Note how the output of the second map print is deterministically sorted each time.

TODO(cretz): Insertion-based ordering for maps

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL